changed:
-
Mr. Rigo:
As stated in my proposal, I will initially focus on making all of
the hyperdb functionality available over a network. From there,
adding individual tracker functions should be fairly simple.
Just to clarify, I am not proposing to create a complete user
interface (ie, ncurses or GTK); rather, I will create a library to
make the database available to remote users, and a utility to provide
simple command-line access to the tracker.
My motivation is to be able to use a command-line client similar
to the following:
::
$ roundup-client.py Issue47 attachfile somefile.txt
$ echo 'Installed patch on server; closing ticket' | roundup-client.py Issue91 attachmessage -
However, I agree that a higher-level wrapper providing access to
the functions exposed on the web interface could be useful. Perhaps
something like the following?
::
import roundup-client
tracker = roundup-client.connect('http://url.to.tracker.com', 'username', 'password')
for issue in tracker.query('My Open Tickets'):
if issue['Priority'] == 'Critical':
<do something with the issue>
Please let me know if this is what you have in mind.
Timothy J. Warren