Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 21:43:51 +0200
From:      Simon Wright <simon.wright@gmx.net>
To:        freebsd-pkg@freebsd.org
Subject:   Re: Suggestion to add build/revision number to "pkg stats"
Message-ID:  <55FC6977.6010704@gmx.net>
In-Reply-To: <20150916165829.46ba52f6@gecko4>
References:  <20150916165829.46ba52f6@gecko4>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16/09/2015 22:58, mfv wrote:

snipped

> 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

snipped

> 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:

snipped

> 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.

+1, this information would be very useful for me. It might be 
necessary to be able to specify a specific repository as well as the 
local/remote switch; I have two remotes configured, my one built by 
poudriere and also the "latest" freebsd.org repo.

Simon.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FC6977.6010704>