[MacPorts] #53940: github port group: livecheck options to match latest stable release (was: github PG: livecheck only latest release)

MacPorts noreply at macports.org
Thu Mar 15 17:10:56 UTC 2018


#53940: github port group: livecheck options to match latest stable release
--------------------------+-----------------
  Reporter:  l2dy         |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+-----------------
Changes (by raimue):

 * cc: ryandesign (added)


Comment:

 Has duplicate #56065.

 In the same direction, #56065 asks for an option to change the default
 regex for tags without exposing deep many details of the github port
 group. Seems like both could be solved with a set of new options:

 * `github.livecheck.page [releases|tags]`\\
   Not using `.url` as it is not supposed to be a full URL, but relative to
 the homepage at github. Defaults to `tags` for backwards compatibility.\\
   Implemented with `default livecheck.url
 ${github.homepage}/${github.livecheck.page}`.
 * `github.livecheck.tag_regex ...`\\
   The regex to be matched against the tag name. Defaults to `[join
 ${github.tag_prefix} ""](\[^"\]+)`.\\
   Implemented with `default livecheck.regex
 archive/${github.livecheck.tag_regex}${extract.suffix}`.

 Does this seem reasonable?

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


More information about the macports-tickets mailing list