Changes between Version 4 and Version 5 of TracUpgrade


Ignore:
Timestamp:
2015-02-28 01:29:08 (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracUpgrade

    v4 v5  
    11= Upgrade Instructions =
    22[[TracGuideToc]]
    3 [[PageOutline(2-3,,inline,unnumbered)]]
     3[[PageOutline(2-4,,inline,unnumbered)]]
    44
    55== Instructions ==
     
    7474
    7575=== 6. Steps specific to a given Trac version  ===
     76==== Upgrading from Trac 0.12 to Trac 1.0 ==== #to1.0
     77
     78The Trac components for Subversion support are no longer enabled by default. To enable the svn support, you need to make sure the `tracopt.versioncontrol.svn` components are enabled, for example by setting the following in the TracIni:
     79{{{
     80[components]
     81tracopt.versioncontrol.svn.* = enabled
     82}}}
     83The upgrade procedure should take care of this and change the TracIni appropriately, unless you already had the svn components explicitly disabled.
     84
     85Another step in the automatic upgrade will change the way the attachments are stored. If you're a bit paranoid, you might want to take a backup of the `attachments` directory before upgrading (but if you are, you already did a full copy of the environment, no?). In case the `attachments` directory contains some files which are //not// attachments, the last step of the migration to the new layout will fail: the deletion of the now unused `attachments` directory can't be done if there are still files and folders in it. You may ignore this error, but better go have a look to these files, move them elsewhere and remove the `attachments` directory manually to cleanup the environment. The attachments themselves are now all located in your environment below the `files/attachments` directory.
     86
     87
    7688==== Upgrading from Trac 0.11 to Trac 0.12 ====
    7789
     
    103115While you can keep the same synchronization as in 0.11 adding the post-commit hook as outlined in TracRepositoryAdmin#Synchronization and TracRepositoryAdmin#ExplicitSync will allow more efficient synchronization and is more or less required for multiple repositories.
    104116
    105 Note that if you were using the `trac-post-commit-hook`, ''you're strongly advised to upgrade it'' to the new hook documented in the above references, as the old hook will not work with anything else than the default repository and even for this case, it won't trigger the appropriate notifications.
     117Note that if you were using the `trac-post-commit-hook`, ''you're strongly advised to upgrade it'' to the new hook documented in the above references and [TracWorkflow#Howtocombinethetracopt.ticket.commit_updaterwiththetestingworkflow here], as the old hook will not work with anything else than the default repository and even for this case, it won't trigger the appropriate notifications.
    106118
    107119===== Authz permission checking =====