[webkit-changes] [WebKit/WebKit] 13674c: [reporelaypy] Improve logging in broken repositories

Jonathan Bedard noreply at github.com
Tue Nov 29 08:09:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13674c4b6e05f061bf83b689d388e9008ca91729
      https://github.com/WebKit/WebKit/commit/13674c4b6e05f061bf83b689d388e9008ca91729
  Author: Jonathan Bedard <jbedard at apple.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M Tools/Scripts/libraries/reporelaypy/reporelaypy/__init__.py
    M Tools/Scripts/libraries/reporelaypy/reporelaypy/checkout.py
    M Tools/Scripts/libraries/reporelaypy/reporelaypy/hooks.py
    M Tools/Scripts/libraries/reporelaypy/reporelaypy/tests/hooks_unittest.py
    M Tools/Scripts/libraries/reporelaypy/setup.py

  Log Message:
  -----------
  [reporelaypy] Improve logging in broken repositories
https://bugs.webkit.org/show_bug.cgi?id=248428
rdar://102735925

Reviewed by Aakash Jain.

* Tools/Scripts/libraries/reporelaypy/reporelaypy/__init__.py: Bump version.
* Tools/Scripts/libraries/reporelaypy/setup.py: Ditto.
* Tools/Scripts/libraries/reporelaypy/reporelaypy/checkout.py:
(Checkout.update_for): Check returncode of self.repository.pull.
(Checkout.update_all): Print error message if self.repository.pull fails.
* Tools/Scripts/libraries/reporelaypy/reporelaypy/hooks.py:
(HookProcessor.process_worker_hook): Only forward update if branch update succeeds.
* Tools/Scripts/libraries/reporelaypy/reporelaypy/tests/hooks_unittest.py:
(HooksUnittest.test_process_branch):

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




More information about the webkit-changes mailing list