Example : * check-summary-soap.py : will demonstrate access through python-btsutils API through the spool To check all bugs open on twiki : # python check-summary-soap.py $(bts select package:twiki | xargs echo -n) bts-link needs to be patched to add reading of the following bugs attributes : Summary, Severity, Submitter and Subject. See my (Olivier Berger) git repo at http://www-public.it-sudparis.eu/~berger_o/git/bts-link.git/ (git clone http://www-public.it-sudparis.eu/~berger_o/git/bts-link.git/), or in bts/interfaces.py, in BtsSpoolReport's constructor, add : if 'Summary' in spooldata: self.summary = spooldata['Summary'] else: self.summary = '' self.severity = spooldata['Severity'] self.submitter = spooldata['Submitter'] self.subject = spooldata['Subject'] The DBTS database mirror must have been fetched. |