Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Oct 2017 00:25:40 +0800
From:      Simon Wright <simon.wright@gmx.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: gettng the port revision number associated with the pkg repo.
Message-ID:  <c8f7ea5f-f578-66b8-ab00-d3d305cb389c@gmx.net>
In-Reply-To: <60b690b5-d34d-56ea-a371-414d4dddaaaa@freebsd.org>
References:  <27a74475-e146-0cd4-e5ac-f59686317be9@freebsd.org> <44fub9d054.fsf@be-well.ilk.org> <66ef45c6-b448-c8fe-9686-10f0cab13ecb@freebsd.org> <447ewjarab.fsf@be-well.ilk.org> <60b690b5-d34d-56ea-a371-414d4dddaaaa@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/10/2017 22:19, Julian Elischer wrote:
> On 28/9/17 9:25 pm, Lowell Gilbert wrote:
>> Julian Elischer <julian@freebsd.org> writes:
>>
>>> On 26/9/17 10:07 pm, Lowell Gilbert wrote:
>>>> Julian Elischer <julian@freebsd.org> writes:
>>>>
>>>>> SO imagine that I needed to be ab;e to reproduce the pkg repo 
>>>>> as of a
>>>>> articular day, is there anywhere one can look to see the svn 
>>>>> revision
>>>>> number that corresponds to teh current pkg files.
>>>>>
>>>>>
>>>>> I would like to take a snapshot at a particular revision.. but 
>>>>> how do
>>>>> I find out what the revision was when the build was kicked off?
>>>> If you want to do that after the fact, I'm not sure how you'd 
>>>> specify
>>>> when you want the information for. But if you do it when you 
>>>> kick off
>>>> the build (or if you haven't changed the tree since), svnversion(1)
>>>> will tell you.
>>>>
>>> I mean for the official pkg repo..
>>>
>>> is there a file somewhere that says "these packages are as of 
>>> r443234"?
>> Sorry that I misunderstood your intent.
>>
>> I am fairly sure that what you want exists somewhere, but I can't 
>> find
>> it at the moment.
>>
> Unfortunately neither can I.

Hi Julian, Lowell

I need this information so that I can start my poudriere builds with 
my quite small list of ports with non-standard options from the same 
revision as the pkg system. I use a somewhat modified version of 
this script:

https://gist.github.com/reedacartwright/8622973baf89b263a6d7

Thanks to Reed for creating and maintaining this.

-- 
Simon.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c8f7ea5f-f578-66b8-ab00-d3d305cb389c>