bugs.libreoffice.org redirects to bugs.documentfoundation.org,
which isn't very helpful as it just causes duplicate downloads.
Arguably freedesktop.org could be removed; the are just ~5 interesing
attachments since the TDF bugzilla migration.
Change-Id: I26d2667848582209e382226108c47549e99cee97
... by checking that a file with "fdo" already exists for bugs older
than the migration, instead of just ignoring the old bugs on TDF.
There are > 300 additional attachments not on freedesktop.org.
Change-Id: Ib7ee63041109071cc1241a875ef2cccbddfc699d
The queue was limited to an arbitrary maximum size, causing half of the
jobs to be droppend on the floor. Also it didn't run on Python 3.
Change-Id: I90bfba448291d901c5a7c83389d17c6acdd919c8
Apparently it is no longer possible to get files from it. (Of course, if
that only needs some tweaks in the script, fixes are welcome :-)
Change-Id: I29d63d3246ab53d8ce15fc0969fccc8a064c6e5b
This attempts to solve several deficiencies in the script:
1. If the first attachment of a bug is already downloaded, the bug is
not checked for newly added attachments (or attachments with newly
fixed mimetype).
2. If neither of the eligible attachment(s) of a bug is the first
attachment, the bug will be processed (and the attachment downloaded)
time and again (because the shortcut is only applied for the first
attachment, see 1).
But it also ensures that if the script is killed, the download is
restarted on the next run.
Change-Id: I7f3d1922825bb314f96ec3b1ee2a0ac47604b018
... which is what we already use in calc.desktop; also
"application/dbaes" is not registered at IANA.
Change-Id: Ic2031a53e6620d10874df8882448497564962114
- look at more interesting packages on lanuchpad, not just libreoffice.
- the searchTasks method by default does not return closed tasks,
and there does not appear to be a documented wild card search,
so stupidly enumerate all possible status.
Change-Id: I51691506874722a1d8eea4755513edf50164cf9d
... which are officially registered on
https://www.iana.org/assignments/media-types/application
... plus some more non-standard ones for FreeHand, Keynote, ClarisWorks.
For Apple Keynote there are 2 different ones that appear to be widely
used.
Change-Id: I26d4a85733a744188cc87a78fdba0d9d3f44da96
Apparently somebody found it a good idea to remove the getBugTasks()
method. Also the darn thing won't run on Python 3. So apparently it's
mostly unmaintained, except that functions that we need are removed.
For future reference: it can be installed on non-Ubuntu systems by:
pip install -v --user launchpadlib
Change-Id: Ib7b0a46011dffcfe091f5bb73ed19b9dc311046c