Re: cvs questions
| From: | Gabor Hojtsy | Date: | Wed, 08 Oct 2003 17:48:02 +0000 |
| Subject: | Re: cvs questions | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356537@lists.php.net to get a copy of this message | ||
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@hojtsy.hu> To: "Nuno Lopes" <nunoplopes@sapo.pt> Cc: <Phpdocmanager-devl@lists.sourceforge.net>; <phpdoc@lists.php.net> Sent: Wednesday, October 08, 2003 6:36 PM Subject: Re: [PHP-DOC] cvs questionsphpdoc-$LANG------------------------------------------- When the admin run the script for the first time do this: cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository checkoutTranslation"------------------------------------------------- When a user makes a new translation: cvs -z3 -d :pserver:$user@cvs.php.net:/repository add -m "Newphpdoc-$LANG$file ««send password»» cvs -z3 -d :pserver:$user@cvs.php.net:/repository commit $file ------------------------------------------------ When a user edits a current translation: cvs -z3 -d :pserver:$user@cvs.php.net:/repository commit $file ««send password»» ------------------------------------------------- When the db is updated (daily) cvs -z3 -d :pserver:cvsread@cvs.php.net:/repository update -d-------------------------------------------------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