%myvars; ]> How to package and release OpenACS Check out the cvs tree. The files must be checked out through a cvs account with write access. In this example, the cvs user on openacs.org is implied from the ssh login information previously set up. It could be overridden via foobar@openacs.org. cd /tmp cvs -d :pserver:anonymous@openacs.org:/cvsroot checkout openacs-4 Repeat with the dotlrn cvs tree. cd /tmp mkdir dotlrn-packages cd dotlrn-packages cvs -d :pserver:anonymous@dotlrn@openacs.org:/dotlrn-cvsroot checkout dotlrn-all Tag the tree. cd /tmp/openacs-4 cvs tag openacs-5-0-0a1 Tag dotLRN. Since the dotLRN packages aren't all in one module, we iterate through all of the modules. Log in first (cvs login) so that you don't have to log in for each module. cd /tmp/dotlrn-package for dir in $(ls); do cd $dir; cvs tag dotlrn-2-0-0a3; cd ..; done Make the tarball openacs-core Go to a new working space and export the tagged files. mkdir /tmp/tarball cd /tmp/tarball cvs -d :pserver:anonymous@openacs.org:/cvsroot export -r openacs-5-0-0a1 -d openacs acs-core Generate the tarball cd /tmp/tarball rm -rf /tmp/tarball/openacs/CVS tar cz -f openacs-5.0.0a1.tar.gz openacs dotlrn Go to a new working space and export the tagged files. (was getting errors here trying to use -d, so gave up and just moved things from openacs-4 to openacs at the end) mkdir /tmp/dotlrn-tarball cd /tmp/dotlrn-tarball cvs -d :pserver:anonymous@openacs.org:/cvsroot export \ -r openacs-5-0-0a1 acs-core cd /tmp/dotlrn-tarball/openacs-4/packages cvs -d :pserver:anonymous@openacs.org:/cvsroot export \ -r openacs-5-0-0a1 dotlrn-prereq cvs -d :pserver:anonymous@dotlrn.openacs.org:/dotlrn-cvsroot export \ -r dotlrn-2-0-0a1 dotlrn-core cd /tmp/dotlrn-tarball mv openacs-4 openacs Copy the dotlrn install.xml file, which controls which packages are installed on setup, to the root location: cp /tmp/dotlrn-tarball/openacs-4/packages/dotlrn/install.xml /tmp/dotlrn-tarball/openacs Generate the tarball cd /tmp/tarball rm -rf /tmp/tarball/openacs-4/CVS tar cz -f dotlrn-2.0.0a1.tar.gz openacs Test the new tarball Update on the site