Am 09.07.2010 15:21, schrieb Carsten Klein:
Ah now, I begin to understand your rambling more clearly.
Afaik, this is already the case with trac, and if it is not it can be
implemented very easily. Bitten also features or rather will feature such
an atomic upgrade mechanism.
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)
fs
--
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.