[[PageOutline(2-5,Contents,pullout)]] = List changelog entries from repository == Description This plugin displays the changelog for a repository path. As an example, it displays the changes applied to software products as shown in the '''Recent changes''' section of this page below. The !ChangeLog macro writes a log of the latest changes of a repository at a given path. Following variants are possible to use: {{{ 1. [[ChangeLog(/path)]] 2. [[ChangeLog(/path@rev)]] 3. [[ChangeLog(/path@rev, limit)]] 4. [[ChangeLog(/path@from-to)]] 5. [[ChangeLog(/path, limit, rev)]] }}} 1. Default repository is used if the reponame is left out. To show the last five changes of the default repository: {{{ [[ChangeLog(/)]] }}} To show the last five changes of the trunk folder in a named `otherrepo`: {{{ [[ChangeLog(/otherrepo/trunk)]] }}} 2. The ending revision can be set. To show the last five changes up to revision 99: {{{ [[ChangeLog(/otherrepo/trunk@99)]] }}} 3. The maximum amount of changes to display can be set by an optional parameter. To show the last 10 changes, up to revision 99: {{{ [[ChangeLog(/otherrepo/trunk@99, 10)]] }}} 4. A range of revisions can be logged: {{{ [[ChangeLog(/otherrepo/trunk@90-99)]] }}} To list all changes: {{{ [[ChangeLog(/otherrepo/trunk@1-HEAD)]] }}} Note that HEAD can be left out: {{{ [[ChangeLog(/otherrepo/trunk@1-)]] }}} 5. For backwards compatibility, the revision can be stated as a third parameter: {{{ [[ChangeLog(/otherrepo/trunk, 10, 99)]] }}} Both limit and rev may be keyword arguments: {{{ [[ChangeLog(/otherrepo/trunk, limit=10, rev=99)]] }}} **Examples**: 1. Display change log for this plugin, back 3 revisions: {{{ [[ChangeLog(/changelogmacro, 3)]] }}} Results in this: [[ChangeLog(/changelogmacro, 3)]] 2. Display change log starting at specific revision: {{{ [[ChangeLog(/changelogmacro, 1, 7471)]] }}} Results in this: [[ChangeLog(/changelogmacro, 1, 7471)]] == Bugs/Feature Requests Existing bugs and feature requests for ChangeLogMacro are [report:9?COMPONENT=ChangeLogMacro here]. If you have any issues, create a [/newticket?component=ChangeLogMacro new ticket]. [[TicketQuery(component=ChangeLogMacro&group=type,format=progress)]] == Download Download the zipped source from [export:changelogmacro here]. The macro is also available on [pypi:TracChangeLog PyPI]. == Source You can check out ChangeLogMacro from [/svn/changelogmacro here] using Subversion, or [source:changelogmacro browse the source] with Trac. The 0.11 branch should be used with Trac 0.11 and 0.12. The trunk currently supports Trac 1.0+. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. == Recent Changes [[ChangeLog(changelogmacro, 3)]] == Author/Contributors '''Author:''' [wiki:athomas] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:''' [wiki:mwehr], [wiki:Andor], [wiki:watho], [wiki:theist], [wiki:mrelbe] [[BR]]