Edgewall Software
Modify

Opened 16 years ago

Last modified 14 years ago

#7529 new enhancement

More extension points for reports

Reported by: anonymous Owned by:
Priority: low Milestone: unscheduled
Component: report system Version: 0.11
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

We've written a small trac plugin, which extends from the main report module. It's main action is to tweak the sql used to generate the report, and then add some more fields into the report output. (The result is that the query can then run transparently across multiple postgres schemas, to give us an overview of several tracs)

With 0.10, we had to copy and paste a bit of the report module to get it all working, but not to much. With 0.11, we've had to copy loads more, as there are fewer extension points that are suitable.

The extension points that'd be really handy are:

  • return of something like get_info(), so we can easily alter the sql that'll be executed
  • something around the "Structure the rows and cells" step, so that we can add extra stuff onto rows. Perhaps split out the column based stuff, so you call a method per column?
  • make the template names not hard coded, so we can override them without needing to touch anything else (we want the normal report templates unchanged for other stuff!)

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

Milestone: 0.12next-major-0.1X

Patch welcome, otherwise not for 0.12.

comment:2 by Remy Blank, 14 years ago

Milestone: next-major-0.1Xunscheduled

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.