Modify

Opened 5 years ago

Last modified 5 years ago

#5478 new enhancement

[Patch] Allow multiple paths to be specified

Reported by: potter Owned by: rjollos
Priority: normal Component: ChangeLogMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Add the ability to take multiple repository paths. For example instead of the syntax being [[ChangeLog(path[,limit[,rev]])]] be [[ChangeLog(path[|path...][,limit[,rev]])]].

Example Situation: Component foobar is in the repository at /components/foobar, however it is tightly bound to the libraries foo and bar at /libs/foo and /libs/bar, therefore instead of only tracking the changes to /components/foobar I also want to see the changes to the libraries. Example:

[[ChangeLog(/components/foobar|/libs/foo|/libs/bar,20)]]

Attachments (1)

changelog.py (2.0 KB) - added by potter 5 years ago.
Modified version of changelog.py with this feature

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by otaku42

  • Reporter changed from mpotter@… to potter

Changed 5 years ago by potter

Modified version of changelog.py with this feature

comment:2 Changed 5 years ago by potter

I just attached a modified version of changelog.py with this feature. Note, this is the second piece of Python code I have ever worked on so I may have made some novice error.

comment:3 Changed 5 years ago by rjollos

  • Summary changed from Add multiple paths to [Patch] Allow multiple paths to be specified

comment:4 Changed 5 years ago by rjollos

  • Owner changed from athomas to rjollos

Changing ticket owner since I have adopted the plugin.

comment:5 Changed 5 years ago by rjollos

  • Component changed from ChangeLogPlugin to ChangeLogMacro

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.