⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 287054 in webkit


Ignore:
Timestamp:
Dec 14, 2021, 3:09:41 PM (5 years ago)
Author:
Jonathan Bedard
Message:

[reporelaypy] Update checkout with hook instead of polling (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=234243
<rdar://problem/86413065>

Unreviewed follow-up fix.

  • Scripts/libraries/reporelaypy/reporelaypy/init.py: Bump version.
  • Scripts/libraries/reporelaypy/reporelaypy/checkout.py:

(Checkout.update_for): main is not a recognized production branch, so handle
default branch first.

  • Scripts/libraries/reporelaypy/setup.py: Bump version.
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r287049 r287054  
     12021-12-14  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [reporelaypy] Update checkout with hook instead of polling (Follow-up fix)
     4        https://bugs.webkit.org/show_bug.cgi?id=234243
     5        <rdar://problem/86413065>
     6
     7        Unreviewed follow-up fix.
     8
     9        * Scripts/libraries/reporelaypy/reporelaypy/__init__.py: Bump version.
     10        * Scripts/libraries/reporelaypy/reporelaypy/checkout.py:
     11        (Checkout.update_for): `main` is not a recognized production branch, so handle
     12        default branch first.
     13        * Scripts/libraries/reporelaypy/setup.py: Bump version.
     14
    1152021-12-14  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Tools/Scripts/libraries/reporelaypy/reporelaypy/__init__.py

    r287045 r287054  
    4545    )
    4646
    47 version = Version(0, 3, 0)
     47version = Version(0, 3, 1)
    4848
    4949import webkitflaskpy
  • trunk/Tools/Scripts/libraries/reporelaypy/reporelaypy/checkout.py

    r287045 r287054  
    171171
    172172        branch = branch or self.repository.default_branch
    173         if not self.repository.prod_branches.match(branch):
     173        if branch == self.repository.default_branch:
     174            self.repository.pull(remote=remote)
     175            self.repository.cache.populate(branch=branch)
     176            return True
     177        elif not self.repository.prod_branches.match(branch):
    174178            return False
    175179        elif track and branch not in self.repository.branches_for(remote=remote):
     
    179183            )
    180184            self.repository.cache.populate(branch=branch)
    181         elif branch == self.repository.default_branch:
    182             self.repository.pull(remote=remote)
    183             self.repository.cache.populate(branch=branch)
    184             return True
    185185        elif not track and self.is_updated(branch, remote=remote):
    186186            return True
  • trunk/Tools/Scripts/libraries/reporelaypy/setup.py

    r287045 r287054  
    3131setup(
    3232    name='reporelaypy',
    33     version='0.3.0',
     33    version='0.3.1',
    3434    description='Library for visualizing, processing and storing test results.',
    3535    long_description=readme(),
Note: See TracChangeset for help on using the changeset viewer.