From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 00:33:41 2003 Return-Path: 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 199A916A4BF for ; Mon, 1 Sep 2003 00:33:41 -0700 (PDT) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 871EC43FE1 for ; Mon, 1 Sep 2003 00:33:39 -0700 (PDT) (envelope-from rebehn@ant.uni-bremen.de) Received: from taipeh.ant.uni-bremen.de ([134.102.176.3] helo=ant.uni-bremen.de ident=rebehn) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.14) id 19tjBy-000PxY-06; Mon, 01 Sep 2003 09:33:38 +0200 Message-ID: <3F52F651.1020708@ant.uni-bremen.de> Date: Mon, 01 Sep 2003 09:33:37 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chuck Swiger References: <3F4B4633.1010807@ant.uni-bremen.de> <20030826045512.N503@njamn8or.no-ip.org> <3F4E0715.3040402@ant.uni-bremen.de> <20030828141020.GC21213@zi025.glhnet.mhn.de> <3F4F1F7E.6020609@ant.uni-bremen.de> <3F4F8036.7030207@mac.com> <1062186396.3f4fad9c9d920@www.ant.uni-bremen.de> <3F50CCAF.5040301@mac.com> In-Reply-To: <3F50CCAF.5040301@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Question on CVS Branches X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2003 07:33:41 -0000 Chuck Swiger wrote: > rebehn@antsrv1.ant.uni-bremen.de wrote: > >> Quoting Chuck Swiger : >> >>> The documentation for CVS is not especially well-known for being >>> inclusive. Are you using CVS over SSH or in pserver mode? The first >>> case requires you to >>> set up password-less SSH authentication via ssh-keygen, the latter >>> uses the "cvs >>> login" mechanism. >> >> >> I use CVSROOT=:pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs. >> Is it possible to specify the password on the command line with cvs >> login (it >> isn't secret anyhow)? > > > 6-sec% touch ~/.cvspass > 7-sec% cvs -d :pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs login > Logging in to :pserver:anoncvs@anoncvs.de.freebsd.org:2401/home/ncvs > CVS password: > > [ Use "anoncvs" for the password. ] > > 8-sec% cvs -d :pserver:anoncvs@anoncvs.de.FreeBSD.org:/home/ncvs co src > cvs server: Updating src > U src/COPYRIGHT > U src/MAINTAINERS > U src/Makefile > U src/Makefile.inc1 > U src/README > U src/UPDATING > cvs server: Updating src/bin > ^C... This looks like you still have to type in the password from the terminal. I would like to update the source each night from a cron job. Is there really no way to do that? With OpenBSD i can simply do: # export CVSROOT=anoncvs@anoncvs.de.openbsd.org:/cvs # cvs co -rOPENBSD_3_3 src/sys cvs server: Updating src/sys U src/sys/Makefile cvs server: Updating src/sys/adosfs U src/sys/adosfs/adlookup.c U src/sys/adosfs/adosfs.h U src/sys/adosfs/adutil.c U src/sys/adosfs/advfsops.c U src/sys/adosfs/advnops.c cvs server: Updating src/sys/altq ^C without the need to type in a password. Seems i have to use CVSUP on FreeBSD.. - Heinrich