LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-04-2005, 04:40 AM   #1
mancini
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Lightbulb 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 ?
 
Old 01-04-2005, 10:47 AM   #2
mancini
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
please don't confuse this with setting up a web based cvs reader like ViewCVS
 
Old 01-05-2005, 02:46 AM   #3
mancini
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
well does anyone has any clue ?
 
Old 01-05-2005, 03:21 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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.

Håkan
 
Old 01-05-2005, 11:28 AM   #5
mancini
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
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 ?

Last edited by mancini; 01-05-2005 at 12:15 PM.
 
Old 01-06-2005, 08:44 AM   #6
mancini
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
it seems there is http://www.cvshome.org/docs/manual/c...18.html#SEC173

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

Last edited by mancini; 01-06-2005 at 08:45 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up CVS filburt1 Linux - Software 2 02-28-2005 10:49 PM
Setting up CVS question... stoney79 Linux - Software 0 02-02-2005 06:20 AM
Setting up a CVS repository mlalkm Linux - Software 3 01-15-2005 07:00 AM
Need Ideas for setting up email scanner and spam filter on SuSE9 Jamm Linux - Software 1 05-14-2004 03:18 PM
Setting up cvs server Sky Linux - General 3 01-27-2003 03:42 AM


All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration