[[PageOutline(2-5,Contents,pullout)]] = TracTicketChangelogPlugin = == Description == This plugin add a code changelog list in ticket. This is done by scanning commit logs ticket number which match a configurable regular expression. Subversion, mercurial, git are tested. == Bugs/Feature Requests == Existing bugs and feature requests for TracTicketChangelogPlugin are [report:9?COMPONENT=TracTicketChangelogPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracTicketChangelogPlugin&owner=richard new ticket]. == Download == Download the zipped source from [download:tracticketchangelogplugin here]. == Source == You can check out TracTicketChangelogPlugin from [http://trac-hacks.org/svn/tracticketchangelogplugin here] using Subversion, or [source:tracticketchangelogplugin browse the source] with Trac. == Install == You can install this software as normal Trac plugin. 1. Uninstall TracTicketChangelogPlugin if you have installed before. 2. Change to the directory containning setup.py. * (Optional): If you are using Trac 0.12 with i18n, you should compile language files here: {{{ python setup.py compile_catalog -f }}} 3. If you want to install this plugin globally, that will install this plugin to the python path: * python setup.py install 4. If you want to install this plugin to trac instance only: * python setup.py bdist_egg * copy the generated egg file to the trac instance's plugin directory {{{ cp dist/*.egg /srv/trac/env/plugins }}} 5. Config trac.ini: {{{ [components] ticketlog.* = enabled [ticketlog] log_pattern = \s*#%s+\s+.* }}} == Prerequisite == * simplejson === Usage === * make sure you add TICKETLOG_VIEW permission to users == Example == For example, when you commit for ticket #1, the commit log like: {{{ #1 blah blah blah }}} And you got a revision [1234]. After that, when open ticket #1, you can see a change log list contain [1234]. [[Image(ticketlog.png)]] == Recent Changes == [[ChangeLog(tracticketchangelogplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:richard] [[BR]] '''Maintainer:''' [wiki:richard] [[BR]] '''Contributors:'''