Justtechjobs.com Find a programming school near you






Online Campus Both


php-documentation-list | 2003101

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

> -------------------------------------------
> 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