From 5727757e61a10ea08696013efc266d422bb62121 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 9 Oct 2001 07:32:07 +0000 Subject: [PATCH] Steps to follow when migrating between versions of roundup. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@280 57a73879-2fb5-44c3-a270-3262357dd7e2 --- MIGRATION.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 MIGRATION.txt diff --git a/MIGRATION.txt b/MIGRATION.txt new file mode 100644 index 0000000..64d70fa --- /dev/null +++ b/MIGRATION.txt @@ -0,0 +1,47 @@ +Migrating to newer versions of Roundup +====================================== + + +0.2.x -> 0.3.x +-------------- + +0.3.0 introduces cookie authentication - you will need to copy the +interfaces.py file from the roundup source to your instance home to enable +authentication. If you used the classic schema, the interfaces file is in: + + /roundup/templates/classic/interfaces.py + +If you used the extended schema, the file is in: + + /roundup/templates/extended/interfaces.py + + +This release also introduces encryption of passwords in the database. To +use the encrypted passwords in your existing database, you will need to +modify your schema. + + 1. Edit the dbinit.py file in your instance home directory + 1a. Around line 47 (the first code line of the open() function): + + from roundup.hyperdb import String, Date, Link, Multilink + + alter to include Password, as so: + + from roundup.hyperdb import String, Password, Date, Link, Multilink + + 1b. Around line 66 (after the 'user = Class(db, "user, ' line): + + username=String(), password=String(), + + alter so it reads: + + username=String(), password=Password(), + + 2. Any existing passwords in the database will remain cleartext until they + are edited. It is recommended that at a minimum the admin password be + changed immediately: + + roundup-admin -i set user1 password= + + + -- 2.30.2