-
Notifications
You must be signed in to change notification settings - Fork 664
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
Fix azure repos when clone URL is used #5667
Fix azure repos when clone URL is used #5667
Conversation
jorgee
commented
Jan 14, 2025
- Add support for Clone URL.
- Unifies the parse of URL path to extract organization, project and repository in all the supported cases. (AzureRepositoryProvider.getUniformPath). It is used in the AzureRepositoryProvider constructor to get the project and repo and in the ProviderConfig.resolveProjectName used when pulling the pipeline from a repo.
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Before ❌ :
After ✅ :
Beautiful, thanks @jorgee! |
modules/nextflow/src/main/groovy/nextflow/scm/AzureRepositoryProvider.groovy
Outdated
Show resolved
Hide resolved
…rovider.groovy Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com> Signed-off-by: Jorge Ejarque <jorgee@users.noreply.github.com>
Is it also working with Platform? |
Platform imports the code, so we can't test it until a platform engineer updates the code itself. |
Dmitry, just tested it in platform. @pditommaso I think it is ready to review and merge. Should we backport the changes to 24.10.4? |
…rmat-is-provided-in-azure-repos
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
modules/nextflow/src/main/groovy/nextflow/scm/AzureRepositoryProvider.groovy
Show resolved
Hide resolved
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
…lone-url-format-is-provided-in-azure-repos
Signed-off-by: jorgee <jorge.ejarque@seqera.io> Signed-off-by: Jorge Ejarque <jorgee@users.noreply.github.com> Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com> Co-authored-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>