Allow customizing the sshConfigPath
- Lingua principale
- Kotlin
- Stelle
- 33
- Fork
- 18
- Merge medio
- 2g 13h
- PR unite (30g)
- 1
Descrizione
In our environment, we strictly manage what the `$HOME/.ssh/config` file looks like - we replace it if it doesn't match our exact standard. In our config we allow custom configs in another directory (`$HOME/.ssh/config.d`). This conflicts with the Jetbrains Coder plugin because the plugin writes custom SSH configs into [`settings.sshConfigPath`](https://github.com/coder/jetbrains-coder/blob/39a29426e535208053d987562cc874a11925bc54/src/main/kotlin/com/coder/gateway/settings/CoderSettings.kt#L130) which is not configurable.
Please consider making the `settings.sshConfigPath` setting something that can be overridden. Personally we'd love to see it done as an environment variable... or we would need some programatic way to configure the path for the plugin via the shell.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da src/main/kotlin/com/coder/gateway/settings/CoderSettings.kt, sull'impostazione sshConfigPath, e analizza come il plugin JetBrains Coder la legge e la utilizza quando scrive una configurazione SSH personalizzata. Decidi quale meccanismo di override supportato è adatto alla richiesta, quindi verifica che il plugin scriva nel percorso configurato senza modificare il comportamento predefinito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- kotlin
- Ambito
- developer-experience
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100