OWASP / glue

Application Security Automation
Other
522 stars 112 forks source link

GitMounter won't work with Azure Devops/VisualStudio Team Services repositories #149

Open jaguasch opened 5 years ago

jaguasch commented 5 years ago

GitMounter checks if last characters from the URL are '.git' to be enabled

Git repositories from Azure Devops can be cloned using URLs like

git clone will work with this URLs as long as Personal Access Token (PAT) is provided

git clone https://DUMMY:<PAT>@dev.azure.com/MYORG/MYPROJECT/_git/MYREPO

So I think maybe improve GitMounter is needed or just create a Mounter for Azure Devops repositories?

jaguasch commented 5 years ago

Created a possible PR for this

https://github.com/OWASP/glue/pull/150

omerlh commented 5 years ago

Why not allowing the GitMounter to load repositories without .git?

jaguasch commented 5 years ago

Unfortunately the format of AzDO git URL is different from regular Git ones, so changes are needed on the regexp and other parts of the gitmounter

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.