Loading...
 

HowToCvsTarball

Here is how I provide tarballs of the CVS on tikiwiki.org, so other people can do it as well.

lastcvs.sh

That simple shell script updates a local cvs dir and logs the operation in a file, it takes a valid tag as argument. Be careful there is no check for anything it just does what it says :

Copy to clipboard
#!/bin/sh OLDIR=`pwd` LOGFILE="/home/mose/var/tikicvs/tails/cvslog_$1" if [ ! -f $LOGFILE ]; then touch $LOGFILE fi date +%s >> $LOGFILE cd /home/mose/var/lastiki_$1 cvs -q update -dP -r $1 >> $LOGFILE cd ../ rm -f lastiki_$1.tar.bz2_previous mv lastiki_$1.tar.bz2 lastiki_$1.tar.bz2_previous tar -cjf lastiki_$1.tar.bz2 lastiki_$1 cd $OLDIR
contrab -e

As a user, on my server, I included my ssh public key on sourceforge, so I have no password to type and then I can automate that cvs update process.

Copy to clipboard
crontab -e 02 1,9,17 * * * /home/mose/bin/lastcvs.sh HEAD 02 2,10,18 * * * /home/mose/bin/lastcvs.sh release_eta_carinea_rc1
reachable on the web

I have a symbolic link setup to each generated tarbal in the web directory, so there is no need for other manipulation. You can provide a view on your logs or something like that, or indication of the generation time in adding it in the name with the shell script.

just hack it and contribute back if possible !

mose


Page last modified on Saturday 11 October 2003 19:16:03 GMT-0000

Upcoming Events

1)  21 Mar 2024 18:00 GMT-0000
Tiki Roundtable Meeting
2)  25 Mar 2024 17:00 GMT-0000
29th anniversary WikiBirthday (With Ward Cunningham)
3)  18 Apr 2024 18:00 GMT-0000
Tiki Roundtable Meeting
4)  16 May 2024 18:00 GMT-0000
Tiki Roundtable Meeting
5)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
8)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9) 
Tiki birthday
10)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting