snapshot package versioning

Glen Barber gjb at FreeBSD.org
Sun Apr 17 01:41:48 UTC 2016


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`

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20160417/cca74db8/attachment.sig>


More information about the freebsd-pkgbase mailing list