-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prototype Support for Azure DevOps Git Repos #97
base: main
Are you sure you want to change the base?
Conversation
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.25.0 to 0.33.0. - [Commits](golang/net@v0.25.0...v0.33.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also share logs from testing this out directly.
Co-authored-by: Akash Rajpurohit <[email protected]>
Co-authored-by: Akash Rajpurohit <[email protected]>
Note I have edited the output to remove sensitive and identifying information
|
allRepos, err := client.GetRepositories(ctx, git.GetRepositoriesArgs{ | ||
Project: &cfg.Workspace, | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it require a workspace as well? can you share the sample config file (without sensitive data) as example for running this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also is this not a paginated API, if it is then we will be fetching only certain limit of records in this current setup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logging has been removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it require a workspace as well? can you share the sample config file (without sensitive data) as example for running this?
I will need to double check this. I suspect it may not be required. Azure DevOps has an odd URL for the git repo which I couldn't easily assemble from the info in the config file - but if you ask it for the list of repos, a usable URL is available. I think I updated the code to disassemble that and insert the PAT@
at the start to ensure PAT based auth.
I will review it again when I get time.
This PR is intended to address #96
This is a prototype that uses the Microsoft Go library for integrating with Azure DevOps.