Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2014 11:34:14 -0700
From:      "Reed A. Cartwright" <cartwright@asu.edu>
To:        Tijl Coosemans <tijl@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Tracking Binary Ports/Pkgs Tree
Message-ID:  <CALOkxuy=M6vdC4U0OvFhOpu%2B2KuTqDAb0RGumHP=ubW%2BnGgVTg@mail.gmail.com>
In-Reply-To: <20141130125022.26460190@kalimero.tijl.coosemans.org>
References:  <CALOkxuxDJ7fV9XOZ1t8D9tfLqMZvN3CwQa9iz0qQOGmgGnNXmQ@mail.gmail.com> <20141130125022.26460190@kalimero.tijl.coosemans.org>

next in thread | previous in thread | raw e-mail | index | archive | help
After poking around a bit, I put together this one liner to syncronize
my ports to the latest package revision:

svn up -r `fetch -qo -
http://beefy2.isc.freebsd.org/data/10amd64-default/.data.json  | jq -r
'.builds[.builds.latest].svn_url | split("@")[1]'`

It uses jq to parser the .data.json file and determine the latest revision.

On Sun, Nov 30, 2014 at 4:50 AM, Tijl Coosemans <tijl@freebsd.org> wrote:
> On Sat, 29 Nov 2014 21:58:17 -0700 "Reed A. Cartwright" <cartwright@asu.edu> wrote:
>> I have been using poudriere for a while to build packages locally.  I
>> recently reduced the package server to just the ports that I need to
>> have custom options.  I want to rely on the freebsd pkgs as much as I
>> can.
>>
>> However, this has proven difficult because my ports directory is often
>> ahead of the one that corresponded to the latest set of binary
>> packages.  I read where packages are build off of a snapshot of the
>> ports tree on every wednesday.
>>
>> Is this snapshot saved anywhere?  If so, I would like to be able to
>> sync my local ports directory against it.  If not, I would like to
>> request such ability.
>
> Package build information is available on http://beefy1.isc.freebsd.org/
> and http://beefy2.isc.freebsd.org/ and each package set lists the
> port revision that was used.  For instance on
> http://beefy1.isc.freebsd.org/build.html?mastername=10i386-default&build=2014-11-26_03h32m47s
> it says svn://svn0.us-west.freebsd.org/ports/head@373435
>
> Then you can update your ports tree to that revision with:
> svn up -r 373435



-- 
Reed A. Cartwright, PhD
Barrett Honors Faculty
Assistant Professor of Genomics, Evolution, and Bioinformatics
School of Life Sciences
Center for Evolutionary Medicine and Informatics
The Biodesign Institute
Arizona State University
==================
Address: The Biodesign Institute, PO Box 875301, Tempe, AZ 85287-5301 USA
Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ
85287-5301 USA
Office: Biodesign A-224A, 1-480-965-9949
Website: http://cartwrig.ht/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALOkxuy=M6vdC4U0OvFhOpu%2B2KuTqDAb0RGumHP=ubW%2BnGgVTg>