The information below is out-of-date
Please see download and TRIM instead
Getting Tiki CVS for the first time :
cvs -d:pserver:anonymous@tikiwiki.cvs.sourceforge.net:/cvsroot/tikiwiki login cvs -z3 -d:pserver:anonymous@tikiwiki.cvs.sourceforge.net:/cvsroot/tikiwiki co tikiwiki
Getting the proper branch
cvs -d:pserver:anonymous@tikiwiki.cvs.sourceforge.net:/cvsroot/tikiwiki login cvs co -r BRANCH-1-9 -d tiki-1.9 tikiwiki
It will create a new directory named tiki-1.9/
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 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).
The module is tikiwiki, including the tikiwiki source code, including smarty and adodb third party source code. If you only need the tiki source and use your own smarty and adodb, you can use the module named tiki instead of tikiwiki.
-----
Getting only the parts of Tiki that have changed :
cvs -d:pserver:anonymous@tikiwiki.cvs.sourceforge.net:/cvsroot/tikiwiki login cvs -d:pserver:anonymous@tikiwiki.cvs.sourceforge.net:/cvsroot/tikiwiki up -dP
Getting the docs from CVS :
cvs -d:pserver:anonymous@tikiwiki.cvs.sourceforge.net:/cvsroot/tikiwiki login cvs -d:pserver:anonymous@tikiwiki.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@tikiwiki.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
--------