Skip to content

merge#2

Open
Yshayy wants to merge 436 commits into
livecycle:masterfrom
drone:master
Open

merge#2
Yshayy wants to merge 436 commits into
livecycle:masterfrom
drone:master

Conversation

@Yshayy
Copy link
Copy Markdown

@Yshayy Yshayy commented May 19, 2021

No description provided.

@Yshayy Yshayy marked this pull request as ready for review May 19, 2021 07:55
raghavharness and others added 28 commits September 5, 2022 11:31
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 webhook parsing
mohitg0795 and others added 30 commits August 21, 2025 22:51
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.