Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 22:14:22 -0400
From:      Nikolai Lifanov <lifanov@mail.lifanov.com>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: snapshot package versioning
Message-ID:  <4600892A-7810-4605-95A0-DC0BC4840211@mail.lifanov.com>
In-Reply-To: <20160417014147.GO1554@FreeBSD.org>
References:  <28E37AF4-571F-4662-A5F8-6E63B0302E39@mail.lifanov.com> <20160417014147.GO1554@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On April 16, 2016 9:41:47 PM EDT, Glen Barber <gjb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4600892A-7810-4605-95A0-DC0BC4840211>