Justtechjobs.com Find a programming school near you






Online Campus Both


php-documentation-list | 2003101

[PHP-DOC] Re: cvs questions From: Gabor Hojtsy (gabor <email protected>)
Date: 10/08/03

Well, I don't see how authentication will work here (cvs login), but
apart from that, these seem to be OK. You can test CVS command by
playing around in the sourceforge CVS (just use that a -d :). So people
will not get annoyed with you trying out the program on the PHP.net csv
server...

Goba

> I already read the dochowto.
>
> Persons won't see this code! This will be on the php script. Only
> devellopers will see this "scary" code.....
>
> But, it is ok?
>
>
> ----- Original Message -----
> From: "Gabor Hojtsy" <gabor <email protected>>
> To: "Nuno Lopes" <nunoplopes <email protected>>
> Cc: <Phpdocmanager-devl <email protected>>; <phpdoc <email protected>>
> Sent: Wednesday, October 08, 2003 6:36 PM
> Subject: Re: [PHP-DOC] cvs questions
>
>
>
>>>-------------------------------------------
>>>When the admin run the script for the first time do this:
>>>cvs -z3 -d :pserver:cvsread <email protected>:/repository checkout
>
> phpdoc-$LANG
>
>>>-------------------------------------------------
>>>When a user makes a new translation:
>>>cvs -z3 -d :pserver:$user <email protected>:/repository add -m "New
>
> Translation"
>
>>>$file
>>>««send password»»
>>>cvs -z3 -d :pserver:$user <email protected>:/repository commit $file
>>>------------------------------------------------
>>>When a user edits a current translation:
>>>cvs -z3 -d :pserver:$user <email protected>:/repository commit $file
>>>««send password»»
>>>-------------------------------------------------
>>>When the db is updated (daily)
>>>cvs -z3 -d :pserver:cvsread <email protected>:/repository update -d
>
> phpdoc-$LANG
>
>>>-------------------------------------------------
>>
>>Erm, I would suggest you study the dochowto. It is not at all convinient
>>to specify the -z2 and -d params in all calls. These kind of
>>instructions scare people most :) The dochowto has info on where to put
>>.cvsrc (where you can specify -z3) and how to set CVSROOT (which is used
>>in place of -d). So your comands get reduced in complexity and length...
>>
>>Goba
>
>
>
>