Edgewall Software

Opened 15 years ago

Last modified 6 years ago

#8172 closed enhancement

Plugin db upgrade infrastructure — at Initial Version

Reported by: Felix Schwarz <felix.schwarz@…> Owned by:
Priority: low Milestone: 1.1.5
Component: general Version: none
Severity: minor Keywords:
Cc: osimons, Peter Suter, Ryan J Ollos, olemis@…, olemis+trac@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Trac currently has its own infrastructure to manage db upgrades. However for plugin authors there is no mechanism available for that so every plugin author needs to re-invent this again.

Attached is a module which basically uses trac's mechanism but is a bit more generic so this could be used by plugins as well.

Change History (1)

by Felix Schwarz <felix.schwarz@…>, 15 years ago

Attachment: plugin_env_setup.py added

If there is a chance to get this into trac main, we can polish this class (including docs) and make trac use it too

Note: See TracTickets for help on using tickets.