merge#2
Open
Yshayy wants to merge 436 commits into
Open
Conversation
Bitbucket sha fix for merged pr
Add Actor UUID to Sender for all webhooks responses for Bitbucket
Add Actor UUID to push and branch create events for Bitbucket
* Add support for Github release webhook
* (feat) initial commit for harness code * (feat) harness, add update delete create file
(feat) harness, add repo list
(feat) harness, add webhook parsing
feat: [PIPE-29374]: make author/committer fields optional for GitHub App signed commits
feat: [CODE-4389]: Fix double commit messages in HCR backed pipeline …
feat: [CI-19242]: Adding go-scm fix for fetching user repos in getting started.
fix: Prevent the client from un-escaping the encoded path parameters only for github
…mmit api for github
feat: [PIPE-31833]: Added code to return the list of files for FindCommit api for github
- Replace /2.0/workspaces with /2.0/user/workspaces for org listing - Replace /2.0/repositories with workspace-scoped aggregation for repo listing - Replace /2.0/user/permissions/repositories with workspace-scoped endpoint - Add workspace extraction from client URL with fallback iteration
…ry listing - Enhanced the List and ListV2 methods to support pagination across multiple workspaces. - Introduced a new method, fetchReposWithPagination, to handle repository fetching with pagination logic. - Updated tests to validate pagination behavior and workspace handling. - Ensured consistent ordering of workspaces by slug for deterministic pagination.
- Renamed TestList_WorkspaceSorting to TestList_WorkspaceOrder for clarity. - Removed unnecessary sort parameter verification in the test. - Updated fetchAllWorkspaces to clarify sorting behavior in comments. - Enhanced fetchReposWithPagination to better determine if more repositories exist across workspaces.
- Enhanced FindPerms method to first attempt fetching permissions using a provided repository identifier. - Introduced findPermsWithIdentifier to streamline permission retrieval based on workspace extraction. - Updated findPermsAcrossWorkspaces to ensure accurate error handling and repository not found messages. - Refactored fetchReposWithPagination to utilize a paginationState struct for better state management during repository fetching across workspaces.
…edge cases - Introduced new test cases for repository permission fetching, covering scenarios such as non-existent repositories, workspace fetch failures, and empty permissions. - Added tests for repository listing, including cases with no workspaces, large page sizes, and exact page boundaries. - Enhanced error handling and validation in the repository service methods to ensure robustness against various edge cases.
…fetching - Updated List and ListV2 methods to allow fetching repositories directly from a specified URL. - Implemented pagination handling for the new URL-based fetching mechanism. - Ensured consistent error handling and response management for improved robustness.
…and consistency - Renamed methods for fetching repositories and calculating slice indices to improve clarity and maintainability. - Updated method signatures to reflect new naming conventions, ensuring consistency across the codebase. - Enhanced comments to provide better context for method functionality.
…n logic - Renamed test methods to improve clarity and consistency in naming conventions. - Updated test cases to reflect changes in method names related to slice index calculations. - Enhanced comments for better understanding of test functionality and expected outcomes.
feat: [PIPE-32185]: handle deprecated cross-workspace API endpoints
* 3a1cf9 include subgroups for listing gitlab projects
scm/driver/bitbucket: fix multiple dropped errors
… silently swallowing them (#100002) * 10a411 refactor: Clean up error handling and remove unused tests in Bitbucket driver * b1a704 fix: [PIPE-32774]: Removed extra comments * 0d256b fix: [PIPE-32774]: Add UT's * ec9df7 fix: [PIPE-32774]: Surface Bitbucket 429 rate-limit errors instead of silently swallowing them
…point fix: use non-admin endpoint for repository permission checks
… PR webhooks (#100003) * e15e87 fix: revert to time.Unix(ms/1000) — keep call sites unchanged * 32d51a fix: [PIPE-34150]: Use time.UnixMilli, add comments, refresh goldens * dfaef0 fix: [PIPE-34150]: Correct ISO 8601 layout list in epochOrISO unmarshaler * 906822 chore: remove raw payload reference files from testdata * 87c270 test: [PIPE-34150]: Add real-world FNB Bitbucket DC 10.3 push update payload test * 3ac201 test: [PIPE-34150]: Add real-world FNB Bitbucket DC 10.3 push payload test * e5a0b4 fix: [PIPE-34150]: Handle ISO 8601 date strings in Bitbucket DC stash PR webhooks
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
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.