On Friday, April 11, 2014 3:59:23 AM UTC-7, Huang Bear wrote: > > Hi, > > I want to upgrade my Trac from 0.11 to 1.0, but I don't know how to > upgrade plugins. > I followed Trac Guide to upgrade, in trac-admin env upgrade step, I got > some issues about 'repositories' table not exist. > When I opened logging feature, I found this was caused by codetags (0.2) > plugin. > > Now, I know I should upgrade my plugins first before try trac-admin > upgrade command, but the documentation about plugins upgrade is rare. >
This is really up to plugin authors, and the reality is that there are a large number of plugins on trac-hacks that are not maintained, or are hardly maintained. The CodeTagsPlugin is not maintained, and I've discussed with the author about importing it to trac-hacks so that we can fix the issues. It is currently hosted on the plugin's author's site. I haven't found time to import it to trac-hacks yet, let alone address any open issues. > I don't know how to do this properly and safely. > Any documentation about this? > You really need to consider each plugin on a case-by-case basis. A good start would be to provide a list of your plugins. Unless you are wiling to fix some of the plugins yourself, you may have to accept that you can't use all of the plugins that you used with 0.11, at least for the time being. > And most important thing is, I found many plugins only support 0.12 not > 1.0. > I was wondering 0.12 plugins are compatible with 1.0 or not? > Often 0.12 plugins are compatible with 1.0, or have easily fixable issues. The tags on the trac-hacks wiki pages may specify only 0.12, but that is often only because no one has tested the plugin and then added the tag. > If not, I used about 20 plugins on my 0.11 installation, it seems like > upgrade to 1.0 not a good choice for now. > > Any opinion? > You will gain many new features migrating to 1.0, but you may lose some features if you have to drop plugins in the process. You should also consider that some plugins may never work with 0.12 or 1.0 unless someone takes the initiative to fix them. I suggest that the best course of action is to setup a staging instance in parallel with your production instance, upgrade it to 1.0 and upgrade all of the plugins. Disable the plugins that break your site, and open tickets for issues you find with the plugins. Wait a few weeks to see if anything gets fixed. If not, then decide whether you are willing to live with losing some plugin features and cut-over to 1.0. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
