On Saturday, September 8, 2012 4:45:57 AM UTC-7, cboos wrote: > > Now it depends what you mean by "new". > > The 0.12.x style is only supported starting with 0.12 and 1.0.x style is > only supported by 1.0, so if you have a plugin which attempts to support > both, you should therefore use the 0.12 style, with the decorators. >
I've found this confusing as well, but this thread has helped a lot with my understanding. The other thing I need to sort out is whether db.rollback() should ever be called within upgrade_environment. I've been hacking these statements out of plugins (1) in order to get the plugin working with Trac 1.0, and it seems to be working fine, but I'd like to understand this better. I'd also propose that the TracDev documentation eventually be moved into the distributed package, and indexed from TracGuide. My thinking is, Trac is built to be hacked on, so put the necessary documentation right in from of users and administrators. My second motivation is that sometimes I'm developing on Trac without an internet connection, and it would be convenient to still be able to access the documentation from the development instance. (1) http://trac-hacks.org/changeset/11687 -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To view this discussion on the web visit https://groups.google.com/d/msg/trac-dev/-/tq7XGiXCtGEJ. 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.
