[cvsnt] Newbie -- CVS vs. Filesystem
Bo Berglund
Bo.Berglund at system3r.se
Wed Mar 24 08:03:05 GMT 2004
CVS operates between the developer and the central repository storage area.
CVS does not "push" anything out to anyone automatically.
CVS is connectionless so there is no such thing as "logged on users".
CVS can be programmed for certain actions using the administrative scripts.
So you can in fact in a way do what you want by programming the scripting
in the CVS server. To update a website the simplest way would be to have
the website run off of a checked out sandbox from cvs, because then the
script command you need is very simple, just a cd to the top folder of
the website and then a cvs update. The best script to use is postcommit.
Beware though that the CVS server runs as a service and does not necessarily
have any permissions across the network. Best place for the web server is
then on the CVSNT server PC of course...
/Bo
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Trip Kirkpatrick
Sent: den 23 mars 2004 22:40
To: cvsnt at cvsnt.org
Subject: [cvsnt] Newbie -- CVS vs. Filesystem
I'm new to setting up and administering CVS (have used M$ VSS, but only
as an end-user, and enough to dislike it) and I'm not grokking how we
should handle deployment of dev files to a staging or production server.
Somehow, this seems like a pretty basic CVS concept that I'm missing:
Where in the filesystem are the latest up-to-date files? If we fix one
line of code in one file, where is the file we need to push?
Example: When I edit (locally) the root file for a website and commit
the changes, I see the edits on my local webserver, but when I look at
the remote webserver, the change is not on the page. What am I missing?
Using TortoiseCVS as the client, FWIW.
Trip Kirkpatrick
Yale University Center for Language Study
e: trip.kirkpatrick at yale.edu
w: http://www.cls.yale.edu/
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list