Skip to content

fix: added support for http and scp based git host#228

Merged
27 commits merged into
mainfrom
fix-ng-changes
Apr 25, 2025
Merged

fix: added support for http and scp based git host#228
27 commits merged into
mainfrom
fix-ng-changes

Conversation

@Shivam-nagar23

Copy link
Copy Markdown
Member

No description provided.

return checkoutPath, httpsMatched, sshMatched, nil
return checkoutPath, nil
}
// this regex is used to generic ssh providers like gogs where format is <user>@<host>:<org>/<repo>.git

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this format is followed by other proder like bit-bucket and azure also.
how they were working earlier ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes it would have worked only for repo starting with git specifically like git@bitbucket.org:bitbucketpipelines/example-scp-deploy.git , it was handled for git@ not for generic user@

@vikramdevtron vikramdevtron closed this pull request by merging all changes into main in 5092ec3 Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants