Is it good to have port versions as hex numbers?

Adam Weinberger adamw at adamw.org
Wed Aug 16 00:07:49 UTC 2017


> On 15 Aug, 2017, at 18:00, Yuri <yuri at rawbw.com> wrote:
> 
> One committer suggested to make GH_TAGNAME into a port version by prepending with 'g', like this: ntk-g92365ec.
> 
> IMO, this is only good when pkg can understand such version numbers as increasing when interpreted as hexadecimal numbers.
> 
> Does pkg understand this?

Git hashes don't "increase," so they wouldn't make any sense for a PORTVERSION. Use the date instead.

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org



More information about the freebsd-ports mailing list