Hi Felix,
>> For my own plugins, which have not been released yet, I have implemented >> a >> very similar mechanism that will update the data model and the schema >> deployed in the database and the data therein incrementally. >> And, hopefully, even on failure, it will be able to continue upgrading >> the >> system from where it last failed. >> Basically, this is just an attribute in the system table, which gets >> incrementally updated, for each upgrade available. > > Actually for plugin upgrades, there is also a generic patch from myself > rotting in trac: http://trac.edgewall.org/ticket/8172 > (just if someone is interested) Thanks for posting this. I am missing the atomic (transactional) approach in your solution, but it seems a good basis to improve upon. I will post my solution for comparison to that ticket as well. -- Carsten -- 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.
