From owner-freebsd-pkgbase@freebsd.org Sun Apr 17 02:14:29 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A1DBB104A0 for ; Sun, 17 Apr 2016 02:14:29 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 296F41FFA; Sun, 17 Apr 2016 02:14:28 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: by mail.lifanov.com (Postfix, from userid 58) id 39F5C23943F; Sat, 16 Apr 2016 22:14:28 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.lifanov.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.1 Received: from [10.100.100.58] (unknown [107.15.95.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 6F419239420; Sat, 16 Apr 2016 22:14:27 -0400 (EDT) User-Agent: K-9 Mail for Android In-Reply-To: <20160417014147.GO1554@FreeBSD.org> References: <28E37AF4-571F-4662-A5F8-6E63B0302E39@mail.lifanov.com> <20160417014147.GO1554@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: snapshot package versioning From: Nikolai Lifanov Date: Sat, 16 Apr 2016 22:14:22 -0400 To: Glen Barber CC: freebsd-pkgbase@freebsd.org Message-ID: <4600892A-7810-4605-95A0-DC0BC4840211@mail.lifanov.com> X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 02:14:29 -0000 On April 16, 2016 9:41:47 PM EDT, Glen Barber 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