| Linux Forum Index » Linux Miscellaneous Topics » automating CVS updates |
|
Page 1 of 1 |
|
| Author |
Message |
| Brett |
Posted: Thu Mar 31, 2005 9:02 pm |
|
|
|
Guest
|
Hi,
I have a CVS repository stored on a windows machine that my linux machine
can access. The linux machine has a webserver on it and i'm looking to keep
a copy of all the modules on the linux machine up-to-date at all times so
that I can run something like doxygen. When someone does a commit on the
windows machine, I'd like the linux box to automatically update its copy of
the module.
Is there a suggested technique for such a requirement?
I am using Debian.
Thanks in advance,
Brett. |
|
|
| Back to top |
|
|
|
| Trent Buck |
Posted: Fri Apr 01, 2005 9:20 am |
|
|
|
Guest
|
Spake Brett:
Quote: I have a CVS repository stored on a windows machine that my linux machine
can access. The linux machine has a webserver on it and i'm looking to keep
a copy of all the modules on the linux machine up-to-date at all times so
that I can run something like doxygen. When someone does a commit on the
windows machine, I'd like the linux box to automatically update its copy of
the module.
Is there a suggested technique for such a requirement?
The simple non-solution is to set a cron job to run (say) every 20min to
pull changes from the Windows box. That means the Linux box will be at
most 20min out of date.
--
Trent Buck, Student Errant
Yoda of Borg am I! Assimilated shall you be! Futile resistance is, hmm? |
|
|
| Back to top |
|
|
|
| R.F. Pels |
Posted: Fri Apr 01, 2005 10:11 am |
|
|
|
Guest
|
Brett wrote:
Quote: Is there a suggested technique for such a requirement?
See $CVSROOT/CVSROOT/loginfo file
--
Ruurd
..o.
...o
ooo |
|
|
| Back to top |
|
|
|
| Brett |
Posted: Fri Apr 01, 2005 10:34 am |
|
|
|
Guest
|
"R.F. Pels" <spamtrap@tiscali.nl> wrote in message
news:d2jobb$d5a$1@news1.zwoll1.ov.home.nl...
Quote: Brett wrote:
Is there a suggested technique for such a requirement?
See $CVSROOT/CVSROOT/loginfo file
and what should the script do? Since all company emails go through the SMTP
server on the debian machine, I was thinking of mailing an account and
having procmail update the appropriate module on a local directory.
Brett |
|
|
| Back to top |
|
|
|
| R.F. Pels |
Posted: Fri Apr 01, 2005 2:52 pm |
|
|
|
Guest
|
Brett wrote:
Quote: Is there a suggested technique for such a requirement?
See $CVSROOT/CVSROOT/loginfo file
and what should the script do? Since all company emails go through the
SMTP server on the debian machine, I was thinking of mailing an account
and having procmail update the appropriate module on a local directory.
Basically, anything that passes the name of the committed file to the Linux
box. If you can get a SSH client on the Windows box, what holds you from
issueing a checkout on the windows box? Generate a key on the Windows side,
create an account on the Linux that does the checkout, add the public key
of the Windows side to the Linux side for the checkout user and issue
ssh linuxbox.your.domain.tld cvs co thecommittedfile
..... for example.
--
Ruurd
..o.
...o
ooo |
|
|
| Back to top |
|
|
|
|