Add support for custom root certificate in GitHub Copilot for Xcode#111
Closed
zkhin wants to merge 1 commit intogithub:mainfrom
Closed
Add support for custom root certificate in GitHub Copilot for Xcode#111zkhin wants to merge 1 commit intogithub:mainfrom
zkhin wants to merge 1 commit intogithub:mainfrom
Conversation
Fixes github#95 Add support for specifying extra CA certificates in GitHub Copilot for Xcode. * Add a new `@AppStorage` property for `nodeExtraCaCerts` in `Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift`. * Add a new `SettingsTextField` for "Node extra CA certs" in `Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift`. * Add a new function `nodeExtraCaCertsChanged` to handle changes in `Core/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift`. * Add a new environment variable `NODE_EXTRA_CA_CERTS` in `Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift`. * Update the `environment` dictionary to include `nodeExtraCaCerts` in `Tool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift`. * Add a new preference key `nodeExtraCaCerts` in `Tool/Sources/Preferences/Keys.swift`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/github/CopilotForXcode/issues/95?shareId=XXXX-XXXX-XXXX-XXXX).
|
At the moment we are not accepting contributions to the repository. Feedback for GitHub Copilot for Xcode can be given in the Copilot community discussions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #95
Add support for specifying extra CA certificates in GitHub Copilot for Xcode.
@AppStorageproperty fornodeExtraCaCertsinCore/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift.SettingsTextFieldfor "Node extra CA certs" inCore/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift.nodeExtraCaCertsChangedto handle changes inCore/Sources/HostApp/AdvancedSettings/EnterpriseSection.swift.NODE_EXTRA_CA_CERTSinTool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift.environmentdictionary to includenodeExtraCaCertsinTool/Sources/GitHubCopilotService/LanguageServer/GitHubCopilotService.swift.nodeExtraCaCertsinTool/Sources/Preferences/Keys.swift.For more details, open the Copilot Workspace session.