Index: openacs-4/packages/acs-core-docs/www/cvs-tips.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/cvs-tips.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-core-docs/www/cvs-tips.adp 8 Nov 2017 09:42:10 -0000 1.3 +++ openacs-4/packages/acs-core-docs/www/cvs-tips.adp 25 Apr 2018 08:38:27 -0000 1.4 @@ -1,27 +1,24 @@ -{/doc/acs-core-docs {ACS Core Documentation}} {Appendix D. Using CVS with an -OpenACS Site} -Appendix D. Using CVS with an -OpenACS Site +{/doc/acs-core-docs {ACS Core Documentation}} {Appendix D. Using CVS with an OpenACS Site} +Appendix D. Using CVS with an OpenACS Site -
+ leftLink="i18n-translators" leftLabel="Prev" + title="Part III. For OpenACS +Package Developers" + rightLink="acs-plat-dev" rightLabel="Next"> +

-Appendix D. Using CVS with -an OpenACS Site

<authorblurb>

By Joel +Appendix D. Using CVS with an OpenACS +Site

<authorblurb>

By Joel Aufrecht

</authorblurb>

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

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

      [root root]# mkdir /cvsroot/$OPENACS_SERVICE_NAME
       
       [root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /cvsroot/$OPENACS_SERVICE_NAME
       
      @@ -33,18 +30,14 @@
       
    2. Add the repository location to the user environment. On some systems, you may get better results with .bash_profile instead of -.bashrc.

      -[root root]# su - $OPENACS_SERVICE_NAME
      +.bashrc.

      [root root]# su - $OPENACS_SERVICE_NAME
       
       [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ emacs .bashrc
      -

      Put this string into /home/$OPENACS_SERVICE_NAME/.bashrc:

      -export CVSROOT=/cvsroot
      -
      +

      Put this string into /home/$OPENACS_SERVICE_NAME/.bashrc:

      export CVSROOT=/cvsroot
       [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ exit
       logout
       
      -[root root]#
      -
      +[root root]#
    3. Import all files into cvs. In order to work on files with source control, the files must be checked out from cvs. So we will import, @@ -55,8 +48,7 @@ . "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
      +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
       
      @@ -75,8 +67,7 @@
       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
      +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
      @@ -109,9 +100,9 @@
       
- \ No newline at end of file + leftLink="i18n-translators" leftLabel="Prev" leftTitle="Translator's Guide" + rightLink="acs-plat-dev" rightLabel="Next" rightTitle="Part IV. For OpenACS +Platform Developers" + homeLink="index" homeLabel="Home" + upLink="acs-package-dev" upLabel="Up"> + \ No newline at end of file