From owner-freebsd-stable@FreeBSD.ORG Thu Apr 11 01:58:50 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5BA1188A for ; Thu, 11 Apr 2013 01:58:50 +0000 (UTC) (envelope-from jcm@visi.com) Received: from g2host.com (mailback4.g2host.com [208.42.184.244]) by mx1.freebsd.org (Postfix) with ESMTP id 18D2F88D for ; Thu, 11 Apr 2013 01:58:49 +0000 (UTC) Received: from [208.42.90.57] (account jcm@visi.com) by mailback4.g2host.com (CommuniGate Pro WEBUSER 5.3.11) with HTTP id 12706967 for freebsd-stable@freebsd.org; Wed, 10 Apr 2013 20:58:43 -0500 From: "John Mehr" Subject: Re: svn - but smaller? To: "freebsd-stable@freebsd.org List" X-Mailer: CommuniGate Pro WebUser v5.3.11 Date: Wed, 10 Apr 2013 20:58:43 -0500 Message-ID: In-Reply-To: <4B4FBDA2-A871-430F-AB9C-6027C2B9A354@punkt.de> References: <513E2DA5.70200@mac.com> <20130313152150.E32142@sola.nimnet.asn.au> <20130315111849.GF79102@e-Gitt.NET> <4B4FBDA2-A871-430F-AB9C-6027C2B9A354@punkt.de> MIME-Version: 1.0 Content-Type: text/plain;charset=windows-1252; format="flowed" Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2013 01:58:50 -0000 On Tue, 9 Apr 2013 17:05:28 +0200  "Patrick M. Hausen" wrote: > Hi, all, > > first a big big thank you to John an all others involved >for all the work. > > A bit more slowly than cvsup but definitely a lot more >convenient than > using plain subversion. Part of the slow performance may >be due to the > fact that there is no local German svn mirror, yet. I'll >try with my own mirror > in a couple of days. > > I immediately asked myself: how can I set this up so I >can use "make update" > like I'm used to? SVN_UPDATE looks for a .svn directory, >so it cannot work with > svnup. > > Here's how: > > root@gordon:/ # cat /etc/make.conf > SUP_UPDATE= yes > SUP= /usr/local/bin/svnup > SUPHOST= svn0.us-east.freebsd.org > SUPFLAGS= > SUPFILE= -b base/stable/9 -l /usr/src > PORTSSUPFILE= -b base/head -l /usr/ports > > OK, this gives a big warning banner and it's an abuse of >a mechanism intended > for another utility … but it works nonetheless ;-) > > I therefore propose an extension to >/usr/src/Makefile.inc1 like this: > > update: > .if defined(SVNUP_UPDATE) >        @echo >"--------------------------------------------------------------" >        @echo ">>> Running ${SVNUP}" >        @echo >"--------------------------------------------------------------" > .if defined(SVNUPFLAGS) >        @${SVNUP} ${SVNUPFLAGS} -h ${SVNUPHOST} > .endif > … > > Just a rough sketch - I can put more thought into this >if nobody else is already > working on it. > > Best regards, > Patrick M. Hausen > Leiter Netzwerke und Sicherheit > -- > punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe > Tel. 0721 9109 0 * Fax 0721 9109 100 > info@punkt.de       http://www.punkt.de > Gf: Jürgen Egeling      AG Mannheim 108285 > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to >"freebsd-stable-unsubscribe@freebsd.org" > Hello, I've added support for a configuration/preferences file to store commonly used settings for an arbitrary number of branches (ports, stable, current, etc.).  For the default groups, they can easily be synchronized by executing "svnup ports", "svnup stable", etc.