[MacPorts] #59287: Include the portwatcher build number in the portbuilder priority
MacPorts
noreply at macports.org
Sat Oct 12 17:54:15 UTC 2019
#59287: Include the portwatcher build number in the portbuilder priority
---------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: buildbot/mpbb | Version:
Keywords: | Port:
---------------------------+---------------------
As a result of #52766, `getSchedulersAndProperties` assigns a priority to
each portbuilder build, which `getPriority` interprets an integer,
representing the order in which portbuilder builds should happen for this
portwatcher build.
The problem is that due to #53587 we sometimes start another portwatcher
before we're supposed to. Then the portbuilder builds for each of the
portwatchers are mingled together, which isn't particularly correct.
A quick way to make this situation better would be to modify the priority
field to be interpreted as a version number instead of an integer,
assuming that python has version number comparison support. Then if
portwatcher build 42 triggers 2 portbuilder builds, their priorities would
be "42.1" and "42.2".
--
Ticket URL: <https://trac.macports.org/ticket/59287>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list