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.34 -r1.35 --- openacs-4/packages/acs-core-docs/www/cvs-tips.html 27 Oct 2014 16:39:17 -0000 1.34 +++ openacs-4/packages/acs-core-docs/www/cvs-tips.html 7 Aug 2017 23:47:49 -0000 1.35 @@ -1,8 +1,8 @@ -Appendix D. Using CVS with an OpenACS Site

Appendix D. Using CVS with an OpenACS Site

By Joel Aufrecht

+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
    @@ -21,11 +21,11 @@
                 plus this string,
                 i.e.
                 /cvsroot/$OPENACS_SERVICE_NAME.
    -            "OpenACS" is the vendor tag, and "oacs-5-7-0-final" is the
    +            "OpenACS" is the vendor tag, and "oacs-5-9-0-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 oacs-5-7-0-final
    +[$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS oacs-5-9-0-final
     N $OPENACS_SERVICE_NAME/license.txt
     N $OPENACS_SERVICE_NAME/readme.txt
     (many lines omitted)
    @@ -37,7 +37,7 @@
     [root root]#
     su - $OPENACS_SERVICE_NAME
     cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
    -cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS oacs-5-7-0-final
    +cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS oacs-5-9-0-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
    @@ -60,4 +60,4 @@
     su - $OPENACS_SERVICE_NAME
     cd /var/lib/aolserver
     cvs checkout $OPENACS_SERVICE_NAME
    -exit
  2. If the service starts correctly, come back and remove the temporary copy of the uploaded files.

View comments on this page at openacs.org
+exit
  • If the service starts correctly, come back and remove the temporary copy of the uploaded files.