[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS anonymous server
From: |
Mark D. Baushke |
Subject: |
Re: CVS anonymous server |
Date: |
Mon, 15 Aug 2005 11:00:02 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Huaer XC <address@hidden> writes:
> Hi there:
> we are trying to setup an anonymous server to let people outside to
> checkout our versioned project files. Considering the securities of
> the network, we want to keep it separated from our current repository
> where we are woking on. Is there any suggestions that how we can keep
> the revision information quasi-synchronized that we need only those
> published version infomation(Or should we just copy the whole
> repository to keep all the stuffs synchronized). Many thanks for your
> suggestions,
There are multiple possibilities...
a) CVSup
You could follow something like the setup given here:
http://motoyuki.bsdclub.org/BSD/cvsup.html
for your own cvs repository.
You can get the sources for ezm3 and CVSup from
ftp.freebsd.org:/pub/FreeBSD/development/CVSup/
I have used the 16.1g snapshot with no problems on a number of
different platforms (including Solaris and GNU/Linux).
Of course, it sounds like you would only want to run the CVSup update
on a periodic basis when it is time to synchronize even if it might
make more sense to just have the anonymous copy be exact all the
time...
b) rsync
Sources for rsync may be a part of your OS already, or you can
get them from http://rsync.samba.org/
You should be able to use a guide like this one:
http://sunsite.dk/info/guides/rsync/rsync-mirroring.html
to help you learn how to mirror trees on another server.
For your case, you could consider pushing the sources from your
primary repository to your anonymous server.
You would want to run rsync when you know that you are ready for the
anonymous copy to be updated... even if it might make more sense to
always keep them synchronized...
c) use cvs export from the primary and cvs import on the secondary to
keep only the exact files you wish available on the anonymous server.
Good luck,
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQFDANgiCg7APGsDnFERAj6XAKDfwM+EUYRnUFA+/yemxNMeR9R7owCgqoN8
mlyKjWM3QLq3uwXCIMl+GgU=
=tY/4
-----END PGP SIGNATURE-----