Index: openacs-4/packages/acs-core-docs/www/cvs-tips.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/cvs-tips.html,v diff -u -r1.15.2.3 -r1.15.2.4 --- openacs-4/packages/acs-core-docs/www/cvs-tips.html 5 Jul 2004 19:47:30 -0000 1.15.2.3 +++ openacs-4/packages/acs-core-docs/www/cvs-tips.html 22 Oct 2004 02:38:14 -0000 1.15.2.4 @@ -1,7 +1,7 @@ Appendix�D.�Using CVS with an OpenACS Site

Appendix�D.�Using CVS with an OpenACS Site

By Joel Aufrecht

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. -

Add the Service to CVS - OPTIONAL.�These steps take an existing OpenACS directory and add +

Add the Service to CVS - OPTIONAL.�These steps take an existing OpenACS directory and add it to a CVS repository.

  1. Create and set permissions on a subdirectory in the local cvs repository.

    [root root]# mkdir /cvsroot/$OPENACS_SERVICE_NAME
     [root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /cvsroot/$OPENACS_SERVICE_NAME
    @@ -20,11 +20,11 @@
                 plus this string,
                 i.e.
                 /cvsroot/$OPENACS_SERVICE_NAME.
    -            "OpenACS" is the vendor tag, and "HEAD" is the
    +            "OpenACS" is the vendor tag, and "openacs-5-1-2-final" is the
                 release tag.  These tags will be useful in upgrading and
                 branching.  -m sets the version comment.

    [root root]# su - $OPENACS_SERVICE_NAME
     [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
    -[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS HEAD
    +[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS openacs-5-1-2-final
     N $OPENACS_SERVICE_NAME/license.txt
     N $OPENACS_SERVICE_NAME/readme.txt
     (many lines omitted)
    @@ -36,7 +36,7 @@
     [root root]#
     su - $OPENACS_SERVICE_NAME
     cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
    -cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS HEAD
    +cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS openacs-5-1-2-final
     exit

    Move the original directory to a temporary location, and check out the cvs repository in its place.

    [root root]# mv /var/lib/aolserver/$OPENACS_SERVICE_NAME /var/tmp
     [root root]# mkdir /var/lib/aolserver/$OPENACS_SERVICE_NAME
     [root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /var/lib/aolserver/$OPENACS_SERVICE_NAME