Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Mylyn/SOC/2006/Trac Connector"

< Mylyn‎ | SOC
(added architecture notes)
(added ticket links)
Line 28: Line 28:
 
== Proposed Architecture ==
 
== Proposed Architecture ==
  
* Core: Provides Java abstraction for repository access
+
* Core and Model ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=147816 #147816]): Provides Java abstraction for repository access
** Abstraction for query script and XML-RPC access
+
** Abstraction for query script ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=148090 #148090]) and XML-RPC ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=148089 #148089]) access
 
** (Eclipse independent) model classes that represent Trac data
 
** (Eclipse independent) model classes that represent Trac data
 
* UI: Tasklist classes
 
* UI: Tasklist classes
 
* Tests: Test for Core and UI
 
* Tests: Test for Core and UI
  
Since Core is only used by UI both are combined in a single plug-in.
+
Since Core and Model is only used by UI both are combined in a single plug-in.
  
 
For the XML-RPC calls [http://ws.apache.org/xmlrpc/xmlrpc2/ Apache XML-RPC] is used.
 
For the XML-RPC calls [http://ws.apache.org/xmlrpc/xmlrpc2/ Apache XML-RPC] is used.

Revision as of 16:01, 21 June 2006

The goal of this Summer of Code project is to provide a Trac connector plug-in for Mylar. Trac is a web-based issue tracking system with an integrated wiki.

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 will be accomplished in two iterations:

1. Iteration: Web linking only repository integration

  • Access through Trac's query script or through the Trac XML-RPC plug-in
  • Support for repository queries in task list view

This will work with existing Trac deployments through the custom query script. The output is available in multiple formats including tab-delimited text (sample output). It contains id, summary, status, owner, type, priority and component of tickets. This information will be used for read-only display in Mylar. A web-browser will be used for editing of tickets.

2. Iteration: Full integration based on the Trac XML-RPC plug-in

  • Authoring of reports within native Eclipse editor
  • Offline editing

In the second iteration support for Trac's XML-RPC interface will be implemented. The XML-RPC interface is distributed as a separate Trac plug-in and requires a Trac build from the subversion repository. The XML-RPC interface allows full featured access to all ticket information and allows manipulation of tickets. The editing of tickets will be done through Eclipse forms.

Project

The project is hosted here.

Proposed Architecture

  • Core and Model (#147816): Provides Java abstraction for repository access
    • Abstraction for query script (#148090) and XML-RPC (#148089) access
    • (Eclipse independent) model classes that represent Trac data
  • UI: Tasklist classes
  • Tests: Test for Core and UI

Since Core and Model is only used by UI both are combined in a single plug-in.

For the XML-RPC calls Apache XML-RPC is used.

Back to the top