[webkit-changes] [WebKit/WebKit] 83de71: Get Upstream Commit reference for people using a l...

Karl Dubost noreply at github.com
Tue Jun 4 08:28:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 83de710ceb2c01600466ced314d13874b4aa6d1b
      https://github.com/WebKit/WebKit/commit/83de710ceb2c01600466ced314d13874b4aa6d1b
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M Tools/Scripts/webkitpy/w3c/test_importer.py

  Log Message:
  -----------
  Get Upstream Commit reference for people using a local source
https://bugs.webkit.org/show_bug.cgi?id=272142
rdar://125894887

Reviewed by Jonathan Bedard.

This provides the hash of the HEAD for people using a local checkout
of WPT tests. This is a followup on webkit.org/b/248445 which gave
this information for people using the remote checkout. We wrapped in
a try/except to make sure the directory was really a checkout of a repo.

It makes it possible for people to directly copy paste in the commit
message the hash of the WPT checkout when they import
or re-import WPT tests.

Example:
--------- Please include the following in your commit message: ---------
Upstream commit: https://github.com/web-platform-tests/wpt/commit/3324586879a38951098d072bf5ae8f56408a9afa
------------------------------------------------------------------------

* Tools/Scripts/webkitpy/w3c/test_downloader.py:
(TestDownloader.checkout_test_repository):
(TestDownloader):
(TestDownloader.get_rev_parse_head):
* Tools/Scripts/webkitpy/w3c/test_importer.py:
(TestImporter.do_import):

Canonical link: https://commits.webkit.org/279698@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list