[webkit-changes] [WebKit/WebKit] 3c70a0: `InstallGitLFS.install()` should support alternate...

Roy Reapor noreply at github.com
Tue Oct 11 18:03:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c70a091d1fb016fce5a5c2774cc67fc4282b4fd
      https://github.com/WebKit/WebKit/commit/3c70a091d1fb016fce5a5c2774cc67fc4282b4fd
  Author: Roy Reapor <rreapor at apple.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M Tools/Scripts/libraries/webkitscmpy/setup.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
    M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_git_lfs.py

  Log Message:
  -----------
  `InstallGitLFS.install()` should support alternate URLs for `git-lfs` GitHub release asset URL
https://bugs.webkit.org/show_bug.cgi?id=246306
rdar://problem/101002204

Reviewed by Jonathan Bedard.

Users can define a `mirror_resolver_func` callback that takes a URL. The callback function is responsible for providing the alternate URL.

* Tools/Scripts/libraries/webkitscmpy/setup.py: version bump.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py: version bump
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/install_git_lfs.py:
(InstallGitLFS.url): handle `mirror_resolver_func`
(InstallGitLFS.install): handle `mirror_resolver_func`
(InstallGitLFS.parser): handle `mirror_resolver_func`
(InstallGitLFS.main): handle `mirror_resolver_func`

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




More information about the webkit-changes mailing list