From owner-freebsd-ports@FreeBSD.ORG Sun Nov 30 19:30:30 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7464A88 for ; Sun, 30 Nov 2014 19:30:30 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70EAB944 for ; Sun, 30 Nov 2014 19:30:30 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id h11so22659293wiw.1 for ; Sun, 30 Nov 2014 11:30:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hARE75uCpXUkrMx6yK+tmtLdgQ/h11OQBevokNKuQ34=; b=faXgSrknU5wMKNGgNaFgDUe8RhQtxw4Zo1xBjzZeT6VKXKbk4pt3ErK6QOaCc6krA7 jQDfkNbJYI8cd1qzF8odMNe8WqOKOWyWGhrCK6gbxCjce65fjrBavMStpfn1VCl58tYU KKvRW0yElPTT7GaYAwFIidcvGW2BuBoAX4zSYbtNhw1Mq1ifInQPZ1QdGgT4Pndu8Vug HzL6d0s5WxDy8mIJhnstxq/cIq8IHwMYDDoB45o3NjGiuUDxJVuCCn6gsKGhw2jSuQOb MlmxJPbMPTcDf4AhVpzvfaWmxMQCcLssYQzR75ct7ku2kr/YkjG4TR0HrDREgaPHkji8 rU+Q== X-Gm-Message-State: ALoCoQnt0SaYpXcS1B6hnHOkzEer/oU+PkTNoA3wVgxZmwLRidGzVFNqBeglyGDkaPuOqp70toO1 MIME-Version: 1.0 X-Received: by 10.194.60.45 with SMTP id e13mr43894173wjr.109.1417372454276; Sun, 30 Nov 2014 10:34:14 -0800 (PST) Received: by 10.180.74.241 with HTTP; Sun, 30 Nov 2014 10:34:14 -0800 (PST) In-Reply-To: <20141130125022.26460190@kalimero.tijl.coosemans.org> References: <20141130125022.26460190@kalimero.tijl.coosemans.org> Date: Sun, 30 Nov 2014 11:34:14 -0700 Message-ID: Subject: Re: Tracking Binary Ports/Pkgs Tree From: "Reed A. Cartwright" To: Tijl Coosemans Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2014 19:30:31 -0000 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 wrote: > On Sat, 29 Nov 2014 21:58:17 -0700 "Reed A. Cartwright" 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/