Skip to content

Conversation

@zkhin
Copy link

@zkhin zkhin commented Jan 14, 2025

Fixes #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.

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).
@github-actions
Copy link

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.

@github-actions github-actions bot closed this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Copilot for Xcode Fails in Enterprise Environments with MITM Proxy

1 participant