feat: add gitlab to possible providers#1
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds GitLab as a supported Git provider option for the workspace scanner, including CLI/config wiring, a new GitLab REST adapter, and documentation updates so users can run scans against GitLab groups.
Changes:
- Add
gitlabas a CLI/config provider and wire it to a newGitLabCloudGitProviderAdapter. - Introduce a GitLab REST API v4 adapter that lists group projects and returns SSH clone URLs.
- Document GitLab environment variables and provide a GitLab quick start example.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/git_workspace_tool/cli/main.py |
Adds GitLab provider selection and instantiates the GitLab adapter. |
src/git_workspace_tool/cli/config.py |
Adds GitLab env/config fields (PAT, base URL, timeout). |
src/git_workspace_tool/adapters/git_providers/gitlab_cloud.py |
New GitLab REST adapter implementing GitProviderPort. |
README.md |
Documents supported providers and adds GitLab quick start instructions. |
.env.example |
Adds GitLab-related example env vars. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -35,6 +35,13 @@ BITBUCKET_TOKEN=replace-with-your-bitbucket-token | |||
| # BITBUCKET_API_BASE_URL=https://api.bitbucket.org/2.0 | |||
| # BITBUCKET_TIMEOU_SECONDS=30 | |||
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.
No description provided.