summaryrefslogtreecommitdiff
path: root/bin/get-bugzilla-attachments-by-mimetype
AgeCommit message (Collapse)Author
2012-07-27want to search for some sample pctsCaolán McNamara
Change-Id: I1e3c8e0994d17c6d5465fe63ab73f927e90c4991
2012-07-27redhat bugzilla changed a bitCaolán McNamara
Change-Id: I95f0a96ac52ae929e20096d135207f8a0c040ca5
2012-04-19rearrange orderCaolán McNamara
2012-04-19we're more interested in getting emf/wmf samples than pdfCaolán McNamara
2012-04-19sigh, need import sysCaolán McNamara
2012-04-18use stdout for errors like everything elseCaolán McNamara
2012-04-18continue in the face of adversaryCaolán McNamara
2012-04-17Fix handling of deleted bugzilla attachmentsGökçen Eraslan
As in https://bugs.kde.org/show_bug.cgi?ctype=xml&id=53343 <data> tag may not have a value if the attachment is deleted.
2012-04-17attachmentid should be stable across mime-type changesCaolán McNamara
2012-04-17fdo#46538 Easyhack: Add support for more bug trackers to ↵Gökçen Eraslan
get-bugzilla-attachments-by-mimetype This adds support for Novell, KDE (for KOffice/Calligra), GNOME (for Gnumeric), AbiSource (for AbiWord) bugzillas and Launchpad to bin/get-bugzilla-attachments-by-mimetype script as required by easyhack#46538. However, there two glitches and workarounds: 1- As stated in the code, Novell bugzilla requires users to log in to bugzilla in order to get full information about the bugs such as attachment bodies etc. Since Novell bugzilla uses some proprietary login extensions it's hard to implement log in mechanism and use it via xmlrpc API. python-bugzilla claims that it supports Novell bugzilla login but I could not make it work. As a workaround, comments containing "Created an attachment (id=xxxxxxx)" pattern are parsed and attachments are downloaded using urllib. Attachments are filtered using mimetype info obtained from http headers. 2- For launchpad, launchpadlib python module is used. But currently launchpad api does not support really advanced search like bugzilla. For example, it's not possible to search for bugs having application/pdf attachments. So, again a workaround is used. Code iterates over all the bugs of the *libreoffice* source package and check their attachments.
2012-03-20download some unusual image mimetypes by defaultCaolán McNamara
2012-03-20update to point to moved openoffice.org bugzillaCaolán McNamara
2012-03-20cgms are image/cgmCaolán McNamara
2012-03-07attachmentid should be stable across mime-type changesCaolán McNamara
2012-02-13get-bugzilla-attachments-by-mimetype: add retry:Michael Stahl
Sadly the Apache OO bugzilla is rather unreliable and connections time out a lot; retry connections to work around that.
2012-02-13get-bugzilla-attachments-by-mimetype: don't do images:Michael Stahl
What a stupid idea; what the heck do i do now with 5G of jpegs and pngs on my disk?
2012-02-13get-bugzilla-attachments-by-mimetype: more mimetypesMichael Stahl
2012-02-13get-bugzilla-attachments-by-mimetype: deduplicateMichael Stahl
2012-02-13get-bugzilla-attachments-by-mimetype: fix itMichael Stahl
2011-12-06normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara
2011-11-14add script to download documents from various bugzillasCaolán McNamara