[MacPorts] #37130: github portgroup: github.tarball_from downloads should set livecheck.url

MacPorts noreply at macports.org
Sat Nov 24 22:18:17 PST 2012


#37130: github portgroup: github.tarball_from downloads should set livecheck.url
-------------------------+--------------------------------
 Reporter:  aronnax@…    |      Owner:  macports-tickets@…
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.2
 Keywords:               |       Port:
-------------------------+--------------------------------
 I maintain a pair of ports, gst-plugins-cairovis and gst-plugins-math,
 which are hosted on GitHub (and of which I am the author). I generate and
 upload stable source tarballs under the projects' respective downloads on
 GitHub. I just realized that the livecheck for these ports is busted. I
 had to override the defaults by adding the following:

 {{{
 livecheck.url
 https://github.com/${github.author}/${name}/downloads
 livecheck.regex       ${name}-(\\d+(\\.\\d+)*)[regsub -all \\.
 ${extract.suffix} \\.]
 }}}

 It is understandable that I would have to write my own regex, but it would
 be nice if

 {{{
 github.tarball_from   downloads
 }}}

 automatically set {{{livecheck.url}}} to something useful.

-- 
Ticket URL: <https://trac.macports.org/ticket/37130>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list