making rcs work. ================ I love cvs. Its my number 1 source checker in doovie (Sorry I had to get technical on ya there, but checker in doovie just cant be explained any other way! :) CVS number 1! Ra ra ra! USING AND TESTING ================= What you need to do first for all of these! ------------------------------------------- CVSROOT=cvs@burfrost:/data/cvsroot # Who where and directory of archive CVS_RSH=ssh # use encryption export CVSROOT CVS_RSH or setenv CVSROOT cvs@burfrost:/data/cvsroot setenv CVS_RSH ssh or using orion: export CVSROOT=orion:/data/cvsroot export CVS_RSH=ssh or setenv CVSROOT orion:/data/cvsroot setenv CVS_RSH ssh check OUT a project. -------------------- cd somewhere/to/put/it # pick a local directory like # /tmp or ~/src cvs co test # creates dir "foo" cd test # Should be there now :) to work in other people's updates --------------------------------- cvs update # RUN this command periodically to get other people's changes. editing an existing project file -------------------------------- vi blah.c # until you are happy with it. cvs commit # to write a new version to the archive create a new file and add it into the project --------------------------------------------- # WARNING: NEW FILES MUST BE ADDED OR cvs WONT KEEP TRACK OF THEM!!! WARNING cvs add blah.c cvs commit delete an unneeded file ----------------------- # When you are sure its not needed any more.. (ie you checked with the other # coders you are working with!) rm obsolete.c # You must delete the file before cvs removing it. cvs remove obsolete.c cvs commit How do I release v2.0 of the code? ---------------------------------- cvs commit -r2.0 cvs update -A CHECKING IN A WHOLE EXISTING PROJECT ==================================== cd directory/with/test/in/for/example ls -al test cvs import test local base # note: "test" = module name, # "local" = vendor, "base" = revision # Will ask you for log comments # Now you check the project OUT to start using cvs on it. ADMIN STUFF ON THE SERVER ========================= compile on orion :) ------------------- Duh Make a cvs root directory. -------------------------- mkdir /sci1/local/cvsroot ln -s /sci1/local/cvsroot /cvsroot cvs init or use burfrost