Edgewall Software

Opened 17 years ago

Last modified 7 years ago

#533 new enhancement

Support for custom reports

Reported by: bsoudan Owned by:
Priority: low Milestone: next-major-releases
Component: report system Version: none
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

Provide a method to support reports generated by Python code rather than just SQL. This would allow developers to write custom reports that pull data from other sources (e.g. the Subversion repository, site-specific databases, etc.) but still take advantage of the reporting framework. (e.g. sorting by clicking on column header, color coding, etc.)

Ideas as far as integrating this feature into Trac:

1) Re-rename 'View Tickets' back to 'Reports'? :)

2) Add a new module specifically for custom reports.

3) Only provide interface, coders should use framework to code new modules (e.g. each custom report would be its own module). This may work —

4) Aren't the Timeline and Searching features just custom reports?

5) Provide reports/ directory in trac environment for custom reports, scan this directory to provide listing.

Attachments (0)

Change History (6)

comment:1 by daniel, 17 years ago

Milestone: 2.0

Certainly a blue-sky idea, albeit a good one. :)

comment:2 by Christopher Lenz, 17 years ago

Description: modified (diff)
Severity: normalenhancement

I think you'd just write a plugin when we have TracPluggableModules.

comment:3 by anonymous, 13 years ago

isnt this sort of the same as ticket 150?

comment:4 by Christian Boos, 12 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:5 by Christian Boos, 11 years ago

Milestone: triagingnext-major-0.1X
Priority: normallow
Severity: normalmajor

The report module could indeed benefit from some restructuring:

  • real Report model
  • pluggable interface for report providers (we already have 2 types currently, SQL and TicketQuery language)

comment:6 by Ryan J Ollos, 7 years ago

Owner: daniel removed

Modify Ticket

Change Properties
Set your email in Preferences
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.