[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689561: wiki: add support for checking status of bugs in bugzilla

Package: wiki.debian.org
Severity: wishlist

We should add support for checking the status of bugs in bugzilla
installations. Below is a proof-of-concept python script that we can use
to create this. The script should have a list of known bugzilla
installations and only contact those. The JavaScript should recognise
URLs of the form ..../show_bug.cgi?id=1234 or /1234 on the known
hostnames and then contact the bugzilla script and return the results.

import xmlrpclib
import cgi
        import json
except ImportError:
        import simplejson as json

url = 'https://bugzilla.gnome.org/xmlrpc.cgi'
proxy = xmlrpclib.ServerProxy(url)
bugs = proxy.Bug.get_bugs({'ids': [123456]})
payload = .........
output = json.dumps(payload)
print output



Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: