Opened 21 years ago
Last modified 5 years ago
#217 new enhancement
XML-RPC/SOAP/etc. interface
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | unscheduled |
Component: | general | Version: | 0.6 |
Severity: | normal | Keywords: | |
Cc: | m@…, martin.marcher@…, lists@…, osimons | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
It would be kinda nice to have an interface for Trac that would allow people to develop things like allowing tickets to be reported from within an application.
Attachments (0)
Change History (27)
comment:1 by , 21 years ago
comment:2 by , 21 years ago
Is there progress on this issue?
Is there a way to programatically interact with the Trac system using REST for example?
comment:3 by , 21 years ago
Milestone: | → 0.9 |
---|---|
Priority: | normal → high |
I think we should at least have a minimal web-services API for 1.0.
comment:4 by , 20 years ago
Milestone: | 0.9 → 2.0 |
---|---|
Priority: | high → low |
This is part of the 2.0 redesign process as well.
comment:5 by , 20 years ago
I would welcome an rpc inferface very much as it would make it possible to implement an interface to the issue tracker in Eclipse (as a plugin).
comment:8 by , 19 years ago
Though still experimental, the XmlRpcPlugin over at trac-hacks is probably a good starting point for this. WikiRPC is implemented already, and I'm sure the ticket system could be setup for RPC manipulation.
comment:9 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:10 by , 19 years ago
Cc: | added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Do not close tickets without a comment.
comment:11 by , 19 years ago
The XmlRpcPlugin implements the WikiRPC API, thanks to mgood, and also exports an API for manipulating the ticket system. You can see the builtin methods here.
comment:12 by , 19 years ago
Type: | defect → enhancement |
---|
comment:14 by , 18 years ago
Cc: | added |
---|
comment:17 by , 14 years ago
Milestone: | triaging → unscheduled |
---|
No, it's still unscheduled, which means the members of TracTeam have currently no interest in implementing it themselves, but they're not opposed either to someone else's contributions on the topic, provided there's a good rationale for it and a good quality patch.
comment:18 by , 14 years ago
Owner: | removed |
---|---|
Status: | reopened → new |
… and I suppose Matt is not really interested in the noise here either ;-)
comment:19 by , 14 years ago
Cc: | added |
---|
The XML-RPC plugin now includes a pluggable API for extending protocols, and see for instance TracRpcProtocolsPlugin for more protocols.
comment:20 by , 14 years ago
it's amazing to see that as I could use this today, a ticket opened 7 years ago with no implementation is blocking me from simple interraction with Trac via web service. If you want an AWESOME example of the simple implementation of this please see: http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API
comment:21 by , 14 years ago
i am not sure what @dean.poulin is talking about, as th:XmlRpcPlugin works more than fabulously. as a matter of fact, i'm not sure why this ticket is still open. perhaps th:XmlRpcPlugin could be brought into tracopt and be done with it or something?
follow-up: 25 comment:22 by , 14 years ago
@lkraav - I'm just referring to the fact that people like simple APIs to program against, especially in the area of continuous integration/build process/release management. I run an API that gets millions of requests a day and if our API was complicated it wouldn't get used. Our team is specifically looking to trigger ticket resolutions via the build/release process.
I'm just recommending that Trac implement a simple API as Hudson has done (http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API) which is accessible via basic RESTful URLs to access data and trigger actions in a programmable fashion.
I'm a very satisfied Trac user of 4 years. I was just surprised that in order to access Trac data I have to install a third party plug-in… XmlRpc.
comment:23 by , 13 years ago
We are providing a small Trac interface within our Test Management tool Zeta Test.
If anyone is interested in the source code of the interface, just give me a quick note.
comment:24 by , 13 years ago
Cc: | added |
---|
comment:25 by , 11 years ago
Replying to dean.poulin@…:
@lkraav - I'm just referring to the fact that people like simple APIs to program against, especially in the area of continuous integration/build process/release management. I run an API that gets millions of requests a day and if our API was complicated it wouldn't get used. Our team is specifically looking to trigger ticket resolutions via the build/release process.
There's a Jenkins plugin for Trac .
I'm just recommending that Trac implement a simple API as Hudson has done (http://wiki.hudson-ci.org/display/HUDSON/Remote+access+API) which is accessible via basic RESTful URLs to access data and trigger actions in a programmable fashion.
See trachacks:RestOnTracPlugin which is currently under development .
I'm a very satisfied Trac user of 4 years. I was just surprised that in order to access Trac data I have to install a third party plug-in… XmlRpc.
Because Trac is a minimalistic approach to …
comment:26 by , 11 years ago
It doesn't look like the RestOnTracPlugin is ever going to be completed.
comment:27 by , 5 years ago
Just stumbled upon this while looking for a way to access Trac and not having to parse using those <tr> and <td> tags.
Xml-rpc should be fairly easy to accomplish. Preferably we would support both xml-rpc and SOAP/WSDL. Unfortunately, it seems that WSDL for python at this point seems to be rather immature.