From 934dc6bb2cce3ae38c83aeeb9686de03cfcb5222 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 20 Jun 2002 23:48:54 +0000 Subject: [PATCH] Moved the MIGRATION text in with the rest of the docco, fixed up for 0.4.2 git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@796 57a73879-2fb5-44c3-a270-3262357dd7e2 --- doc/announcement.txt | 2 +- doc/index.txt | 2 + doc/installation.txt | 12 +- doc/upgrading.txt | 330 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 343 insertions(+), 3 deletions(-) create mode 100644 doc/upgrading.txt diff --git a/doc/announcement.txt b/doc/announcement.txt index 529fd50..b8d43d2 100644 --- a/doc/announcement.txt +++ b/doc/announcement.txt @@ -4,7 +4,7 @@ SC-Track Roundup 0.4.2pr1 - an issue tracking system NOTE: This is the first (and hopefully only) pre-release of 0.4.2. If you have an existing roundup installation and wish to test it, make a backup -of your database. Make sure you read MIGRATION.txt! +of your database. Make sure you read the upgrading.txt document! Roundup requires python 2.1.1 for correct operation. Support for dumbdbm requires python 2.1.2 or 2.2. 2.1.3 and 2.2.1 are recommended. diff --git a/doc/index.txt b/doc/index.txt index 9872255..046dbaf 100644 --- a/doc/index.txt +++ b/doc/index.txt @@ -13,6 +13,7 @@ Contents - `Customising Roundup`_ - `Roundup's Design Document`_ - `Developing Roundup`_ +- Upgrading_ - Contact_ - Acknowledgements_ - License_ @@ -25,6 +26,7 @@ Contents .. _`Customising Roundup`: customizing.html .. _`Developing Roundup`: developers.html .. _`Roundup's Design Document`: spec.html +.. _Upgrading: upgrading.html Contact diff --git a/doc/installation.txt b/doc/installation.txt index e61279a..f44998f 100644 --- a/doc/installation.txt +++ b/doc/installation.txt @@ -2,7 +2,7 @@ Installing Roundup ================== -:Version: $Revision: 1.11 $ +:Version: $Revision: 1.12 $ .. contents:: @@ -181,7 +181,14 @@ Set aside 15-30 minutes. echo test | mail -s '[issue] test' support@YOUR_DOMAIN_HERE -TODO (finish) + +Upgrading +========= + +Read the separate upgrading_ document, which describes the steps needed to +upgrade existing tracker instances for each version of Roundup that is +released. + ZRoundup ======== @@ -242,4 +249,5 @@ Next: `Getting Started`_ .. _`getting started`: getting_started.html .. _`roundup specification`: spec.html .. _`customising roundup`: customizing.html +.. _`upgrading`: upgrading.html diff --git a/doc/upgrading.txt b/doc/upgrading.txt new file mode 100644 index 0000000..4fe589f --- /dev/null +++ b/doc/upgrading.txt @@ -0,0 +1,330 @@ +====================================== +Upgrading to newer versions of Roundup +====================================== + +Please read each section carefully and edit your instance home files +accordingly. + +.. contents:: + +Migrating from 0.4.1 to 0.4.2 +============================= + +0.4.2 Configuration +------------------- +The USER_INDEX definition introduced in 0.4.1 was too restrictive in its +allowing replacement of 'assignedto' with the user's userid. Users must change +the None value of 'assignedto' to 'CURRENT USER' (the string, in quotes) for +the replacement behaviour to occur now. + +The new configuration variables are: + +- EMAIL_KEEP_QUOTED_TEXT +- EMAIL_LEAVE_BODY_UNCHANGED +- ADD_RECIPIENTS_TO_NOSY + +See the sample condfiguration files in:: + + /roundup/templates/classic/instance_config.py + +and:: + + /roundup/templates/extended/instance_config.py + +for information on how they're used. + + +0.4.2 Changes to detectors +-------------------------- +You will need to copy the detectors from the distribution into your instance +home "detectors" directory. If you used the classic schema, the detectors +are in:: + + /roundup/templates/classic/detectors/ + +If you used the extended schema, the detectors are in:: + + /roundup/templates/extended/detectors/ + +The change means that schema-specific code has been removed from the +mail gateway and cgi interface and made into auditors: + +- nosyreactor.py has now got an updatenosy auditor which updates the nosy + list with author, recipient and assignedto information. +- statusauditor.py makes the unread or resolved -> chatting changes and + presets the status of an issue to unread. + +There's also a bug or two fixed in the nosyreactor code. + +0.4.2 HTML templating changes +----------------------------- +The link() htmltemplate function now has a "showid" option for links and +multilinks. When true, it only displays the linked node id as the anchor +text. The link value is displayed as a tooltip using the title anchor +attribute. To use in eg. the superseder field, have something like this:: + + + + + +
View: +
+ + +The stylesheets have been cleaned up too. You may want to use the newer +versions in:: + + /roundup/templates/