[MacPorts] #53548: Buildbot doesn't upload archives made distributable later

MacPorts noreply at macports.org
Sun Feb 12 08:17:08 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 prefer Ryan's approach. We currently have
 {{{
 #!bash
 if [[ -f $("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/archive-
 path.tcl" "${port}") ]]; then
     exclude=1
     exclude_reasons+=("it has already been built")
 fi
 }}}

 I would change it into (pseudocode):
 {{{
 #!bash
 if [[ -f $("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/archive-
 path.tcl" "${port}") ]]; then
     if ![["port is distributable" and "port doesn't exist on the packages
 server"]]; then
         exclude=1
         exclude_reasons+=("it has already been built")
     fi
 fi
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53548#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list