Changes between Version 11 and Version 12 of MultiProjectCommitTicketUpdaterPlugin
- Timestamp:
- Mar 9, 2022, 7:09:21 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MultiProjectCommitTicketUpdaterPlugin
v11 v12 8 8 9 9 This plugin is based on `commit_ticket_updater` by Edgewall Software. 10 11 Once you have set up the plugin, you can add comments to tickets using something like this: 12 13 {{{#!sh 14 svn commit -m "Re my-other-project:#12, #13, changed blah and foo to do this and that. Closes my-project:#10 and #12." 15 }}} 10 16 11 17 See also: … … 49 55 }}} 50 56 51 Set the [trac:CommitTicketUpdater#Configure CommitTicketUpdater options]. Additionally, the `[ticket]` `commit_ticket_update_short_name` should be set to the token that you wish to use when referencing tickets. The value defaults to the environment name (i.e. the name of the environment directory). 57 == Configuration 52 58 59 Set the [trac:CommitTicketUpdater#Configure CommitTicketUpdater options]. Additionally, the `commit_ticket_update_short_name` should be set to the token that you wish to use when referencing tickets. The value defaults to the environment name, i.e. the name of the environment directory: 60 {{{#!ini 61 [ticket] 62 commit_ticket_update_short_name = project-token 63 }}} 53 64 54 === Caveats 55 65 There are some additional configuration considerations post installation of this plugin: 56 66 * You must set up a repository hook for this plugin to work, in the same way as for the inbuilt commit ticket updater tool. See trac:TracRepositoryAdmin#ExplicitSync for more details. 57 58 67 * The plugin must be enabled in every project which will be using it. The simplest way to do this is with a shared global configuration file, see trac:TracIni#GlobalConfiguration. 59 60 == Example61 62 Once you have set up the plugin, you can add comments to tickets using something like this:63 64 {{{#!sh65 svn commit -m "Re my-other-project:#12, #13, changed blah and foo to do this and that. Closes my-project:#10 and #12."66 }}}67 68 68 69 == Recent Changes