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. 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. |