Changes between Version 18 and Version 19 of TracTicketChangelogPlugin
- Timestamp:
- Sep 26, 2014, 7:50:40 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketChangelogPlugin
v18 v19 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Show ticket relative changelogs =3 = Show ticket relative changelogs 4 4 5 == Description ==5 == Description 6 6 7 7 This plugin add a changelog list in ticket. … … 18 18 Subversion, mercurial, git are tested. 19 19 20 === mercurial ===20 === Mercurial 21 21 For mercurial backend, since [http://trac.edgewall.org/ticket/8417 TracMecurial did not support repository cache] yet, you should install [http://github.com/maraujop/TracMercurialChangesetPlugin TracMercurialChangesetPlugin] to generate repository cache. 22 22 23 === git ===23 === Git 24 24 For git backend, according to #7746, you should add following config to git section: 25 25 {{{#!ini … … 30 30 You might need to run `trac-admin repository resync` after the change. 31 31 32 == Example ==32 == Example 33 33 34 34 For example, when you commit for ticket #10, the commit log like: … … 40 40 [[Image(ticketlog.png)]] 41 41 42 == Bugs/Feature Requests ==42 == Bugs/Feature Requests 43 43 44 44 Existing bugs and feature requests for TracTicketChangelogPlugin are … … 48 48 [http://trac-hacks.org/newticket?component=TracTicketChangelogPlugin&owner=richard new ticket]. 49 49 50 == Download ==50 == Download 51 51 52 52 Download the zipped source from [download:tracticketchangelogplugin here]. 53 53 54 == Source ==54 == Source 55 55 56 56 You can check out TracTicketChangelogPlugin from [http://trac-hacks.org/svn/tracticketchangelogplugin here] using Subversion, or [source:tracticketchangelogplugin browse the source] with Trac. 57 57 58 == Install ==59 You can install this software as normal Trac plugin.58 == Install 59 You can install this plugin following the standard procedures described in [wiki:TracPlugins#InstallingaTracplugin]. 60 60 61 61 1. Uninstall TracTicketChangelogPlugin if you have installed before. 62 63 2. Change to the directory containning setup.py. 62 1. Change to the directory containning setup.py. 64 63 * (Optional): If you are using Trac 0.12 with i18n, you should compile language files here: 65 64 {{{#!sh 66 65 python setup.py compile_catalog -f 67 66 }}} 68 69 3. If you want to install this plugin globally, that will install this plugin to the python path: 67 1. If you want to install this plugin globally, that will install this plugin to the python path: 70 68 * python setup.py install 71 72 4. If you want to install this plugin to trac instance only: 69 1. If you want to install this plugin to trac instance only: 73 70 * python setup.py bdist_egg 74 71 * copy the generated egg file to the trac instance's plugin directory … … 76 73 cp dist/*.egg /srv/trac/env/plugins 77 74 }}} 78 79 5. Config trac.ini: 80 {{{#!ini 75 1. Config trac.ini: 76 {{{#!ini 81 77 [components] 82 78 ticketlog.* = enabled … … 89 85 }}} 90 86 91 === Usage ===92 * make sure you add TICKETLOG_VIEWpermission to users87 === Usage 88 * make sure you add `TICKETLOG_VIEW` permission to users 93 89 * you can config log_pattern to define your pattern.[[br]] 94 90 `%s` in the pattern will be replaced with the referenced ticket number (e.g. 12345), so `\s*#%s+\s+.*` will be evaluated as `\s*#12345+\s+.*`. 95 91 96 == Recent Changes ==92 == Recent Changes 97 93 98 94 [[ChangeLog(tracticketchangelogplugin, 3)]] 99 95 100 == Author/Contributors ==96 == Author/Contributors 101 97 102 98 '''Author:''' [wiki:richard] [[BR]]