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" <[EMAIL PROTECTED]>
To: "Nuno Lopes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[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:[EMAIL PROTECTED]:/repository checkout

phpdoc-$LANG


-------------------------------------------------
When a user makes a new translation:
cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository add -m "New

Translation"


$file
««send password»»
cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository commit $file
------------------------------------------------
When a user edits a current translation:
cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository commit $file
««send password»»
-------------------------------------------------
When the db is updated (daily)
cvs -z3 -d :pserver:[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




Reply via email to