[MacPorts] #56975: livecheck broken in GitHub PortGroup

MacPorts noreply at macports.org
Wed Aug 15 21:15:32 UTC 2018


#56975: livecheck broken in GitHub PortGroup
---------------------+--------------------
  Reporter:  l2dy    |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by cjones051073):

 OK, so a second try.

 Now in the live check does not hardcode adding the "Accept: text/html"
 header. Instead it declares a new livecheck.httpheader option (defaults to
 {}), which then only the GitHub port group uses. See

 https://github.com/macports/macports-base/compare/master...cjones051073
 :CurlFetch-AddHTTPHeaderOption

 and

 https://github.com/macports/macports-ports/compare/master...cjones051073
 :GitHubPortGroup-SetHTTPHeader

 for the diffs in base and ports respectively.

 I've checked with a few ports, and with this livecheck is fixed for GitHub
 ports, and also not broken for sourceforge...

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


More information about the macports-tickets mailing list