summaryrefslogtreecommitdiff
path: root/bin/get-bugzilla-attachments-by-mimetype
AgeCommit message (Collapse)Author
2019-05-23get-bugzilla-attachments-by-mimetype: disable bz.apache.orgMichael Stahl
It's ridiculously un-cooperative, and if you accidentally run the script from a static IP you won't be able to look at that bugzilla for a while, which is tragic because it holds important historical info hostage. Change-Id: I55887baceac82ad0a3bcedc3de9c9b3d0e02f9c3 Reviewed-on: https://gerrit.libreoffice.org/72220 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-05-13get-bugzilla-attachments-by-mimetype: fix get_through_rss_queryMichael Stahl
This URL results in an error message and 0 results because "Changed" in the UI translates to "delta_ts", not "changed" apparently. Change-Id: I2bfdd682bb7fca229039970c209e7e409532059c Reviewed-on: https://gerrit.libreoffice.org/72219 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de>
2019-04-19node.firstChild seen as NoneCaolán McNamara
Change-Id: Ic4d2538f15d6246d81fabe8347a8be157b69deb3 Reviewed-on: https://gerrit.libreoffice.org/70979 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-18Fix typosAndrea Gelmini
Change-Id: Iaad78e5f1100df1ca69d34bf7693e4a9feac17eb Reviewed-on: https://gerrit.libreoffice.org/48084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-23get-bugzilla-attachments-by-mimetype: add some duplicated mimetypes ...Korrawit Pruegsanusak
that are really used in our TDF bugzilla Change-Id: I5945cbf10ad2698471a3a74be8773ee1b5d81656 Reviewed-on: https://gerrit.libreoffice.org/43722 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-09-30Add WPS Office mimetypesXisco Fauli
Sometimes bugzilla set the mimetype to application/wps-office.<the extension> incorrectly. Ie: Our bugzilla shows 80 bugs with those mimetypes: http://tinyurl.com/ybjrmldu Change-Id: I9f73c65604d45e76430a2d34401bcfa883534445 Reviewed-on: https://gerrit.libreoffice.org/34101 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-08-01get-bugzilla-attachments: fix typo, ppotx -> potxAron Budea
Change-Id: I9ac25784cf772b0056936127ddd91d39264489ea Reviewed-on: https://gerrit.libreoffice.org/40614 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2016-08-30add vsdxDavid Tardon
Change-Id: I85b6cdf6185efd8c11f393b1a30a9241be620749
2016-08-11collect StarOffice docsDavid Tardon
Change-Id: Icf4989844b7d0b5bcdad0e28792a41b5d5b5c27e
2016-04-30Fix typosAndrea Gelmini
Change-Id: Id81b16ff26283611f0b84929d831c827f847ab73 Reviewed-on: https://gerrit.libreoffice.org/24317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-01-01application/visio.drawing is sometimes used in bugzillaDavid Tardon
Change-Id: I3b8b85d91c2b19dc3cf6cba95d258ea639dd9862
2015-11-27get-bugzilla-attachments-by-mimetype: add gnumericMichael Stahl
Change-Id: Ib47308a9575a15aaa5b2d650cb4f1b78b1a5ad27
2015-11-03get-bugzilla-attachments: RSS query doesn't work with '+' characterXisco Fauli
eg. image/xml+svg Change-Id: I1b6b6f71d02fa415c3470faadbe8d316aaf0f677 Reviewed-on: https://gerrit.libreoffice.org/19761 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-03add application/x-qpro to get-bugzilla-attachments-by-mimetypeCaolán McNamara
Change-Id: Ie8350ce999fb6eaad8ba8f790753cfbbc1c8b70a
2015-06-04get-bugzilla-attachments: actually use the fdo bugzillaMichael Stahl
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
2015-06-04get-bugzilla-attachments: avoid writing incomplete filesMichael Stahl
Change-Id: I7d1139ddf8c88626dd716aa537a305c31b5be5d9
2015-06-04get-bugzilla-attachments: avoid FDO-TDF duplicates...Michael Stahl
... 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
2015-06-04get-bugzilla-attachments: fix the multi-threadingMichael Stahl
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
2015-05-29add a bugzilla starting id and set it for tdfCaolán McNamara
to avoid downloading duplicate bugs from before the migration to tdf Change-Id: I6449e26708b2cb46c3a8829ba5ef8bd86ef072ae
2015-05-20enable Apple Numbers importDavid Tardon
Change-Id: I9aaa4ae2e567b54f15097c265a3d1c3c12662b92
2015-05-20enable Apple Pages importDavid Tardon
Change-Id: I1ae1a09de43a2743d6bf9eba0c9a389b99bdfc67
2015-05-19Update Apache Bugzilla’s URLAdolfo Jayme Barrientos
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2015-02-01add spaceDavid Tardon
Change-Id: I1ec18ded65b3359b71d97a733aab7f8b2a27e699
2015-01-27More info about usage of get-bugzilla-attachments-by-mimetype.Jan Holesovsky
Change-Id: Ia3f7c47b1fce782b5ec37ce28f1f3d452266ddcb
2015-01-24add TDF bugzillaDavid Tardon
Change-Id: Ic26ecbf8dc46e97c68cd1bfd639ad433f828cea6
2014-09-11create a master document template typeCaolán McNamara
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-05drop binfilter formatsDavid Tardon
Change-Id: Iab1f526cfedf9a9f560b5d3e6dcd467dd178b508
2014-09-05also look for import libs in launchpadDavid Tardon
Change-Id: I584d612063c9aa6fe472a1f829453511f94a1dbf
2014-09-05look for more apps in launchpadDavid Tardon
Change-Id: Ie08099d09fd9852c0292a9e0457cdeff07881d4d
2014-09-05move the list of launchpad pkgs to a var.David Tardon
Change-Id: Id8fed4516069e86b2fbee053e6681e145fdd4336
2014-08-20fix indent to get this working againCaolán McNamara
Change-Id: If48dcf4d04d3888975687aa85557e2cee317f2dd
2014-06-27download PageMaker filesDavid Tardon
Change-Id: I739f5f9b6f0e6a97832136812b289ae27cfaae37
2014-06-27integrate libpagemakerDavid Tardon
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
2014-04-16add image/x-sun-raster mimetypeCaolán McNamara
Change-Id: I6c53ec2ae15a68b9fa6bfd0daf81d6a21ca6c457
2014-01-26Add basic multi-threading for each mimetypejorendc
Change-Id: Ife0766ddd259bb7d86a9c7bdcf3e9c2849208cf0 Reviewed-on: https://gerrit.libreoffice.org/7123 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-17add more graphics apps to launchpad listDavid Tardon
Change-Id: I8f80b4aa07fd923aea4f50fd50d4ce68230cde06
2013-12-16disable novell bzDavid Tardon
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
2013-12-13do not download html files from moz bzDavid Tardon
Change-Id: I18519dd8ad0bdaac55a1d5bccdc30b943d717c9c
2013-12-07print bug count in rss query tooDavid Tardon
Change-Id: I9542771fe3caf77757d81641752ab5463ead4deb
2013-12-07put bz URLs into a list to avoid repeated codeDavid Tardon
Change-Id: Iade61f598e1122aae7667de684a68e8164817327
2013-12-07enable more bugzillasDavid Tardon
Change-Id: If77b213deba85d49e1e8d09015fa81aa6df6aa94
2013-12-07try to minimize bugzilla queriesDavid Tardon
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
2013-12-05fetch abiword bz attachments (for future use)David Tardon
Change-Id: I8a18265ecd6a48f35980f335b2da5fe59958c02c
2013-11-23connectivity: use "application/x-dbase" for DBase filesMichael Stahl
... which is what we already use in calc.desktop; also "application/dbaes" is not registered at IANA. Change-Id: Ic2031a53e6620d10874df8882448497564962114
2013-11-20download fb2 files tooDavid Tardon
Change-Id: I0a18ad70620cfd4263ffd3bc1423e00205e98f9b
2013-11-17bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-11-13enable more useful formatsDavid Tardon
Change-Id: I790f0678a0fb06b3fd1babf499803b5250f23c1b
2013-11-13add cmxDavid Tardon
Change-Id: I8c0b422dc40188936b2473fed2e7a24ed36977e9
2013-11-11get-bugzilla-attachments-by-mimetype: add libebook typesMichael Stahl
Change-Id: I963549beb45112504d5edfef169d4970fbec822d
2013-11-11get-bugzilla-attachments-by-mimetype: more launchpad fixesMichael Stahl
- 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