Re: RE: Getting the PEAR package manager

From: Date: Wed, 12 Jun 2002 14:24:34 +0000
Subject: Re: RE: Getting the PEAR package manager
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6951@lists.php.net to get a copy of this message
there is a wonderfully undocumented feature of cvs: CVSPASS enviroment variable allows you to use a temp password file.. I use something like this to do auto code updates.. var $cvspass = ":pserver:anonymous@php.com:/usr/cvs A??????"; <- put the password encrypted here..
       $fh = fopen("/tmp/cvspass","w");
       fwrite($fh,$this->cvspass);
       fclose($fh);
       $cmd = "cd ".dirname(__FILE__) ."/../;CVSPASS=/tmp/cvspass /usr/bin/cvs  update -d -P";
       $cmd;
unlink '/tmp/cvspass'; regards alan Martin Jansen wrote:
On Tue, 11 Jun 2002 12:24:44 -0700, Dietrich Ayala wrote:
cvs export: could not open /home/saintadmin/.cvspass: No such file or directory cvs [export aborted]: use "cvs login" to log in first
Running "cvs -d :pserver:cvsread@cvs.php.net:/repository" and typing "phpfi" has the password should do the trick. Tomas: Can you add that to go-pear perhaps? - Martin


« previous php.pear.dev (#6951) next »