-
Notifications
You must be signed in to change notification settings - Fork 243
Using target commit instead of source in base info for azure #189
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
Merged
+33
−24
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tphoney
approved these changes
Jun 6, 2022
rishabh-arya95
pushed a commit
to LambdaTest/go-scm
that referenced
this pull request
Jul 20, 2025
Loading
Loading status checks…
* remove slash from list commits api * fix dupes in pagination * Using target commit instead of source in base info for azure (drone#189) * Using target commit instead of source in base info * added pr status information for azure * release_prep_v1.24.0 * [CI-4622]: Added projectFilter for ListHooks API for Azure * [PL-25889]: fix list branches Azure API * Support parsing Gitlab Note Hook event * Update scm version 1.25.0 * [CI-4623] - Azure webhook parseAPI changes * Fixed formatting in README.md * added issue comment hook support for Azure (drone#200) * added issue comment hook support for Azure * added supported actions * Support parsing PR comment events for Bitbucket Cloud * Update scm version 1.26.0 (drone#203) * using resource version 2.0 for Azure * Update scm version 1.27.0 (drone#206) * gogs find commit for branch * escape forward slashes in gitlab branch name * (maint) fixing naming and add more go best practice * [PL-26239]: added api to list installation for github app * adopt golangci config from Rancher project * pin golangci version to use image from docker cache * upate function to match convention List[By] where By is singular * update list (by) installation name * Added support for branch in list commits bb onprem API (drone#215) * added support for branch in list commits bb onprem API * fix naming convention for CreateBranch Input * [PL-26239]: fix for list response (drone#218) * [PL-26239]: fix for list response * added date info for commits in push hook (drone#223) * added date info for commits in push hook * added omitempty annotation for secret (drone#221) * decoding projectName for azure repo (drone#224) * use merge commit sha if pull request is merged for bitbucket * changes for stash * Add field to capture merge sha * use new merge field instead of exisiting sha field * Add Actor UUID to Sender for all webhooks responses for Bitbucket * fixbug: gitee convert repository (drone#226) * Add Actor UUID to push and branch create events for Bitbucket * Add support for Github release webhook (drone#229) * Add support for Github release webhook * (maint) release prep for 1.28.0 (drone#232) * feat: [PIE-7927]: added header to avoid/bypass csrf check (drone#234) * (maint) prep 1.28.1 release (drone#235) * fix: [PIE-7927]: Fix header value typo issue for BB OnPrem CSRF header (drone#236) * Harness move (drone#237) * (feat) initial commit for harness code * (feat) harness, add update delete create file * (feat) harness, add repo list * (feat) harness, add find repo * fix, harness add blobid for update * (feat) harness, add webhook parsing * (feat) harness, add list webhooks * (feat) harness, add find hook * (feat) harness, add create / delete webhook * fetch branch for bitbucket onprem * (feat) harness, add list commits / branches * (feat) harness, add user and compare branches * (feat) harness, fix create branch, PR calls * (feat) harness, add get pr commits * (feat) harness, add create PR * (fix) harness, webhook fixes * (feat) harness, add finduser * (maint) prep for 1.29.0 * update list url to scopepath instead of path (drone#249) * add required header for bitbucket server in commit API use-case to handle csrf failures * release prep v1.29.1 * fix: [CI-6978] fixed gitlab webhook parse * fix: [CDS-67745]: fix find user email api for bitbucket in go-scm (drone#255) Co-authored-by: Mohit Garg <[email protected]> * feat: [CDS-69341]: add find user email api for github in go-scm (drone#256) * feat: [CDS-69341]: add find user email api for github in go-scm * (maint) stash/bitbucket on prem v5 add push webhook test (drone#257) Co-authored-by: dependabot-ci <[email protected]> * [feat]: [CDS-73030]: Support for text based branch filtration * [feat]: [CDS-73030]: added comments * [feat]: [CDS-73572]: Support List Repo Live Search for all git providers * fix: [CODE-727]: change to gitness from harness * fix: [CODE-727]: change to gitness from harness * Implemented FindMembership method in organization service for gitea driver (drone#263) * implementation of FindMembership method in organization service for gitea driver * gitea driver testcase for organization membership * [IAC-941]: PR comment creation for BitBucket (drone#265) BitBucket doesn't implement support for PR comments or issues comments. The current implementation of "pullService" in BitBucket defers to the implementation of "issueService", which itself returns a "not implemented" error for all comment-related calls. PR comments and issue comments are separate in BitBucket so this commit adds explicit implementations of the comment functions to the "pullService". Most remain "not implemented" with the exception of comment creation which is now supported. * (maint) v1.31.0 release prep (drone#266) Co-authored-by: dependabot-ci <[email protected]> * Fix compare change api result for harness (drone#267) * Fix compare change api result for harness * Fix api name for fetching diff in harness driver (drone#268) * Fix api name for fetching diff in harness driver * Fix diff api response conversion for harness compareChange (drone#269) * Fix diff api response conversion * [feat]: [CDS-75848]: Add new action type for github provider * fix: [CODE-727]: change to gitness from harness * fix: [CODE-727]: change to gitness from harness * fix: [CODE-727]: change to gitness from harness * fix: [CODE-727]: change to gitness from harness * Add review ready action for gitlab * address comments * (maint) release prep for 1.32.0 * (maint) clean integration testing for stash * fix: Gitness get content missing query param * (maint) prep for 1.32.1 * fix: Harness list commits api update as per new spec (drone#277) * fix: ref should have pullreq instead of pull for gitness (drone#278) * feat: add more parsed data in harness webhook parsing (drone#279) * feat: Add pr_comment webhook for harness (drone#280) * (maint) prep 1.33.0 * feat: add support for branch update for gitness (drone#283) * (maint) v1.34.0 prep * fix: use opts for harness list commits * (maint) v1.34.1 release prep * feat: support more events in webhook parse in go-scm for gitness (drone#289) * fix: ref should be branch name for harness code (drone#288) * fix: ref should be branch name for harness code * fix: add uid for harness webhook * feat: add pr link as coming from new webhook (drone#290) * Update content.go * Update content.go * Update content.go * Update content.go * Update content.go * Update content.go * Update content.go * Update content.go * Update content.go * Update content.go * Added UTs * set query params for pagination in bitbucket server * set query params for pagination in bitbucket server * set query params for pagination in bitbucket server * feat: change as per new contract of webhook in harness code (drone#294) * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * feat: change as per new contract of webhook in harness code * Add harness comment (drone#295) * Add the implementation of CreateComment for Harness Code * Add the implementation of CreateComment for Harness Code * feat: follow new api convention (drone#296) * feat: follow new api convention * feat: follow new api convention * fix: tag webhook parse for code (drone#297) * fix: tag webhook parse for code * fix: tag webhook parse for code * fix: tag webhook parse for code * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * Update util.go * feat: pr harness parse all fields (drone#302) * Update .drone.yml * feat: fixed harness UTs based on new API convention (drone#303) * fix: [CODE-1870]: adding cloneUrl to the convertRepository method for azure driver * fixed tests * [feat]: [CI-12179]: Add support for gitlab basesha * add diff_refs json * feat: [CODE-1907]: Fix go-scm azure driver for getting namespace in the response (drone#307) * feat: [IAC-1930]: fixed ListTags * fixed tests * fixed notes * fixed notes * removed println * fixed notes * feat: add list namespace for repos (drone#309) * feat: add list namespace * feat: add list namespace * feat: add list namespace * add for remaining * add for remaining * Update repo.go * address comment * address comment * Update repo.go * fix query params for List PRs API call for stash provider for pagination and state of PRs * feat: [IAC-2101]: added ListTags for Harness Code * removed prints * fix unmarshalling array into Go value of type github.searchRepositoryList issue for ListNamespace * setting azure devops repo visibility based on the project's visibility * fixed test * fixed TestRepositoryFind for azure driver * fix: [IAC-2201]: fixed looping endless pagination * adjust * removed logs * fixed UT * add support for harness error message * Add draft boolean for github and gitlab PRs * added for azure devops too * Update azure.go * Update azure_test.go * feat: [CI-13826]: add check for bitbucket tag slash * feat: [CI-13826]: add UTs * feat: bypass branch rules as default for file ops (drone#321) * feat: bypass branch rules as default for create branch ops (drone#323) * feat: bypass branch rules as default for file ops * feat: bypass branch rules as default for create branch * feat: bypass branch rules as default for create branch * feat:[CDS-101592]: Add support for parsing Gitlab System Hooks (drone#324) * Update pr.go * Update prs.json.golden * Update pr.json.golden * Update pr.go * Update pr.json.golden * Update prs.json.golden * Update pr.go * Update pr.json.golden * Update prs.json.golden * gofmt * fix: pass gitlab mergerequest param via json body (drone#322) Signed-off-by: Olivier Vernin <[email protected]> * feat: [PIPE-23808]: integrate author details with the harness commits API * change ref to query escape * change ref to query escape * add tag support for content list api azure * add tag support for content list api azure * add tag support for content list api azure * add tag support for content list api azure * feat: [PIPE-25660]: Handling for pipeline hook (drone#330) * feat: [PIPE-25660]: Handling for pipeline hook * feat: [PIPE-25660]: Added the parse for Gitlab pipeline event * feat: [PIPE-25660]: Added the parse for Gitlab pipeline event * feat: [PIPE-25660]: Added the parse for Gitlab pipeline event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: [PIPE-25660]: Support for pipeline hook event * feat: add new field of commit link for HC webhooks (drone#331) * feat: Rename .drone.yml to .drone.yml.bak (drone#335) * feat: new hc webhook fields (drone#337) * feat: new hc webhook fields * feat: new hc webhook fields * feat: Add ListTags to Azure (drone#338) * feat: Add ListTags to Azure * feat: Add ListTags to Azure. Add linting suggestions * added algorithm in place * ut's fix --------- Signed-off-by: Olivier Vernin <[email protected]> Co-authored-by: Aman Singh <[email protected]> Co-authored-by: Brad Rydzewski <[email protected]> Co-authored-by: Raghav <[email protected]> Co-authored-by: TP Honey <[email protected]> Co-authored-by: Shubham Agrawal <[email protected]> Co-authored-by: Bhavya Agrawal <[email protected]> Co-authored-by: Rutvij Mehta <[email protected]> Co-authored-by: Hemanth Mantri <[email protected]> Co-authored-by: Mohit Garg <[email protected]> Co-authored-by: kit101 <[email protected]> Co-authored-by: Vinícius Calasans <[email protected]> Co-authored-by: Dev Mittal <[email protected]> Co-authored-by: Eoin McAfee <[email protected]> Co-authored-by: Eoin McAfee <[email protected]> Co-authored-by: Shalini Agrawal <[email protected]> Co-authored-by: dependabot-ci <[email protected]> Co-authored-by: Adithya Viswanathan <[email protected]> Co-authored-by: rajatharanganath <[email protected]> Co-authored-by: Abhinav Singh <[email protected]> Co-authored-by: Dheeraj Kumar <[email protected]> Co-authored-by: Scott Walker <[email protected]> Co-authored-by: Meet Rathod <[email protected]> Co-authored-by: Vivek Dixit <[email protected]> Co-authored-by: Nasser Gonzalez Gonzalez <[email protected]> Co-authored-by: Hitesh Aringa <[email protected]> Co-authored-by: Karan Saraswat <[email protected]> Co-authored-by: Soumyajit Das <[email protected]> Co-authored-by: Vitalie Safronovici <[email protected]> Co-authored-by: Johannes Batzill <[email protected]> Co-authored-by: Deepak Puthraya <[email protected]> Co-authored-by: atefehmohseni <[email protected]> Co-authored-by: Olivier Vernin <[email protected]> Co-authored-by: Shivam Negi <[email protected]> Co-authored-by: OP (oppenheimer) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.