github port group
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Sat Apr 21 17:56:50 PDT 2012
> Following the review here:
>
> https://trac.macports.org/ticket/33889
>
> How should the port group use a git hash for determining which version
> to download? Some features that would be nice:
>
> 1) ability to send a hash for the version to download (without having
> git as a build dependence); this would make it possible to cache the
> download as opposed to cloning every time
I think the git.branch can be used interchangeably: it's both a tag or a hash.
> 2) using the rss for livecheck (allows only checking the newest commit
> hash via the regexm command)
I think setting livecheck.url to the RSS file and livecheck.regex to an appropriate pattern should suffice.
> 3) uniform versioning
>
> For (3), I prefer ${last_known_version}-${date} but don't mind
> changing this to something else as long as it's consistent.
I think it's acceptable as long as its not HEAD and it works for the maintainer. It could be an incrementing number, it can be a date, it can be some version/date combo like you suggest. For PSPP-devel I use ${version}-g${git.branch}.
> Open question: what to do about projects that never version? Assign a
> dummy version? Stick with just date?
Up to the maintainer. No harm in doing your suggestion for 3 above.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120421/8d9f551d/attachment-0001.bin>
More information about the macports-dev
mailing list