-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[webkitscmpy] Add commit status to pull-request #20494
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
JonWBedard:eng/webkitscmpy-Add-commit-status-to-pull-request
Nov 15, 2023
Merged
[webkitscmpy] Add commit status to pull-request #20494
webkit-commit-queue
merged 1 commit into
WebKit:main
from
JonWBedard:eng/webkitscmpy-Add-commit-status-to-pull-request
Nov 15, 2023
Conversation
This file contains 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
EWS run on previous version of this PR (hash 35a5117) |
Trying to help unblock #18037 by landing this part independently, since it ended up being a bigger change than @gsnedders and I expected. |
emw-apple
approved these changes
Nov 14, 2023
35a5117
to
352bbfe
Compare
EWS run on current version of this PR (hash 352bbfe) |
352bbfe
to
7b62099
Compare
https://bugs.webkit.org/show_bug.cgi?id=264827 rdar://118406906 Reviewed by Elliott Williams. Add commit status and associated mock support to webkitscmpy for future use. * Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/bitbucket.py: (BitBucket.__init__): Add "statuses" dictionary. (BitBucket.request): Respond with mock commit status. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py: (GitHub.__init__): Add "statuses" dictionary. (GitHub._commit_response): Repond with mock commit status. (GitHub.request): Handle commit URLs with trailing path arguments. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/pull_request.py: (PullRequest.Status): Added. (PullRequest.Status.Encoder): Added JSON decoder. (PullRequest.statuses): Return all commit statuses on the current pull-request object. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: (BitBucket.PRGenerator.statuses): Populate commit statuses in pull-request object. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: (GitHub.PRGenerator.statuses): Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py: (Scm.PRGenerator.statuses): * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py: Canonical link: https://commits.webkit.org/270736@main
7b62099
to
fca112b
Compare
Committed 270736@main (fca112b): https://commits.webkit.org/270736@main Reviewed commits have been landed. Closing PR #20494 and removing active labels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Tools / Tests
Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
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.
fca112b
352bbfe
π iosπ wpeπ wincairoπ ios-simπ mac-AS-debugπ§ͺ wpe-wk2π§ͺ ios-wk2π§ͺ api-macπ gtkπ§ͺ webkitpyπ§ͺ ios-wk2-wptπ§ͺ mac-wk1π§ͺ gtk-wk2π§ͺ api-iosπ§ͺ mac-wk2π§ͺ api-gtkπ tvπ§ͺ mac-AS-debug-wk2π tv-simπ watchπ watch-sim