Roundup Tracker - Issues

Issue 2550554

Client-side Roundup library
Type: rfe Severity: normal
Components: Interface Versions: devel
Status: closed later
: stefan : ajaksu2, richard, rouilj, stefan
Priority: normal : patch

Created on 2009-06-17 14:09 by stefan, last changed 2021-04-19 15:24 by rouilj.

File name Uploaded Description Edit Remove stefan, 2009-06-17 14:09 stefan, 2009-06-19 17:14
msg3727 Author: [hidden] (stefan) Date: 2009-06-17 14:09
With the XMLRPC interface in place and conveniently accessibly through
the normal web interface, not much is missing to allow client
applications to interact with Roundup directly.

This patch encapsulates the XMLRPC communication, and allows clients to
access a Roundup tracker through a simple and pythonic API.

How does this look ? I propose to put that into the Roundup source tree,
and package it separately for binary packages, so users can install it
independently from the server-side code.

How does this sound ?
msg3736 Author: [hidden] (stefan) Date: 2009-06-19 17:14
As I just checked in a change that adds a 'schema()' method to the
XMLRPC interface, here is a new version of the client-side library that
mirrors that addition.

Any suggestion where to put this file in the source tree ? We will also
want to think about how to package it, as it can be installed
stand-alone, without the server-side code.
msg3815 Author: [hidden] (stefan) Date: 2009-07-19 22:58
Richard, do you have any opinion on this ? Any idea how this would be
packaged ? Some users may only want to install the client-side...

msg3817 Author: [hidden] (richard) Date: 2009-07-20 06:11
Gee, it's small isn't it :)

It'd be a bit much to ask users of this library to install roundup itself.

I actually think it might be an idea to create a new dist for this, so it should belong in a 
separate tree of the SVN. Perhaps /roundup-client/?
msg5886 Author: [hidden] (rouilj) Date: 2016-07-22 22:40
I would like to get this into the tree.

Maybe under share/roundup/xml_client_library or
roundup/client_lib/xml_rpc so it will get installed on the
roundup server and people can copy the file to the client
system as needed.

However I would like to include an example or two of how to use it.
Do you have an example using the classic demo tracker?
msg7106 Author: [hidden] (rouilj) Date: 2021-03-13 17:24
Ping Stefan:

This needs updating to python3 and I still need doc/example of use.

Do you have some time to bring this up to date and document it?

-- rouilj
msg7107 Author: [hidden] (stefan) Date: 2021-03-13 22:21
Do you have a publicly accessible tracker instance I could use to test this ?
I'm afraid I don't know how to set up a new instance, and I don't have time right now to dive in to learn it.
msg7108 Author: [hidden] (rouilj) Date: 2021-03-14 01:42
Hi Stefan:

In message <>,
Stefan Seefeld writes:
>Do you have a publicly accessible tracker instance I could use to
>test this ? I'm afraid I don't know how to set up a new instance,
>and I don't have time right now to dive in to learn it.


   https://rouilj.dynamic-dns dot net/demo/

replacing "dot" with a '.'. The xmlrpc endpoint should be;

   https://rouilj.dynamic-dns dot net/demo/xmlrpc

Login user: demo, password: demo.

That user should have the /xmlrpc endpoint enabled. If you go the the
tracker and look at issue1, you will have directions on the various

Note this is an extensively modified tracker compared to the classic
tracker, but the issue object has messages, title, status etc. so you
should be able to generate an example that will work with the classic

Thanks for taking a shot at creating an example.
msg7109 Author: [hidden] (rouilj) Date: 2021-03-14 02:31
Hi Stefan:

I forgot to mention that I have anti-csrf methods enabled.
So you need to add the following headers to your request:

"Referer", "https://rouilj.dynamic-dns dot net/demo/
"Origin", "https://rouilj.dynamic-dns dot net
"X-Requested-With": "xmlrpc"

See the documentation in the doc/xmlrpc.txt for an more detailed

				-- rouilj
John Rouillard
My employers don't acknowledge my existence much less my opinions.
msg7137 Author: [hidden] (rouilj) Date: 2021-03-24 04:59
Hi Stefan:

Is there anything more you need from me?

-- rouilj
msg7204 Author: [hidden] (rouilj) Date: 2021-04-19 04:17
Hi Stefan:

Just pinging you to see if you need anything from me.

-- rouilj
msg7205 Author: [hidden] (stefan) Date: 2021-04-19 04:43
I tried a bit but couldn't get it to work with your server as end-point.

But to be honest, I'm also not sure this is worth the trouble: It has been a very long time since I last worked with and contributed to Roundup, so getting back into Roundup's code requires quite a bit of work for me now.
I can't believe that it's hard to rewrite my original patch to work with a more recent version of the `xmlrpc` API. So if there is real interest, I'm sure someone with a current interest into the project will be able to fill in the missing bits.
msg7207 Author: [hidden] (rouilj) Date: 2021-04-19 15:24
Hi Stefan:

> I tried a bit but couldn't get it to work with your server as end-

That's too bad.

> But to be honest, I'm also not sure this is worth the trouble:

Fair enough. Everything has its time nd this has been hanging around
for a while.

I'll close it and mark it as later in case somebody wants to
pick it up.

Have a great week.

-- rouilj
Date User Action Args
2021-04-19 15:24:51rouiljsetstatus: open -> closed
resolution: later
messages: + msg7207
2021-04-19 04:43:39stefansetmessages: + msg7205
2021-04-19 04:17:06rouiljsetmessages: + msg7204
2021-03-24 04:59:46rouiljsetmessages: + msg7137
2021-03-14 02:31:37rouiljsetmessages: + msg7109
2021-03-14 01:42:29rouiljsetmessages: + msg7108
2021-03-13 22:21:23stefansetmessages: + msg7107
2021-03-13 17:24:31rouiljsetmessages: + msg7106
2016-07-22 22:40:38rouiljsetnosy: + rouilj
messages: + msg5886
2009-07-20 06:11:16richardsetmessages: + msg3817
2009-07-19 22:58:32stefansetstatus: new -> open
priority: normal
messages: + msg3815
2009-06-19 17:14:03stefansetfiles: +
messages: + msg3736
2009-06-17 14:09:03stefancreate