=================================================================== 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

-

What is it?

+

+

+

+
+ + +

What is Anonymous CVS?

+

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 @@

  • www - Houses all OpenBSD web pages. (Including this one). -

    CVS:

    +

    +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. +

    + +

    What is CVS?

    +

    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.

    + +

    Getting Started Using Anonymous CVS.

    +

    +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. +

    - -

    CVS COMMAND SUMMARY

    -
    cvs [cvs args] [cvs command] [cvs command args] -
    below is a listing of commonly used cvs commands. -
    -
    add -
    Add a new file or directory to the repository. -
    get -
    Make a working directory of source files for editing. -
    commit -
    Apply changes to the source repository (write access) -
    diff -
    Show differences between local files and the source repository. -
    history -
    Show reports on cvs commands against the source repository. -
    log -
    Display CVS log information. -
    rdiff -
    Prepare a collection of diffs reflecting changes between release. -
    status -
    Show current status of files in the repository and local copies. -
    update -
    Bring your working directory up to date with the repository. -
    + +

    Using CVS(1) to get and update your source tree.

    -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. +

    -

    Using Anonymous CVS:

    + +

    -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. +

    +

    +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. +

    + +

    +

    +

    + +

    +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: +

    + +

    +

    +Or OPENBSD_2_5 for 2.5, etc. +

    + + + +

    Available Anonymous CVS Servers.

    + +

    There are two levels of source tree access:

    @@ -555,7 +609,7 @@
    OpenBSD www@openbsd.org -
    $OpenBSD: anoncvs.html,v 1.99 2000/01/26 22:48:30 ericj Exp $ +
    $OpenBSD: anoncvs.html,v 1.100 2000/01/26 23:47:44 ericj Exp $