Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6eed9f3aec5d730a27c93b311506d725b597cb31
      
https://github.com/WebKit/WebKit/commit/6eed9f3aec5d730a27c93b311506d725b597cb31
  Author: Jonathan Bedard <jbed...@apple.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/bitbucket.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/bitbucket.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/git_hub.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/remote/scm.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py

  Log Message:
  -----------
  [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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to