[MacPorts] #52766: buildbot: portwatcher should trigger portbuilder builds in predictable order

MacPorts noreply at macports.org
Tue Nov 1 03:28:30 CET 2016


#52766: buildbot: portwatcher should trigger portbuilder builds in predictable
order
----------------------------+---------------------
 Reporter:  ryandesign      |      Owner:  admin@…
     Type:  enhancement     |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  server/hosting  |    Version:
 Keywords:                  |       Port:
----------------------------+---------------------
 Currently, portwatcher triggers portbuilder builds in random order. (Well,
 they're triggered in alphabetical order, but buildbot then adds them to an
 unordered python dictionary from which they're pulled out in random
 order.)

 Per [https://lists.buildbot.net/pipermail/users/2016-August/000679.html a
 suggestion on the buildbot users mailing list], we should add a custom
 "priority" property to each triggered build, and then write a
 [http://docs.buildbot.net/0.8.12/manual/cfg-builders.html#builder-
 configuration nextBuild function] which determines which of the pending
 BuildRequests to build next by examining their "priority" properties.

 Once this is working and causing builds to happen in alphabetical order,
 we can try to do the more complicated dependency order.

--
Ticket URL: <https://trac.macports.org/ticket/52766>
MacPorts <https://www.macports.org/>
Ports system for macOS



More information about the macports-tickets mailing list