From owner-freebsd-pkg@freebsd.org Tue Sep 22 22:06:05 2015 Return-Path: Delivered-To: freebsd-pkg@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 09119A077CC for ; Tue, 22 Sep 2015 22:06:05 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 925A41BFD for ; Tue, 22 Sep 2015 22:06:04 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by wicfx3 with SMTP id fx3so212883911wic.1 for ; Tue, 22 Sep 2015 15:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=I+SaKEZ+MkoPYchJmSOSBvYXxF1X5VftbjVARgUlQIY=; b=Mw9izgixqhct4VgplDXqbQtZujYWLJvnDuiYrbQirIrr8AR6gO2qbrjKcrqAhH+0XW JCQgH13ncOncZQ838OEnYUKKnl7+owoq+T9ldkC4GQgBlpkZCqiszdau6Z0/r36B+9QB MSkoQuqrEWTmL5iqAaDcnXBZWp4dxcq502eMCYaoQv6+52aH0tZ652aPYHv4RyFY3iNf Kg8PlGEfANOnytC1JmLloYa8SQRohrzIc7FktHsGmN8WGx4dVWQEbADw0IjI+M+jGQma Kz2SMfQxBYNB8ErRkLWUzZj51MVdWHoKAwb1aaZ1NKrqtAEA0INfOsi/ainQHfV9XVcD wWGg== X-Received: by 10.180.230.197 with SMTP id ta5mr60811wic.26.1442959562839; Tue, 22 Sep 2015 15:06:02 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id o10sm5272564wia.4.2015.09.22.15.06.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Sep 2015 15:06:02 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 23 Sep 2015 00:06:00 +0200 From: Baptiste Daroussin To: Simon Wright Cc: freebsd-pkg@freebsd.org Subject: Re: Suggestion to add build/revision number to "pkg stats" Message-ID: <20150922220600.GE16800@ivaldir.etoilebsd.net> References: <20150916165829.46ba52f6@gecko4> <55FC6977.6010704@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tVmo9FyGdCe4F4YN" Content-Disposition: inline In-Reply-To: <55FC6977.6010704@gmx.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 22:06:05 -0000 --tVmo9FyGdCe4F4YN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 18, 2015 at 09:43:51PM +0200, Simon Wright wrote: > On 16/09/2015 22:58, mfv wrote: >=20 > snipped >=20 > > The build number is only available when the build begins, but the > > package upgrade is not possible until the build process ends many > > hours later. Moreover, it is also possible to update the port tree to >=20 > snipped >=20 > > A simple solution would be to have the build number available as part > > of a port upgrade and made available in "pkg stats". Its output > > could look like this: > > > > Local package database: >=20 > snipped >=20 > > Even better would be an argument to "pkg stats" that would only output > > the revision number, say "pkg stats -n" > > > > After running "pkg upgrade", it would then be an easy to extract the > > build number of that particular upgrade and then sync the ports tree to > > that number using subversion or, my favourite, svnup. >=20 > +1, this information would be very useful for me. It might be=20 > necessary to be able to specify a specific repository as well as the=20 > local/remote switch; I have two remotes configured, my one built by=20 > poudriere and also the "latest" freebsd.org repo. >=20 > Simon. This is a bit more complexe than that as the ports tree can be checked out = =66rom portsnap, svn, git etc (aka different id). The right way would be to package the ports tree itself along with other packages so if you need to build something: pkg install ports and you are a= lways 100% sure to be on good ports tree. But we are not there yet :( Best regards, Bapt --tVmo9FyGdCe4F4YN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlYB0MgACgkQ8kTtMUmk6ExeOQCeMxcLveNVCqW00GnNZ10ZSX7M gyYAn3wKnGkvlf/we0BnuaUx8baKOI9u =f+V4 -----END PGP SIGNATURE----- --tVmo9FyGdCe4F4YN--