snapshot package versioning

Nikolai Lifanov lifanov at mail.lifanov.com
Sun Apr 17 02:14:29 UTC 2016


On April 16, 2016 9:41:47 PM EDT, Glen Barber <gjb at FreeBSD.org> wrote:
>On Sat, Apr 16, 2016 at 09:28:05PM -0400, Nikolai Lifanov wrote:
>> Hello,
>> 
>> Can we remove the date from package
>> versions please? The ${ABI} and revision
>> describe which source was built and it's
>> a bit odd that a package built before and
>> after midnight has different versions.
>> 
>> Another idea, if versions were in 0.s277777
>> format, pkg could seamlessly upgrade that to
>> 11.0 (when it is released).
>> 
>
>The date was intentionally chosen for non-RELEASE builds.  However, you
>can set PKG_VERSION however you want.
>
>If you want to use the revision, you can do this with:
>
># make packages PKG_VERSION=`svn info --show-item
>last-changed-revision`

Awesome, thanks! This is what I was looking for.

>Glen


- Nikolai Lifanov


More information about the freebsd-pkgbase mailing list