| 8 | |
| 9 | == Configuration == |
| 10 | |
| 11 | === Install === |
| 12 | In the usual way: |
| 13 | |
| 14 | {{{ |
| 15 | sudo easy_install 0.12/ |
| 16 | }}} |
| 17 | |
| 18 | === Enable the plugin === |
| 19 | In the components section of trac.ini: |
| 20 | |
| 21 | {{{ |
| 22 | [components] |
| 23 | multicommitupdater.* = enabled |
| 24 | }}} |
| 25 | |
| 26 | |
| 27 | === Set options === |
| 28 | |
| 29 | {{{ |
| 30 | [multicommitupdater] |
| 31 | envelope = {} |
| 32 | commands.close = fix fixes fixed-forever |
| 33 | commands.refs = re see rel |
| 34 | }}} |
| 35 | |
| 36 | Where |
| 37 | * `envelope` (either blank or two characters) specifies a pair of characters which must enclose all commit messages, or none if left blank. '''Default: blank'''. |
| 38 | * `commands.close` is a space separated list of commands which can be used to close tickets. '''Default: close closed closes fix fixed fixes''' |
| 39 | * `commands.refs` is a space separated list of commands which can be used to reference tickets. '''Default: addresses re references refs see''' |
| 40 | |
| 41 | === Gotchas === |
| 42 | |
| 43 | * You must set up a repository hook in order for this plugin to work, in the same way as for the inbuilt commit ticket updater tool. See trac:TracRepositoryAdmin#ExplicitSync for more details. |
| 44 | |
| 45 | * 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). |