[MacPorts] #68086: oofcanvas: livecheck doesn't work

MacPorts noreply at macports.org
Wed Sep 27 07:55:00 UTC 2023


#68086: oofcanvas: livecheck doesn't work
-------------------------+-------------------------
  Reporter:  ryandesign  |      Owner:  snarkhunter
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  oofcanvas   |
-------------------------+-------------------------

Comment (by ryandesign):

 livecheck is user-visible. It's even on our web site now. See the circled
 exclamation mark to the right of the version here:

 https://ports.macports.org/port/oofcanvas/details/

 To fix livecheck, you set `livecheck.type`, `livecheck.url`, and
 `livecheck.regex` correctly. `livecheck.type` is typically `regex` to
 indicate that you want MacPorts to run a single-line regular expression
 over the contents of a page. If you want a multi-line regex instead, use
 `regexm`. `livecheck.url` is the page you want it to fetch, and
 `livecheck.regex` is the regular expression you want it to use. Put
 capturing parentheses around the part of the regular expression that
 represents a found version number. MacPorts will collect all the matches,
 sort them using its version comparison procedure, and return the largest
 one.

 See the documentation for more:

 https://guide.macports.org/#reference.livecheck

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


More information about the macports-tickets mailing list