On Dec 14, 2006, at 8:48 PM, Matt Good wrote: > > mb wrote: >> the predefined reports have been changed in eg. Rev 4357, 4358. >> >> The new db_defaults.py is published in our >> ../lib/python/site-packages/trac. But I see the old reports (without >> the join). Using trac-admin <PATH_TO_TRACENV> update, returns >> everything is up to date. This seems to be because the value of >> db_version has not changed. > > Trac does not attempt to upgrade the contents of the reports since we > don't want to modify them if they've been modified by the users. I > was > reluctant about trying to support this, but I just occurred to me that > we could store a list of hashes of previous versions of the reports. > If the report's content matched one of the old hashes it'd be upgraded > to the current version. > > Thoughts?
Possibly it should work like the "wiki upgrade" command, so you can choose to run it or not. --Noah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
