The Mylar API already supports multiple issue tracking systems, therefore the existing abstraction can be used to implement a Trac connector. Trac issues can be accessed remotely through an query script that outputs tab-delimited text as well as through an XML-RPC interface. The XML-RPC interface has not yet been integrated into the main distribution of Trac but is available as a separate plug-in.
The project has been accomplished in two iterations. The goal of the first iteration was to make the connector work with existing Trac deployments through Trac's web interface. This retrieved ticket information is used for read-only display in Mylar. Tickets can be edited through a web-browser.
The second iteration focused on enhancing the support for Trac's XML-RPC interface. The XML-RPC interface allows full featured access to all ticket information and allows manipulation of tickets. The editing of tickets is done through Eclipse forms based editor.
The Trac connector is now maintained in the Mylar CVS and is shipped with the regular releases.
- Create and edit Trac repositories (#147817, #148378)
- Templates for common repository locations (#150677)
- Data model for repository access (#147816)
- Create new tasks through web-browser (#150699)
- Add exiting tasks to task list (#149385)
- Query repository in task list view through Bugzilla like query dialog (#149386)
This milestone is available as part of the Mylar 0.6.1 release.
M2 (completed): Full integration based on the Trac XML-RPC plug-in
- Digest authentication (#151077)
- Handle trailing slashes in repository urls (#150890)
- Update repository attributes from task repository context menu (#152325)
- Unescape HTML entities when updating repository attributes (#153496, #154098)
- Query repositories from Eclipse search (#153539, #154772)
- Remember repository attributes (#150670)
- Update repository attributes when query dialog is opened (#154347)
- Attachment support and context uploading and retrieving (#151900, #154441, #154372)
- Change query urls accordingly when repository url is changed (#154798)
- Authoring of reports within native Eclipse editor (#151899, #146334, #154377, #154962)
- Fixed notifications for Trac task (#154379
- Check revision of XML-RPC Plugin (#154931)
- Properly check for Trac repository during validation (#154464)
This milestone is available as part of the Mylar 0.6.2 release.
Please refer to the Eclipse Bugzilla for bug reports and feature requests.
Please refer to the Mylar download page.
Please refer to the Mylar_Contributor_Reference for information about how to obtain and build Mylar and its connectors.
The source is available in the Mylar CVS:
Project Team Set:
- Core and Model: Provides Java abstraction for repository access
- Abstraction for query script and XML-RPC access
- (Eclipse independent) model classes that represent Trac data
- UI: Tasklist classes
- Tests: Tests for Core and UI
For the XML-RPC calls Apache XML-RPC is used.