feat: Git configure edit modal#1017
Merged
Merged
Conversation
9 tasks
There was a problem hiding this comment.
Pull request overview
Adds a GET /v2/git endpoint and supporting plumbing to let the console’s “Git configure edit” modal prefill existing Git configuration values from the API.
Changes:
- Extends
SettingsInfo.otomi.gitto includeusername,password, andemail. - Adds
OtomiStack.getGitSettings()and a newGET /v2/gitoperation handler. - Updates OpenAPI routes and ACL for
AplGitto allow non-platform roles to read Git settings.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
src/otomi-stack.ts |
Adds git fields into getSettingsInfo() projection and introduces getGitSettings() helper. |
src/api/v2/git.ts |
Adds the GET /v2/git handler that returns current git settings. |
src/openapi/api.yaml |
Defines GET /v2/git in the API spec. |
src/openapi/settingsinfo.yaml |
Documents additional otomi.git fields in SettingsInfo. |
src/openapi/git.yaml |
Adjusts ACL so team roles can read AplGit. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
j-zimnowoda
reviewed
Jun 18, 2026
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.
console: linode/apl-console#806
api: #1017