Message120
The current MIGRATION.txt does not mention
all required changes to an old instance directory.
One problem were the missing INSTANCE_NAME and
EMAIL_SIGNATURE_POSITION settings in instance_config.py,
but there are more.
These are changes between the 0.3.0 instancescripts
and the current onces (igoring instance_config.py):
__init__.py
58a59
> #SHA: 4cd3a726bf2a0ffbb2c7b50d10d094f9c816e4ab
dbinit.py
htmlbase.py
519a520
> #SHA: d737ea000555483b46dfe283b5fe05774f759100
interfaces.py
18c18
< # $Id: interfaces.py,v 1.11 2002/01/02 02:32:38 richard Exp $
---
> # $Id: interfaces.py,v 1.8 2001/10/22 03:25:01 richard Exp $
27d26
< INSTANCE_NAME = instance_config.INSTANCE_NAME
37d35
< INSTANCE_NAME = instance_config.INSTANCE_NAME
41d38
< ANONYMOUS_REGISTER = instance_config.ANONYMOUS_REGISTER
45,58d41
< # Revision 1.11 2002/01/02 02:32:38 richard
< # ANONYMOUS_ACCESS -> ANONYMOUS_REGISTER
< #
< # Revision 1.10 2001/12/20 15:43:01 rochecompaan
< # Features added:
< # . Multilink properties are now displayed as comma separated values in
< # a textbox
< # . The add user link is now only visible to the admin user
< # . Modified the mail gateway to reject submissions from unknown
< # addresses if ANONYMOUS_ACCESS is denied
< #
< # Revision 1.9 2001/11/26 23:00:53 richard
< # This config stuff is getting to be a real mess...
< #
95a79
> #SHA: 5cc41661e978e295797b93050916333fff84ef2e
detectors/__init__.py
54a55
> #SHA: 8136bce2a026428f70cec927f5430ef46de0667c
detectors/nosyreaction.py
18c18
< #$Id: nosyreaction.py,v 1.9 2001/12/15 19:24:39 rochecompaan Exp $
---
> #$Id: nosyreaction.py,v 1.5 2001/11/12 22:01:07 richard Exp $
38d37
< change_note = ''
52,53d50
< if messages:
< change_note = cl.generateChangeNote(nodeid, oldvalues)
60c57
< cl.sendmessage(nodeid, msgid, change_note)
---
> cl.sendmessage(nodeid, msgid)
69,70c66
< # but don't add admin or the anonymous user to the nosy list and
< # don't add the author if he just removed himself
---
> # but don't add admin or the anonymous user to the nosy list
72d67
< authid = db.msg.get(msgid, 'author')
77d71
< if recipid == authid and not n.has_key(authid): continue
79a74
> authid = db.msg.get(msgid, 'author')
84,86c79
< # append the author only after issue creation
< if oldvalues is None:
< nosy.append(authid)
---
> nosy.append(authid)
97,122d89
< #Revision 1.9 2001/12/15 19:24:39 rochecompaan
< # . Modified cgi interface to change properties only once all changes are
< # collected, files created and messages generated.
< # . Moved generation of change note to nosyreactors.
< # . We now check for changes to "assignedto" to ensure it's added to the
< # nosy list.
< #
< #Revision 1.8 2001/12/05 14:26:44 rochecompaan
< #Removed generation of change note from "sendmessage" in roundupdb.py.
< #The change note is now generated when the message is created.
< #
< #Revision 1.7 2001/11/30 11:29:04 rochecompaan
< #Property changes are now listed in emails generated by Roundup
< #
< #Revision 1.6 2001/11/26 22:55:56 richard
< #Feature:
< # . Added INSTANCE_NAME to configuration - used in web and email to identify
< # the instance.
< # . Added EMAIL_SIGNATURE_POSITION to indicate where to place the roundup
< # signature info in e-mails.
< # . Some more flexibility in the mail gateway and more error handling.
< # . Login now takes you to the page you back to the were denied access to.
< #
< #Fixed:
< # . Lots of bugs, thanks Roché and others on the devel mailing list!
< #
148a116
> #SHA: e85be761c47cfce798ed8f390d0e4f1cd80aab2a
The missing INSTANCE_NAME breaks cgi_client.py,
the additional parameter of sendmessage() the
mailgw.py. MIGRATION.txt should mention that it
is necessary to update the instance directory.
|
|
Date |
User |
Action |
Args |
2009-02-03 14:19:59 | admin | link | issue501690 messages |
2009-02-03 14:19:59 | admin | create | |
|