Changes between Version 2 and Version 3 of TracUpgrade
- Timestamp:
- Oct 10, 2014 10:48:59 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracUpgrade
v2 v3 1 1 = Upgrade Instructions = 2 2 [[TracGuideToc]] 3 [[PageOutline(2- 3,,inline,unnumbered)]]3 [[PageOutline(2-4,,inline,unnumbered)]] 4 4 5 5 == Instructions == … … 74 74 75 75 === 6. Steps specific to a given Trac version === 76 ==== Upgrading from Trac 0.12 to Trac 1.0 ==== #to1.0 77 78 The 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] 81 tracopt.versioncontrol.svn.* = enabled 82 }}} 83 The upgrade procedure should take care of this and change the TracIni appropriately, unless you already had the svn components explicitly disabled. 84 85 Another 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 76 88 ==== Upgrading from Trac 0.11 to Trac 0.12 ==== 77 89 … … 103 115 While 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. 104 116 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.117 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 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. 106 118 107 119 ===== Authz permission checking =====