Modify

Opened 8 years ago

Last modified 7 years ago

#5478 new enhancement

[Patch] Allow multiple paths to be specified

Reported by: Mark Potter Owned by: Ryan J Ollos
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 Mark Potter 8 years ago.
Modified version of changelog.py with this feature

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Michael Renzmann

Changed 8 years ago by Mark Potter

Attachment: changelog.py added

Modified version of changelog.py with this feature

comment:2 Changed 8 years ago by Mark 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 7 years ago by Ryan J Ollos

Summary: Add multiple paths[Patch] Allow multiple paths to be specified

comment:4 Changed 7 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Changing ticket owner since I have adopted the plugin.

comment:5 Changed 7 years ago by Ryan J Ollos

Component: ChangeLogPluginChangeLogMacro

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.