From owner-freebsd-current@FreeBSD.ORG Tue Aug 9 17:30:11 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DECA416A41F; Tue, 9 Aug 2005 17:30:11 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C27243D48; Tue, 9 Aug 2005 17:30:11 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd4mr2so.prod.shaw.ca (pd4mr2so-qfe3.prod.shaw.ca [10.0.141.213]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IKY006K7TGYG350@l-daemon>; Tue, 09 Aug 2005 11:19:46 -0600 (MDT) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd4mr2so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IKY004KYTGY4JG0@pd4mr2so.prod.shaw.ca>; Tue, 09 Aug 2005 11:19:46 -0600 (MDT) Received: from [192.168.0.60] (S0106006067227a4a.vc.shawcable.net [24.87.209.6]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IKY0022XTGXGH@l-daemon>; Tue, 09 Aug 2005 11:19:46 -0600 (MDT) Date: Tue, 09 Aug 2005 10:19:44 -0700 From: Colin Percival In-reply-to: <200508091902.57044.thierry@herbelot.com> To: thierry@herbelot.com Message-id: <42F8E5B0.9000709@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8BIT X-Accept-Language: en-us, en References: <42F871B4.6000703@freebsd.org> <200508091902.57044.thierry@herbelot.com> User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050724) Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: Portsnap is now in the base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 17:30:12 -0000 Thierry Herbelot wrote: > Le Tuesday 9 August 2005 11:04, Colin Percival a écrit : >>About 12 hours ago I committed portsnap to HEAD. > > I've had a look at the man page(s), and at the web page on > http://www.daemonology.net/portsnap/ I'm still missing one piece of > information : how are the ports snapshots initially built ? Magic. :-) Seriously, I checkout a copy of the ports tree, run `make describes` three times (for 4.x, 5.x, and 6.x), package up the resulting files, build some patches, and then throw everything onto my web server. From there it gets mirrored by another server (and more mirrors will follow). Once I've ironed out all the bugs in the building and mirroring, I'll make that code available via the projects repository. > One misfeature of cvs is the possibility to fetch incomplete updates to the > repository (no atomic commits in cvs, and this must be carried over to > cvsup). Do "your" snapshots behave better in this domain ? No. I take a snapshot of the files on cvsup-master (via cvsup over an ssh tunnel -- being a committer hath its privileges :-) ), and that's what I package up, with the one exception that if the INDEX build is broken then users will get the most recent unbroken INDEX instead. > As one last question : I assume the same process of building "coherent" > snapshots could be also applied to the core cvs repository of the full > FreeBSD project, and a cvs-snap utility could be imagined ? This process doesn't build coherent snapshots; and the same process wouldn't work very well for anything other than ports due to a number of reasons concerning the structure of the ports tree and the lack of structure of the non-ports trees. Colin Percival