Distributing upgrades of your package

by Jade Rubick

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

The OpenACS Package Repository builds a list of packages that can be installed on OpenACS installations, and can be used by administrators to update their packages. If you are a package developer, there are a couple of steps you need to take in order to release a new version of your package.

For the sake of this example, let's assume you are the package owner of the notes package. It is currently at version 1.5, and you are planning on releasing version 1.6. It is also located in OpenACS's CVS.

To release your package:

cd /path/to/notes
cvs commit -m "Update package to version 1.6."
cvs tag notes-1-6-final
cvs tag -F openacs-5-1-compat

Of course, make sure you write upgrade scripts (the section called “Writing upgrade scripts”)