-   Linux - Software (
-   -   setting up a Live CVS ideas (

mancini 01-04-2005 03:40 AM

setting up a Live CVS ideas
hey i am looking for advices and ideeas on setting up a Live CVS
what i mean by a live cvs , well , have all the latest versions of the files under the cvs automatically updated on another dir of the harddrive , namely /var/www/htdocs/ every time a cvs user makes a addition to a file under the cvs

so for starters , is this even posible ?

mancini 01-04-2005 09:47 AM

please don't confuse this with setting up a web based cvs reader like ViewCVS

mancini 01-05-2005 01:46 AM

well does anyone has any clue ?

hw-tph 01-05-2005 02:21 AM

Sounds like fun, but I don't know of a sure-fire way to do it. One way could possibly be by using the loginfo feature. Replace the mailer or cvs-log script in the examples with a custom mirroring script, perhaps?

Anyways, just an idea. :)


mancini 01-05-2005 10:28 AM

big thanks for the info , i played with it a bit but i struck a big problem
only 3 pieces of infromation can be passed on using that and the contents for the file is not one of them , namely :
s = file name
V = old version number (pre-checkin)
v = new version number (post-checkin)

am i missing something , or you were refering to this to be used only as a trigger ?

mancini 01-06-2005 07:44 AM

it seems there is


^cyclic-pages      (date; cat; (sleep 2; cd /u/www/local-docs;
 cvs -q update -d) &) >> $CVSROOT/CVSROOT/updatelog 2>&1

All times are GMT -5. The time now is 06:07 AM.