Skip to content
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

Update azure-devops.ts - support local TFS (Azure devops) #77

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

afiksnyk
Copy link

What this does

Added support to local azure devops server

Notes for the reviewer

Instructions on how to run this locally, background context, what to review, questions…

More information

Screenshots

Visuals that may help the reviewer

@afiksnyk afiksnyk requested a review from a team as a code owner March 19, 2023 15:57
Copy link

@agouil agouil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good but won't work 100%. You also need to pass the user provided azureUrls all the way to https://github.com/snyk-tech-services/snyk-scm-contributors-count/blob/main/src/lib/azure-devops/azure-devops-contributors.ts#L16 from https://github.com/snyk-tech-services/snyk-scm-contributors-count/blob/main/src/cmds/azure-devops.ts#L70.

I would suggest the user defined URL to be part of the azureConnInfo object which is passed around and holds the connection context to the remote org/repositories. I think something similar to what we have for BB Server should work for Azure (https://github.com/snyk-tech-services/snyk-scm-contributors-count/blob/main/src/lib/types.ts#L40-L45).

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.

2 participants