From owner-freebsd-questions@FreeBSD.ORG Thu Oct 13 12:34:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5AE10656E6 for ; Thu, 13 Oct 2011 12:34:57 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 21D888FC08 for ; Thu, 13 Oct 2011 12:34:56 +0000 (UTC) Received: from localhost (lumumba.torservers.net [77.247.181.163]) by mx1.skyriver.ru (Postfix) with ESMTPSA id E2E525A95; Thu, 13 Oct 2011 16:02:27 +0400 (MSD) Date: Thu, 13 Oct 2011 16:34:15 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20111013123415.GA5025@external.screwed.box> References: <20110615000951.GD5630@external.screwed.box> <4DF803F5.8040400@FreeBSD.org> <20110615025132.GF5630@external.screwed.box> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20110615025132.GF5630@external.screwed.box> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Cc: Greg Larkin Subject: cvs mirror on 8, 5G dvd? Re: Extract particular date snapshot from /var/db/portsnap? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2011 12:34:57 -0000 Hello. I think I should correct myself as what I found that way was unexpected, even after aside from portsnap. 2011/06/15 06:51:32 +0400 Peter Vereshagin => To freebsd-questions@freebsd.org : PV> GL> cvs -d :ext:anoncvs@anoncvs1.FreeBSD.org:/home/ncvs export -D 2010-10-01 PV> GL> -d ports-2010-10-01 ports PV> GL> PV> GL> In this example, I am exporting (no CVS metadata dirs) a full ports tree PV> GL> as of Oct 1st, 2010 into the directory "ports-2010-10-01". First of all Thank you very much as it was unobvious to know that from manuals like: http://cvsbook.red-bean.com/cvsbook.htm PV> Sure, I know I can do it with (x)VCS. This one was wrong: ports are available from CVS only. No svn, p4, etc. PV> But hell yes, having VCS before such a situation to happen is good. "Just if we This one seem insufficient now. I checked out ports from 'anoncvs': cvs -d anoncvs@anoncvs.tw.FreeBSD.org:/home/ncvs co ports and there is no backup for the deleted ports of my interest. I mean for example I can not get the directory of x11/wmfstatus as it is deleted at this moment. I suppose such a download is not the all what I assume it to be: backup of each and every port's versions till the moment being. So I just rsync rsync://mirrorsite/pub/FreeBSD/development/FreeBSD-CVS/ports ./ and later I can just 'cvs export' any directory for any date from there, right? I suppose I'd put it on a double-layer dvd, is it possible to export from there? It is noted that: http://www.freebsd.org/doc/en/articles/hubs/mirror-requirements.html 5.4G is sufficient. Another question wth cvs is: can I get the particular port in its state of N(=1,2, ...) changes ago? It seems to be possible only to look up particular version for the particular file and checkout it but not for the directory (assuming the port is a directory). At the least how to look up the list of dates when the directory was changed should be great. -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627