=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.html,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- www/anoncvs.html 2000/01/26 22:48:30 1.99 +++ www/anoncvs.html 2000/01/26 23:47:44 1.100 @@ -16,8 +16,21 @@
+
Anonymous CVS is a method of keeping your local copy of the OpenBSD source tree up to date with respect to changes made to current OpenBSD sources. @@ -42,8 +55,18 @@
+To summarize, the real strength of using Anonymous CVS is that it is +a "tolerant" source code control system - it respects +changes that you have made to your local sources and makes +"best efforts" to update your entire source tree, rather than +leaving you a list of arcane problems that have to be resolved before +continuing. +
+ +CVS is the source code control system used to manage the OpenBSD source tree. @@ -71,7 +94,17 @@ to update any other source modules you requested.
+ ++The latest version of CVS is available at +Cyclic. +Versions earlier than 1.6 are not recommended, and may not work. +If you already have OpenBSD installed, CVS is included. +
+ +People who own an OpenBSD CD may have seen the CVS/ dirs on it. Actually there is a reason, the CD has a checkout of the OpenBSD src module usable to continue updating from. Using this tree will result in a much @@ -89,49 +122,70 @@ # mount -t union -o -b /mnt /usr/src + +
+For people who don't have a CD on hand, you can use cvs(1) to "checkout" the source repository for you. This is discussed in the next section. +
+ +After this, /usr/src will be a nice checkout area where all cvs(1) commands will work OK. +
- --To summarize, the real strength of using Anonymous CVS is that it is -a "tolerant" source code control system - it respects -changes that you have made to your local sources and makes -"best efforts" to update your entire source tree, rather than -leaving you a list of arcane problems that have to be resolved before -continuing. +CVS was designed to be a simple way to retrive and update your sources, therefore there +isn't much involved at all in doing so. To start off you must know which Anonymous CVS server you are going to use. A list of these servers is below. +Do, however, notice that there are only 3 ways to access these servers. +
--The latest version of CVS is available at -Cyclic. -Versions earlier than 1.6 are not recommended, and may not work. -If you already have OpenBSD installed, CVS is included. +NOTE: - For users wishing to use ssh, you must first set the CVS_RSH variable to ssh. +
+ $ export CVS_RSH="/usr/bin/ssh" ++
+ $ setenv CVS_RSH /usr/bin/ssh ++
+Once you have chosen which Anonymous CVS Server you will use, and which method you will use, you can start using cvs. For those of you who have CD's you can start with the CVS checkout that is on the CD by using the method above to get the sources onto your system. If you don't have a CD handy, use the method below to checkout the sources. This method puts the OpenBSD source tree into /usr/src. +
+ ++
+# cd /usr; cvs checkout src ++ + +
+The above will checkout the most current sources. Many of you will only want the release sources, especially if you are patching your system. To checkout release sources you must specify a tag along with your command. Example: +
+ ++
+# cd /usr; cvs checkout -rOPENBSD_2_6 src ++Or OPENBSD_2_5 for 2.5, etc. + + + + +
There are two levels of source tree access: