| Summary: | [connector] Trac | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Josh Moore <josh.moore> |
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P4 | CC: | dev, dman, eclipse.dserodio, ekuleshov, francois, gunnar, kazarmy, mik.kersten, pombredanne, soloturn, steffen.pingel, tvanlessen, vermersch+eclipse |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Josh Moore
All connector requests have priority set to P4 since these reports do not participate in weekly planning. Currently there are two ways to access Trac tickets remotely:
* Tab-delimited output of custom query script
- available in all Trac installations, including public repositories
- access trough http/https, optional authentication via http basic
authentication and cookies
- requires TICKET_VIEW permission which is granted to anonymous by default
- query support with flexible search criteria
(http://projects.edgewall.com/trac/query)
- information provided per ticket: id, summary, status, owner, type,
priority, component
- no support to query a single ticket by id
- suitable for Mylar "Web linking only" and "Query support" integration
* XML-RPC Plug-in
- distributed as an external plug-in
- access trough XML-RPC (i.e. using Apache XML-RPC), authentication via
http basic authentication
- currently requires SVN snapshot of Trac, according to the author, Alec
Thomas, the next Trac major release 0.10 which is due in a few weeks
will be compatible
- requires XML_RPC permission
- provides a CRUD interface for tickets, milestones, severeties etc.
- provides full ticket information including custom fields
(http://projects.edgewall.com/trac/wiki/TracTicketsCustomFields)
- query support is equivalent to custom query script (although only ticket
ids are returned)
- suitable for Mylar "Full integration"
All: good news, Steffen is taking this on as a Google Summer of Code Student: http://wiki.eclipse.org/index.php/Mylar_Trac_Connector Steffen: since 0.10 is coming soon do you plan on focusing on the XML-RPC appraoch? This is excellent. Kudos all around. A note to the implementation: on the project page it's mentioned that the integrated Eclipse browser can be used to edit tickets. In my installation (trac 0.9.5 over https, Eclipse 3.1, Mylar 0.5.1) this does not work because of some https issues in the browser. In fact, the trac ticket page is not even displayed until the Mylar bug url is changd to the http protocol. I can, however, edit as anonymous. (In reply to comment #3) > Steffen: since 0.10 is coming soon do you plan on focusing on the XML-RPC > appraoch? Yes. I still think both approaches should be supported though. Once the data model has been defined for XML-RPC it should be easy to adapt the existing parser for the tab-delimited output. Code for the query wizard can be shared, so the additional cost of supporting the tab-delimited output is marginal. (In reply to comment #4) > A note to the implementation: on the project page it's mentioned that the > integrated Eclipse browser can be used to edit tickets. In my installation > (trac 0.9.5 over https, Eclipse 3.1, Mylar 0.5.1) this does not work because > of some https issues in the browser. I have experienced the same problems on my Linux system. This is related to a problem with the SWT browser widget and https: https://bugs.eclipse.org/bugs/show_bug.cgi?id=80033 As a work around http can be used if available. The https on Linux problem has been fixed in the 3.3 stream, see bug 80033. Dr. Project is another tracking system based on Trac. You might be able to use the trac connector for it and get support for two systems with one connector. Here's the url: http://www.third-bit.com/drproject As pointed out in http://dev.eclipse.org/mhonarc/lists/mylar-dev/msg00495.html a preview release of the Trac connector is available from the Mylar dev builds update site (see http://www.eclipse.org/mylar/dl.php). We are getting ready to release the first version of the Trac connector but have only seen one bug report go by for the version available in the dev build. Could anyone CC'd here interesting in using it give it a shot and report any feedback? The latest dev build is 0.6.0.v20060726-0900 available from: download.eclipse.org/technology/mylar/update-site/dev I'd love to give it a try, but I'll have to wait for bug 151077 because our Trac uses HTTP digest authentication, so the current Trac connector doen't work for me (or my team). I'm in the same boat, for https and 64bit reasons. However, I did check out after comment #9 and all the functionality other than browsing (repositories, queries) worked well. A new dev build (0.6.0.v20060727-1630) just went up and contains Steffen's fixes for the authentication problems. Could you give that a shot? Please give up to 15 minutes for it to propagate to mirrors. The Trac Connector was released with Mylar 0.6.1: http://www.eclipse.org/mylar/doc/new.php With 29 votes, this was our most-voted for bug to date! Please file any new bugs under the Trac component. |