-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webkitscmpy] Collect diff from Bitbucket remote repository
https://bugs.webkit.org/show_bug.cgi?id=265705 rdar://119055886 Reviewed by Dewei Zhu. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/bitbucket.py: (BitBucket.commit): 'HEAD' in Bitbucket means "latest commit on the default branch". (BitBucket.request): Return a response with a mock diff. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py: (BitBucket.json_to_diff): Convert Bitbucket json diff to text diff. (BitBucket.commits): Return a list of commits to caller. (BitBucket.diff): Given a commit or commit range, return a line-by-line diff of the provided range. If the caller requests it, include the commit messages for the specified commits in the same patch format used by 'git format-patch'. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py: (GitHub): Move EMAIL_RE to base class. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py: (Scm): Move EMAIL_RE from GitHub. * Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py: Canonical link: https://commits.webkit.org/271688@main
- Loading branch information
1 parent
912bf75
commit 6eed9f3
Showing
5 changed files
with
197 additions
and
2 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