Implement Trac XMLRPC API for Mylyn integration
|
|
On some projects we (still?) use Trac, hosted by a notable Unfuddle competitor. The major pull (and quite major turnoff if using Unfuddle) is that it has great Mylyn integration support built-in when using Eclipse IDE, as that’s the IDE we use for Having Unfuddle implement the Trac XMLRPC API would be a tremendous feature. See: http://trac-hacks.org/wiki/XmlRpcPlugin |
|
|
I’ve created a public open source project (ironically, not using Unfuddle) that implements the Trac XMLRPC API using Unfuddle API. (in other words, it exposes the Unfuddle API to Trac-conforming XML-RPC clients) More info here: http://www.assembla.com/spaces/xmlrpcbridge Download sources from http://svn2.assembla.com/svn/xmlrpcbridge/trunk/unfuddle_xmlrpc Join the project if you’re interested to collaborate. Thanks. PS: To Subventurate, feel free to use the code (if applicable) to implement on Unfuddle. |
|
|
From the project page: Unfuddle Trac-like XML-RPC API Does it work? Yes, it does, partially (at least for now): $ irb Overview (see README.txt file in SVN browser for more up-to-date version) Unfuddle XML-RPC adapter This library provides Trac XML-RPC adapter for Unfuddle projects. Starting the server: ./server.rb This will start the server on port 8080 (Ctrl+C to shutdown). [2008-03-30 21:10:18] INFO WEBrick 1.3.1 To test the server, open IRB and do what the server says upon startup: require ‘xmlrpc/client’ proxy = XMLRPC::Client.new2(‘http://USER:PASS@localhost:8080/ACCOUNT/PROJECT/’) proxy.call(‘ticket.query’, ‘status!=closed’) proxy.call(‘ticket.get’, 1)If your Unfuddle account supports/mandates secure connection, prepend “/secure” to the URL. Mylyn Support This project will be archived when/if Subventure officially supports Trac XMLRPC syntax. Project Info |
|
|
I’ve updated the API to be account and project agnostic. You can test the live installation at our server with your own account (please don’t abuse the system) simply by using irb. require ‘xmlrpc/client’ proxy = XMLRPC::Client.new2(‘http://USER:PASS@xl.soluvas.com:8090/ACCOUNT/PROJECT/’) proxy.call(‘ticket.query’, ‘status!=closed’) proxy.call(‘ticket.get’, 1)(change USER, PASS, ACCOUNT, PROJECT, to your own) Secure connection to that server (using fake SSL cert) is available on port 8091. Note: I make no attempt of storing the provided credentials. All source is provided on project page, and it’s exactly what gets run on that server. |
|
|
The current state of project now supports:
Simply use the respective port, and respective URL. |
|
|
Hendy, I took a look at your implementation of this… looks very cool. Unfortunately, I wasn’t able to make it work. Have you abandoned this? Thanks for the work on it so far! -Ben |
|
|
Hi Ben, Thank you. Yes I’ve abandoned it. :-) Fortunately, Unfuddle will be having an official Mylyn connector soon. :-) |
|
|
Hi Everyone In case you missed the official announcement in the Unfuddle Blog, you can now find the Unfuddle Mylyn Connector here: http://unfuddle.com/plugins/mylyn |
