From owner-freebsd-stable@FreeBSD.ORG Mon Jan 28 13:35:38 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 668055AC for ; Mon, 28 Jan 2013 13:35:38 +0000 (UTC) (envelope-from ike@blackskyresearch.net) Received: from rs149.luxsci.com (rs149.luxsci.com [64.49.224.181]) by mx1.freebsd.org (Postfix) with ESMTP id 29D42AD7 for ; Mon, 28 Jan 2013 13:35:37 +0000 (UTC) Received: from rs149.luxsci.com (localhost.localdomain [127.0.0.1]) by rs149.luxsci.com (8.14.4/8.13.8) with ESMTP id r0SDZaDk023291; Mon, 28 Jan 2013 08:35:37 -0500 Received: (from root@localhost) by rs149.luxsci.com (8.14.4/8.13.8/Submit) id r0SDZ2tc022759; Mon, 28 Jan 2013 13:35:02 GMT Received: (from sender 74627) (rs149.luxsci.com [127.0.0.1]) by LuxSci SP; Mon, 28 Jan 2013 13:35:02 +0000 Subject: Re: svn - but smaller? Content-Type: text/plain; charset=windows-1252 From: "Isaac (.ike) Levy" In-Reply-To: <5105F684.501@missouri.edu> Date: Mon, 28 Jan 2013 08:34:37 -0500 Content-Transfer-Encoding: quoted-printable References: <20130123144050.GG51786@e-Gitt.NET> <20130124111332.GA29105@server.rulingia.com> <1359343502-3377760.86081485.fr0S3OcBl026861@rs149.luxsci.com> <5105F684.501@missouri.edu> To: Stephen Montgomery-Smith X-Lux-Comment: Message r0SDYbB5022353 sent by user #74627 Message-Id: <1359380102-3423267.83606864.fr0SDYbB5022353@rs149.luxsci.com> X-Comment: LuxSci SP Message ID - 1359380102-3423267.83606864 Cc: Peter Jeremy , freebsd-stable@freebsd.org 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: Mon, 28 Jan 2013 13:35:38 -0000 On CTM, On Jan 27, 2013, at 10:54 PM, Stephen Montgomery-Smith wrote: > On 01/27/2013 09:24 PM, Isaac (.ike) Levy wrote: >> On Jan 24, 2013, at 6:13 AM, Peter Jeremy wrote: >>> On 2013-Jan-23 15:40:50 +0100, Oliver Brandmueller = wrote: >>>> in ancient times there was cvsup. >>=20 >> Thank you for adding the ctm bits in the page, I'm deeply intrigued = by possibly solving this problem with bits *already* in base?!! ... >> - does CTM go away with the CVS servers? >> - do CTM-compatable patch/delta files exist on project repos? >> - what is the cleanest path to using CTM? (e.g. is the patch you = mention required) ... >> Say I have a bare 9.1 install, no ports, haven't downloaded any = base/src or ports yet. >> How do I go about using ctm(1) to fetch REL or STABLE to /usr/src, = command by command? >=20 > First, you don't need any patches to get started. >=20 > Suppose you want to keep up with 9.x-stable. Then you look at the ftp > site ftp://ftp.freebsd.org/pub/FreeBSD/CTM/src-9/, look at the latest > xEmpty file, and fetch it. Then create an empty directory /usr/src, = and > then do > cd /usr/src && ctm the-xEmpty-file-you-downloaded. > No need to decompress the file first. > Then fetch from the same web site all the files whose number is = greater > than the xEmpty file you downloaded and do > cd /usr/src && ctm the-rest-of-the-files* >=20 > Now in /usr/src, you will have a reasonably up to date version of > 9.x-stable. >=20 > You can keep it up to date by getting more files, either from the ftp > site, or by email, and doing again > cd /usr/src && ctm the-rest-of-the-files* > It will automatically ignore the files already applied. >=20 > Similar instructions for all the other stable/currents and ports. = Main > thing to remember - start with an empty directory. >=20 > Also making local changes is not permitted. If ctm tries to modify a > file whose md5 checksum has changed, it will quit with an error = message. > (But it won't leave your system in an unusable state - if you put that > file back to its original state, then ctm will work again.) >=20 > Now, if you want something not offered by ctm (e.g. 8.2-release), then > you need to use svn. You can get svn via ctm. But you (1) need to > apply the patch, (2) install the svn port, and (3) install the xz port > if your FreeBSD is really old. Thank you Stephen, ctm(1) is quite rad, but I see now how it doesn't = really replace the 'one-liner' pull of c[v]sup=85 I updated the wiki page with an example from your notes, https://wiki.freebsd.org/UsersFetchingSource -- With that, 2 questions: - I'm wondering if there is a clean/reliable way to pull an index of the = CTM deltas? (This is still very far from the one-liner c[v]sup had = become, it would be great to check for new delta files in a simple = automated manner.) - does CTM go away with the CVS servers, e.g. who/how is it supported = supported and maintained going foreword under SVN? Best, .ike