wiki:Infrastructure/UpgradingTrac

Some notes on what whill be required to upgrade trac:

trac-admin config/trac-env/ upgrade
trac-admin config/trac-env/ wiki upgrade

# I'm not sure where, or how much of the generated stuff we need.
# Some of this probably needs to be put in t-web/trac-files
trac-admin config/trac-env/ deploy ????

# I haven't tried this, since the server I tested on doesn't have a copy of the appropriate svn repo.
trac-admin /path/to/projenv repository resync '*'
  1. /trac/reports - The new formatting has lots of junk.
  2. Our custom template in t-web/trac-files/templates/site.html is incompatible.
    • The ticket page won't display.
    • The WikiStart page has an annoying wiki:WikiStart in the upper left hand corner. (and every other page) This is probably just that the appropriate css classes changed?
    • jonathanj did some work a while back which now lives at here
  3. Reports my need updating to reflect microsecond timestamps (see the upgrade guide)
  4. Possibly remove prermission:
    for perm in BROWSER_VIEW CHANGESET_VIEW FILE_VIEW LOG_VIEW; do
        trac-admin config/trac-env permission remove $perm
    done
    
    (reference)
  5. Updates post-commit hook. See here and here.

http://trac.edgewall.org/wiki/TracUpgrade

Last modified 17 months ago Last modified on 05/27/2013 08:40:05 PM