From owner-freebsd-stable@FreeBSD.ORG Tue Apr 9 15:15:27 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 ED2528CB for ; Tue, 9 Apr 2013 15:15:27 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 88515118 for ; Tue, 9 Apr 2013 15:15:27 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate1.intern.punkt.de with ESMTP id r39F5Sds046433 for ; Tue, 9 Apr 2013 17:05:28 +0200 (CEST) Received: from hausen-mbp.intern.punkt.de (hausen-mbp.intern.punkt.de [217.29.45.127] (may be forged)) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id r39F5SGR045539 for ; Tue, 9 Apr 2013 17:05:28 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: svn - but smaller? From: "Patrick M. Hausen" In-Reply-To: <20130315111849.GF79102@e-Gitt.NET> Date: Tue, 9 Apr 2013 17:05:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4B4FBDA2-A871-430F-AB9C-6027C2B9A354@punkt.de> References: <513E2DA5.70200@mac.com> <20130313152150.E32142@sola.nimnet.asn.au> <20130315111849.GF79102@e-Gitt.NET> To: "freebsd-stable@freebsd.org List" X-Mailer: Apple Mail (2.1503) 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: Tue, 09 Apr 2013 15:15:28 -0000 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=20 SUP_UPDATE=3D yes SUP=3D /usr/local/bin/svnup SUPHOST=3D svn0.us-east.freebsd.org SUPFLAGS=3D SUPFILE=3D -b base/stable/9 -l /usr/src PORTSSUPFILE=3D -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 =85 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 =85 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 --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285