Skip to content

Commit defcced

Browse files
author
Richard Jones
committed
Steps to follow when migrating between versions of roundup.
1 parent cf518b8 commit defcced

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

MIGRATION.txt

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Migrating to newer versions of Roundup
2+
======================================
3+
4+
5+
0.2.x -> 0.3.x
6+
--------------
7+
8+
0.3.0 introduces cookie authentication - you will need to copy the
9+
interfaces.py file from the roundup source to your instance home to enable
10+
authentication. If you used the classic schema, the interfaces file is in:
11+
12+
<roundup source>/roundup/templates/classic/interfaces.py
13+
14+
If you used the extended schema, the file is in:
15+
16+
<roundup source>/roundup/templates/extended/interfaces.py
17+
18+
19+
This release also introduces encryption of passwords in the database. To
20+
use the encrypted passwords in your existing database, you will need to
21+
modify your schema.
22+
23+
1. Edit the dbinit.py file in your instance home directory
24+
1a. Around line 47 (the first code line of the open() function):
25+
26+
from roundup.hyperdb import String, Date, Link, Multilink
27+
28+
alter to include Password, as so:
29+
30+
from roundup.hyperdb import String, Password, Date, Link, Multilink
31+
32+
1b. Around line 66 (after the 'user = Class(db, "user, ' line):
33+
34+
username=String(), password=String(),
35+
36+
alter so it reads:
37+
38+
username=String(), password=Password(),
39+
40+
2. Any existing passwords in the database will remain cleartext until they
41+
are edited. It is recommended that at a minimum the admin password be
42+
changed immediately:
43+
44+
roundup-admin -i <instance home> set user1 password=<new password>
45+
46+
47+

0 commit comments

Comments
 (0)