Version 4 (modified by richard, 6 years ago) (diff)




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 here.

If you have any issues, create a new ticket.


Download the zipped source from [download:tracticketchangelogplugin here].


You can check out TracTicketChangelogPlugin from here using Subversion, or browse the source with Trac.


You can install this software as normal Trac plugin.

  1. Uninstall TracTicketChangelogPlugin if you have installed before.
  1. Change to the directory containning
    • (Optional): If you are using Trac 0.12 with i18n, you should compile language files here:
      python compile_catalog -f
  1. If you want to install this plugin globally, that will install this plugin to the python path:
    • python install
  1. If you want to install this plugin to trac instance only:
    • python bdist_egg
    • copy the generated egg file to the trac instance's plugin directory
      cp dist/*.egg /srv/trac/env/plugins
  1. Config trac.ini:
    ticketlog.* = enabled
    # optional
    log_pattern = \s*#%s+\s+.*


  • simplejson


  • make sure you add TICKETLOG_VIEW permission to users
  • the default commit log pattern is
    #ticketid any messages
  • you can config log_pattern to define your pattern


For example, when you commit for ticket #10, the commit log like:

#10 blah blah blah

And you got a revision [1234]. After that, when open ticket #10, you can see a change log list as below.

Recent Changes

15466 by rjollos on 2016-04-14 01:43:45
Remove tag_svn_revision attribute

The attribute isn't supported in setuptools >= 10.

14529 by rjollos on 2015-04-13 13:56:48
1.0dev: Format message to paragraph. Fixes #12143.

Previously the message was formatted to a oneliner.

14528 by rjollos on 2015-04-13 13:04:38
0.2dev: Use async request. Fixes #12265.

Untested patch by Cinc.



Author: richard
Maintainer: richard

Attachments (1)

Download all attachments as: .zip