[MacPorts] #53548: Buildbot doesn't upload archives made distributable later
MacPorts
noreply at macports.org
Sun Feb 12 08:45:54 UTC 2017
#53548: Buildbot doesn't upload archives made distributable later
-----------------------------+----------------------
Reporter: ryandesign | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords: buildbot
Port: |
-----------------------------+----------------------
Comment (by mojca):
I added some more comments above.
If you are really worried about efficiency of that script (but `curl`
probably doesn't come for free either), then:
{{{
#!shell
if [[ -f $("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/archive-
path.tcl" "${port}") ]]; then
if [["port exists on the packages server"]]; then
exclude=1
exclude_reasons+=("it has already been built")
else
if ![["port is distributable"]]; then
exclude=1
exclude_reasons+=("it has already been built")
fi
fi
fi
}}}
Note that your suggestion of just letting everything start a job on the
builder would be waaaaay more expensive than that.
--
Ticket URL: <https://trac.macports.org/ticket/53548#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list