From owner-freebsd-pkg@freebsd.org Fri Sep 18 19:44:02 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 219FB9CE8AC for ; Fri, 18 Sep 2015 19:44:02 +0000 (UTC) (envelope-from simon.wright@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1B2E13C6 for ; Fri, 18 Sep 2015 19:44:01 +0000 (UTC) (envelope-from simon.wright@gmx.net) Received: from [192.168.1.221] ([212.98.32.54]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MZU7V-1ZIKI801cL-00LIcl for ; Fri, 18 Sep 2015 21:43:53 +0200 Subject: Re: Suggestion to add build/revision number to "pkg stats" To: freebsd-pkg@freebsd.org References: <20150916165829.46ba52f6@gecko4> From: Simon Wright Message-ID: <55FC6977.6010704@gmx.net> Date: Fri, 18 Sep 2015 21:43:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20150916165829.46ba52f6@gecko4> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:+ZGU9MSYWUGv0FgH90f+sYTVXmXYlgtSNYvolsus+nM+5TEhRsT 4xm75jnR0zb/kd5sR+2IPGOMkFL8eL+wopXSrtvN1oPne4dwVsVYQBdTcOrSu3C7y0SpmFE 5AHWa7/IvLTSzONNngL0XsRyltlHGVB+3EhP3cBYis5p9d6opTdoE8OfDMFZfRvnrcr+jGm 8F+0zjq0X9mniwKctWd/Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:eZpB9tKotbo=:hBqTPioV+XiAnDdKd2qboR Rjfyces31gJNapM1+i1STbOGCoQX8eB4GTbE9L4unaMhiexZLAE4K5CJBjtRpzR08xqkCPWYa h/7dznHtwpB9yHKSWSlRKIiKPXbC4BZhq3sQYOFW9Qvp+n1Xmuvaq+jK0tMi9MyBgynZHRC2Y 20bSWS3X69V5XX/qXdsVtHnlnTazeWJDMQhEsLGCm9TpVB2usTP2uW68VIPiRQpgc0n6L7/RN 9Ge3aIWjoHh53BltnKW4yWOfpvUKM8w89Tl72EIW3ikkiQG+Ocl6aur1W17eyWGMIG4znwPHb W4egS0j9m/4UDOoFuwrTc2bdixJWI1QX8u4HYrL/Y23GsgVojweUH5Y7eQKBbhi4KFcXXdnsz 2CcCdKXEVGednj0IjMAoXccWDHjtVAwFkaflTiyuI+Ok8+L9ksGtYnd9iSUgVbq7VKlhxKWNs BAI5v+cWjPpR67bdK7pKvnDBIIx5TeAzdeR4tATNuqUH6FhqeyP7Zrt4LNYmb/x4SWYKTkVpX NAB7PqhZzDSt6VcU0cUrgv02/1J1tp1UWHyYLxAL/+YD+iYpb0QlzAdNQw5DN2A6S2/qpWZcO 840TQ3L5hCduzXUB/XZV1/c5WgA9CXsIPkhfYsPfktYIEMYMN4xolYa++IeFLhTYvmD0FIVUW RoxbaT3UoPCb8h9cCi0wU57omar10B5VqpCQ15K7vgdBOu+9TjWwt5ySsCqBjA5CxKefw0/j0 mA99cZfyrKwoPK5lbtODFHgHjwjNuT1B013GBg== 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: Fri, 18 Sep 2015 19:44:02 -0000 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.