Commit Graph

77 Commits (v1.33.1)

Author SHA1 Message Date
liuzhiguo 7a32d64a28 修改包名 6 months ago
Scott Walker cc305a69c7
[IAC-941]: PR comment creation for BitBucket (#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.
9 months ago
Adithya Viswanathan 70cccf871a [feat]: [CDS-73572]: Support List Repo Live Search for all git providers 10 months ago
Adithya Viswanathan 64a614ce5d [feat]: [CDS-73030]: Support for text based branch filtration 11 months ago
Shalini Agrawal 194f53fb37
fix: [CDS-67745]: fix find user email api for bitbucket in go-scm (#255)
Co-authored-by: Mohit Garg <mohit.garg@harness.io>
1 year ago
Rutvij Mehta 692aa9a8d2 Add Actor UUID to push and branch create events for Bitbucket 2 years ago
Rutvij Mehta a6796f5d93 Add Actor UUID to Sender for all webhooks responses for Bitbucket 2 years ago
raghavharness c7c7db684a use new merge field instead of exisiting sha field 2 years ago
raghavharness 32e680098b use merge commit sha if pull request is merged for bitbucket 2 years ago
Brad Rydzewski b83308fa5a fix naming convention for CreateBranch Input 2 years ago
Rutvij Mehta 152fbb8983 Support parsing PR comment events for Bitbucket Cloud 2 years ago
Brad Rydzewski c608194ffb support for user email lists 2 years ago
Brad Rydzewski 6e8f06a69f fix issue #133 2 years ago
Mohit Garg d3dd72e400
Bitbucket list files fix (#154)
* if input page args has url, then it should be used to fetch list of files
2 years ago
Mohit Garg 2f3e807200
Bitbucket compare changes fix for rename and removed file ops (#151)
* fix bitbucket compare commits response in case of rename and delete ops
2 years ago
Mohit Garg dafaf7e443
Extending bitbucket listCommits API to fetch commits for a given file (#148)
* extending bitbucket listCommits API to fetch commits for a given path
2 years ago
Deepak Patankar abe308c453
Add the support for delete of the bitbucket file (#139)
* Add the support for delete of the bitbucket

* Removed the print statements

* Fix the delete file in bitbucket test
2 years ago
Eoin McAfee 3dbe29d23a
fixes issue due to change by atlassian https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/ (#137) 2 years ago
Jim Sheldon 477c7b0a66
swap repo and target in bitbucket CompareChanges (#127)
bitbucket's API doc states the diffstat spec:

"Note: This is the opposite of the order used in git diff."

see https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/diffstat/%7Bspec%7D

I was unable to use this function without this change
3 years ago
Eoin McAfee 00597ec59d techqa feedback 3 years ago
Eoin McAfee 8ce6b18ce6 add release & milestone functionality 3 years ago
TP Honey 1d0ee4a2d8 (feat) add delete file for github and gitlab 3 years ago
Aleksandar Radisavljevic 2fd608ed36 added more integration unit tests 3 years ago
Aleksandar Radisavljevic 6cab798d50 added unittests 3 years ago
Aleksandar Radisavljevic 12ba511087 Added ListCommits in pull request api 3 years ago
TP Honey c98c8f5f63 (feat) add create branch functionality 3 years ago
TP Honey 2ef64416d9 (feat) return sha/blob_id for content.list 3 years ago
TP Honey b514328be2 (feat) normalise sha usage, fix updates, bitbucket cloud update/create 3 years ago
Shubham Agrawal 0d5c39aa64 Set before & after attribute for gitlab & bitbucket push event 4 years ago
Shubham Agrawal 3663545843 Added bitbucket support for diff url 4 years ago
shubhag 93b0c01ae4 Add support for commit list in push webhook 4 years ago
chhsia0 06c5eded08 Add support for updating a webhook in all SCMs.
The new `UpdateHook` method in `RepositoryService` would update an existing
SCM webhook and overwrite the list of events to watch.

In this patch, `UpdateHook` is not supported in the GitLab driver. It is
implemented separately in a followup patch.
4 years ago
Brad Rydzewski 0a99bab607
omitempty skip_cert_verification 4 years ago
Brad Rydzewski de0604a2e0
omitempty skip_cert_verification 4 years ago
chhsia0 046e68778d Supporetd `skip_cert_verification` for bitbucket webhook registration. 4 years ago
Chun-Hung Hsiao 7583b55958
Merge branch 'master' into pr-create 4 years ago
chhsia0 f36a1af587 Implemented PR operations in Bitbucket driver. 4 years ago
chhsia0 b189c453c7 Made Bitbucket's struct commonly shared with multiple services. 4 years ago
chhsia0 6853a77280 Used html and clone links from the Bitbucket payload. 4 years ago
chhsia0 2d4a70a291 Made Bitbucket's struct commonly shared with multiple services. 4 years ago
Christian Ruhstaller 676e792608 Refactor check for branch to reduce possible regression 5 years ago
Christian Ruhstaller 62c5aad841 Inline check for slash in branch name 5 years ago
Christian Ruhstaller 58a95f4a15 Fix Bitbucket link handling for branches with slashes
Bitbucket has a bug where the "source view" link for a branch
which contains a slash results in a 404.

The link to the "branch view" works with names containing
a slash so we do this for branches with slashes in its names.

See https://jira.atlassian.com/browse/BCLOUD-14422 for more information.
5 years ago
chhsia0 d78e793d0e Implemented `List` function in the content service. 5 years ago
chhsia0 838ea434f1 Added `CompareChanges` function to `GitService`.
CompareChanges returns the changeset between two
commits. If the source commit is not an ancestor
of the target commit, it is up to the driver to
return a 2-way or 3-way diff changeset.
5 years ago
Brad Rydzewski ed2b9269c9 fixes issue #27 5 years ago
Brad Rydzewski 635e46e88c support link to branch 5 years ago
Brad Rydzewski 636748e91a added bitbucket and gitlab linker 5 years ago
Brad Rydzewski dc09550558 endpoint to get github organization membership role 5 years ago
Brad Rydzewski 75d6480d53 support head and base ref and sha for prs 5 years ago