From owner-freebsd-questions Fri Aug 9 15:59: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE45537B40E for ; Fri, 9 Aug 2002 15:59:03 -0700 (PDT) Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E1A643E88 for ; Fri, 9 Aug 2002 15:58:44 -0700 (PDT) (envelope-from bartequi@neomedia.it) Received: from localhost (aragorn.neomedia.it [195.120.250.6] (may be forged)) by aragorn.neomedia.it (8.12.3/8.12.3) with ESMTP id g79MvukQ010469; Sat, 10 Aug 2002 00:57:56 +0200 (CEST) Received: from 213.144.203.139 ([213.144.203.139]) by webmail.neomedia.it (IMP) with HTTP for ; Sat, 10 Aug 2002 00:57:56 +0200 Message-ID: <1028933876.3d5448f45ef1a@webmail.neomedia.it> Date: Sat, 10 Aug 2002 00:57:56 +0200 From: Salvo Bartolotta To: Ian Moore Cc: bsd-questions Subject: Re: Question on CVSuping ports for first time on a system MIME-Version: 1.0 Content-Type: text/plain; charset=Any Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1.1-cvs X-WebMail-Company: Neomedia X-Originating-IP: 213.144.203.139 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ian Moore wrote: Hi, I've got a query about CVSuping the ports collection for the first time on a system. According to /usr/share/doc/en_US.ISO8859-1/articles/cvsup-advanced/examples.html you should use *default tag= for the first CVSup to create the ports checkouts file. I used tag=2002.06.11.09.02.00 for 4.6-R, so my cvsup file looked like *default tag=2002.06.11.09.02.00 #*default tag=. *default host=cvsup.au.FreeBSD.org *default prefix=/usr *default base=/usr/local/etc/cvsup *default release=cvs delete use-rel-suffix compress ports-all When I tried that, cvsup deleted all my ports. Obviously this is not right! The example cvsup file in /usr/obj/examples and the Handbook don't mention this at all, they just say use tag=. for the ports collection. Using tag=. seems to work correctly. I'm just wondering, is that correct, or should I do something else the first time? ***************************************************************************** Hello Ian, I am the author of the article. I am sorry for the inconvenience. I wrote:
Since ports are tagged ``.'' (ie -CURRENT), you can correctly ``sync'' them for the first time by adding the date keyword (cf cvsup(1) for the exact format): you should specify a date as close as possible to that of ``shipping'' of your ports tree.
That is, ports _are_ tagged ``.'' (``tag=.'' the period being essential), and you _add_ a date field (date=). In other words, for the first sync operation, you retrieve the current branch of the Ports collection, as of a specified date; you specify a date close to that of "shipping" of your ports tree. The reason for this paranoid approach is found at http://www.polstra.com/projects/freeware/CVSup/faq.html (see Q12, Q13, Q40). I hope this is less cryptic. :-) However, an explicit practical example should make the section clearer and better. Thanks for pointing this out. Regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message