jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Changes Plugin
  • MCHANGES-90

Add support for Trac-report like Jira-report

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-2, 2.0-beta-3, 2.0
  • Fix Version/s: 2.1
  • Component/s: other issue-trackers
  • Labels:
    None

Description

This is the new feature for making a HTML report of Trac tickets like jira-report.
Trac-report needs Trac-XMLRPC-Plugin in Trac.http://trac-hacks.org/wiki/XmlRpcPlugin
The Trac must use basic authentication.
This patch adds following goal:
changes:trac-report

To use this function, for example:

[pom.xml]
...
<issueManagement>
<!-- system must be "trac" -->
<system>trac</system>
<!-- Trac URL with Trac-XMLRPC-Plugin -->
<url>http://localhost/trac/SampleProject/</url>
</issueManagement>
...
<reporting>
<plugins>
<!-- changes-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.0-beta-3</version>
<configuration>
<!-- tracUser permited trac XMLRPC-plugin -->
<tracUser>admin</tracUser>
<tracPassword>admin</tracPassword>
<!-- query condition (If this property is "null", all tickets are reported) -->
<query>status!=closed&owner=admin&order=type</query>
<!-- encoding -->
<outputEncoding>Windows-31J</outputEncoding>
</configuration>
</plugin>
</plugins>
<reporting>
...

To generate report from above pom.xml:

$ mvn site

Report is generated at target/site/trac-report.html.

About Trac, refer to the official site.:http://trac.edgewall.org/

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    MCHANGES-90-TracReport_changes2.patch
    05/Sep/08 11:01 AM
    33 kB
    David Roussel
  2. Text File
    TracReport_changes.patch
    28/Dec/07 3:57 AM
    27 kB
    Kinugasa Noriko
  1. trac-report-sample.JPG
    75 kB
    28/Dec/07 3:57 AM

Issue Links

is duplicated by

New Feature - A new feature of the product, which has yet to be developed. MCHANGES-59 Add ability to manage Trac instead of JIRA

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.
relates to

New Feature - A new feature of the product, which has yet to be developed. MCHANGES-59 Add ability to manage Trac instead of JIRA

  • Minor - Minor loss of function, or other problem where easy workaround is present.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Dennis Lundberg added a comment - 28/Dec/07 4:28 AM

Seems to be the same as MCHANGES-59.

Show
Dennis Lundberg added a comment - 28/Dec/07 4:28 AM Seems to be the same as MCHANGES-59.
Hide
Permalink
Dennis Lundberg added a comment - 22/Jan/08 2:44 PM

I had a quick look at the supplied patch. It changes the compiler-plugin to use Java 1.5. Why is this necessary? Is it because of the files you have provided or is it because of one of the dependencies?

We can't use Java 1.5 in the plugins for Maven 2, because the minimum java requirement for Maven 2 is Java 1.4.

Show
Dennis Lundberg added a comment - 22/Jan/08 2:44 PM I had a quick look at the supplied patch. It changes the compiler-plugin to use Java 1.5. Why is this necessary? Is it because of the files you have provided or is it because of one of the dependencies? We can't use Java 1.5 in the plugins for Maven 2, because the minimum java requirement for Maven 2 is Java 1.4.
Hide
Permalink
David Roussel added a comment - 05/Sep/08 11:01 AM

Attached: MCHANGES-90-TracReport_changes2.patch

I've taken the base patch and:

  • downgraded to use Java 1.4
  • updated to latest r689510 in svn
  • added APT documentation
  • added missing .properties files (Kinugasa Noriko: if you have japanese language version, perhaps it can be added too?)
  • made it work with Trac 0.11
  • tested authenticating with mod_sspi and apache, and documented results

Please review my changes.

Remaining work:

  • I think there are some funnies around overriding the query
  • needs more testing

Would appreciate others testing it, and Kinugasa Noriko to have a look too.

Thanks

David

Show
David Roussel added a comment - 05/Sep/08 11:01 AM Attached: MCHANGES-90-TracReport_changes2.patch I've taken the base patch and:
  • downgraded to use Java 1.4
  • updated to latest r689510 in svn
  • added APT documentation
  • added missing .properties files (Kinugasa Noriko: if you have japanese language version, perhaps it can be added too?)
  • made it work with Trac 0.11
  • tested authenticating with mod_sspi and apache, and documented results
Please review my changes. Remaining work:
  • I think there are some funnies around overriding the query
  • needs more testing
Would appreciate others testing it, and Kinugasa Noriko to have a look too. Thanks David
Hide
Permalink
Olivier Lamy added a comment - 03/Nov/08 4:31 PM

committed in rev 710194.
SNAPSHOT deployed. If any trouble please reopen the issue.
Thanks !

Show
Olivier Lamy added a comment - 03/Nov/08 4:31 PM committed in rev 710194. SNAPSHOT deployed. If any trouble please reopen the issue. Thanks !
Hide
Permalink
Oliver Gierke added a comment - 17/Nov/08 4:47 AM

I have tried 2.1-SNAPSHOT and it works great. Nevertheless the report could become even more suitable if you would regard milestone grouping to clarify which tickets belong to which version released. With this feature it would be possible to generate a similar changelog that is provided by Trac itself, e.g.: http://trac.synyx.org/hades/report/6

Regards,
Ollie

Show
Oliver Gierke added a comment - 17/Nov/08 4:47 AM I have tried 2.1-SNAPSHOT and it works great. Nevertheless the report could become even more suitable if you would regard milestone grouping to clarify which tickets belong to which version released. With this feature it would be possible to generate a similar changelog that is provided by Trac itself, e.g.: http://trac.synyx.org/hades/report/6 Regards, Ollie

People

  • Assignee:
    Olivier Lamy
    Reporter:
    Kinugasa Noriko
Vote (4)
Watch (5)

Dates

  • Created:
    28/Dec/07 3:57 AM
    Updated:
    01/Oct/09 6:39 AM
    Resolved:
    03/Nov/08 4:31 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.