Opened 7 years ago
Last modified 7 years ago
#55448 closed enhancement
MacPorts guide makes no mention of livecheck built-in functionality for github — at Initial Version
Reported by: | emcrisostomo (Enrico Maria Crisostomo) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | guide | Version: | |
Keywords: | Cc: | ||
Port: |
Description
While updating the sysutils/fswatch port, I decided to add the livecheck configuration. I searched the guide (section 5.8) to see whether there was some builtin functionality for github but the only mentions I found are referring to mirror sites (freecode.com, sourceforge.net, /code.google.com). A search came up with the following MacPorts ticket:
https://trac.macports.org/ticket/53940
As suggested in this ticket, I tried to simply add the following line to the Portfile and it appears to be working fine:
livecheck.url ${github.homepage}/releases/latest
Shouldn't the guide be updated in order to reflect this feature? I believe this is an important feature, given the relevance of Github nowadays.