History: TikiCommandLineCVS
Preview of version: 9
Getting Tiki CVS for the first time :
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki co tikiwiki
Getting the proper branch
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki login cvs co -r release_eta_carinea_rc1 -d tiki-1.7 tiki
It will create a new directory named tiki-1.7/
Note : the name of the tag, despite it can suggest it's the rc1, is actually the name of the branch... historical mistake perpetuated...
The Available branches are release_eta_carinea_rc1, BRANCH-1-8, BRANCH-1-9 and HEAD (that last one is the default you'll have if you don't specify the branch name with the -r param).
-----
Getting only the parts of Tiki that have changed :
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki login cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki up -dP
--
Getting the docs from CVS :
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki login cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki co tiki-docs
This will create a tiki-docs/
--------
Bash script to update only Tiki parts that have changed :
Open your console in the directory with tiki, in my case /var/www/html. Then type :
vi tikicvs.sh
I copy pasted the text into vi. The copy part is easy ctrl +c pasting into the console is ctrl+ shift+v
#! /bin/sh # this should do the trick # # Where you tikiwiki is MYTIKI=/home/www/tikiwiki # CVSROOT=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/tikiwiki" CVS_RSH="" export CVSROOT CVS_RSH cd $MYTIKI cvs -d $CVROOT login cvs -d $CVROOT up -dP # Because you are set ENV with CVSROOT, you can just do this # cvs up -dP rm -fR tiki/templates_c/%%* # Need if you don't want anonymous can install in your site rm -f tiki-install.php
then to exit vi :
escape> :> wq enter>
Make this script an executable:
chmod a+x tikicvs.sh enter>
ls and the tikicvs.sh should be there. Then all you need to do at the root shell is
./tikicvs.sh
--------
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| Marc Laporte | 11 | |||||
| Mose | 10 | |||||
| Mose | 9 | |||||
| Mose | 8 | |||||
| Juzan Jean-Michel | 7 | |||||
| Juzan Jean-Michel | 6 | |||||
| Juzan Jean-Michel | 5 | |||||
| Oliver Hertel | 4 | |||||
| mike | 3 | |||||