Re: RE: Getting the PEAR package manager
| From: | Tomas V.V.Cox | Date: | Thu, 13 Jun 2002 00:32:20 +0000 |
| Subject: | Re: RE: Getting the PEAR package manager | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6977@lists.php.net to get a copy of this message | ||
Ok, I've added the "bash" version of this to go-pear. Thanks Alan.
Tomas V.V.Cox
PS.- The phantom of a go-pear in PHP is flying arround
Alan Knowles wrote:
>
> 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
> >
> >
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php