Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
git-webkit land should apply the merge-queue label
https://bugs.webkit.org/show_bug.cgi?id=240308 <rdar://problem/93501363> Reviewed by Ryan Haddad. * Tools/Scripts/libraries/webkitcorepy/setup.py: Bump version. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitcorepy/webkitcorepy/arguments.py: (NoAction.__call__): Support --un along with --no- to invert option. * Tools/Scripts/libraries/webkitscmpy/setup.py: Bump version. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: Ditto. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/land.py: (Land.parser): Invoke PullRequest's parser. (Land.merge_queue): Update (or create) pull-request and add merge-queue label to. (Land.main): Support PullRequest options including automatic commit creation, squashing and PR creation. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/pull_request.py: (PullRequest): Add merge-queue and unsafe-merge-queue labels. (PullRequest.parser): Add --no-squash option. (PullRequest.create_pull_request): Remove merge-queue labels, allow caller to specify a callback. (PullRequest.main): Create commit even when squashing. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/land_unittest.py: (repository): (TestLand.test_with_oops): (TestLand.test_default): (TestLand.test_canonicalize): (TestLand.test_svn): (TestLand.test_default_with_radar): (TestLand.test_canonicalize_with_bugzilla): (TestLand.test_svn_with_bugzilla): (TestLandGitHub.webserver): (TestLandGitHub): * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/pull_request_unittest.py: * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/revert_unittest.py: (test_update): * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/squash_unittest.py: (TestSquash.test_github_with_previous_history): (TestSquash.test_github_without_previous_history): Canonical link: https://commits.webkit.org/251766@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
11 changed files
with
175 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.