Changes between Version 29 and Version 30 of TracTicketChangelogPlugin
- Timestamp:
- Apr 4, 2017, 9:48:25 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketChangelogPlugin
v29 v30 5 5 == Description 6 6 7 This plugin adds a changelog list in a Trac ticket. You do not need to switch from your coding environment to your browser and your comment ticket anymore to see this changeset.7 This plugin adds a changelog list in a Trac ticket. 8 8 9 Just compose your log message following the pattern. The default pattern in versions 0.12 and 1.0 of the plugin is to add #ticketid before the log messages.9 Compose your log message with a ticket reference pattern. The default pattern in versions 0.12 and 1.0 of the plugin is to add #ticketid before the log messages. 10 10 {{{ 11 11 #ticketid any messages … … 13 13 14 14 In version 1.2 of the plugin the [trac:CommitTicketUpdater] options are used 15 to configure the pattern. With the default option, patterns such like `refs #1` and `fixes #2` will be matched. 15 to configure the pattern. With the default option values, patterns such like `refs #1` and `fixes #2` will be matched. 16 17 [[Image(ticketlog.png)]] 16 18 17 19 Tested with Subversion, Mercurial and Git. … … 19 21 === Mercurial 20 22 21 For mercurial backend, since [t:#8417 TracMecurial does not supportrepository cache] yet, you should install [http://github.com/maraujop/TracMercurialChangesetPlugin TracMercurialChangesetPlugin] to generate the repository cache.23 For mercurial backend, since TracMecurial [t:#8417 does not support the repository cache] yet, you should install [http://github.com/maraujop/TracMercurialChangesetPlugin TracMercurialChangesetPlugin] to generate the repository cache. 22 24 23 25 === Git 24 26 25 For git backend, according to #7746, you should add following config to git section in the`trac.ini` file:27 For the Git backend, you should add following config to the `[git]` section of your `trac.ini` file: 26 28 {{{#!ini 27 29 [git] … … 30 32 }}} 31 33 32 You might need to run `trac-admin repository resync` after the change. 33 34 == Example 35 36 For example, when you commit for ticket #10, the commit log like: 37 {{{ 38 #10 fixed blog 39 }}} 40 And you got a revision [1234]. After that, when open ticket #10, you can see a change log list: 41 42 [[Image(ticketlog.png)]] 34 You need to run `trac-admin repository resync` after the change. 43 35 44 36 == Bugs/Feature Requests … … 70 62 python setup.py compile_catalog -f 71 63 }}} 72 1. If you want to install this plugin globally, thatwill install this plugin to the Python path:64 1. If you want to install this plugin globally, will install this plugin to the Python path: 73 65 * python setup.py install 74 66 1. If you want to install this plugin to the Trac instance only: