comparison doc/upgrading.txt @ 3963:3230f9c88086

Fix race condition for key properties in rdbms backends [SF#1876683]
author Richard Jones <richard@users.sourceforge.net>
date Thu, 07 Feb 2008 03:28:34 +0000
parents 083e280165a8
children 905faf52a51f
comparison
equal deleted inserted replaced
3962:41d297d7dcec 3963:3230f9c88086
11 0.6.8 though, you'll need to check the "0.5 to 0.6" and "0.6.x to 0.6.3" 11 0.6.8 though, you'll need to check the "0.5 to 0.6" and "0.6.x to 0.6.3"
12 steps. 12 steps.
13 13
14 .. contents:: 14 .. contents::
15 15
16 Migrating from 1.4.x to 1.4.2
17 =============================
18
19 You should run the "roundup-admin migrate" command for your tracker once
20 you've installed the latest codebase.
21
22 Do this before you use the web, command-line or mail interface and before
23 any users access the tracker.
24
25 This command will respond with either "Tracker updated" (if you've not
26 previously run it on an RDBMS backend) or "No migration action required"
27 (if you have run it, or have used another interface to the tracker,
28 or are using anydbm).
29
30 It's safe to run this even if it's not required, so just get into the
31 habit.
32
33
16 Migrating from 1.3.3 to 1.4.0 34 Migrating from 1.3.3 to 1.4.0
17 ============================= 35 =============================
18 36
19 Value of the "refwd_re" tracker configuration option (section "mailgw") 37 Value of the "refwd_re" tracker configuration option (section "mailgw")
20 is treated as UTF-8 string. In previous versions, it was ISO8859-1. 38 is treated as UTF-8 string. In previous versions, it was ISO8859-1.
23 update the messagesummary detector as follows:: 41 update the messagesummary detector as follows::
24 42
25 --- detectors/messagesummary.py 17 Apr 2003 03:26:38 -0000 1.1 43 --- detectors/messagesummary.py 17 Apr 2003 03:26:38 -0000 1.1
26 +++ detectors/messagesummary.py 3 Apr 2007 06:47:21 -0000 1.2 44 +++ detectors/messagesummary.py 3 Apr 2007 06:47:21 -0000 1.2
27 @@ -8,7 +8,7 @@ 45 @@ -8,7 +8,7 @@
28 if newvalues.has_key('summary') or not newvalues.has_key('content'): 46 if newvalues.has_key('summary') or not newvalues.has_key('content'):
29 return 47 return
30 48
31 - summary, content = parseContent(newvalues['content'], 1, 1) 49 - summary, content = parseContent(newvalues['content'], 1, 1)
32 + summary, content = parseContent(newvalues['content'], config=db.config) 50 + summary, content = parseContent(newvalues['content'], config=db.config)
33 newvalues['summary'] = summary 51 newvalues['summary'] = summary
34 52
35 In the latest version we have added some database indexes to the 53 In the latest version we have added some database indexes to the
36 SQL-backends (mysql, postgresql, sqlite) for speeding up building the 54 SQL-backends (mysql, postgresql, sqlite) for speeding up building the
37 roundup-index for full-text search. We recommend that you create the 55 roundup-index for full-text search. We recommend that you create the
38 following database indexes on the database by hand:: 56 following database indexes on the database by hand::

Roundup Issue Tracker: http://roundup-tracker.org/