summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2015-01-27 13:33:40 +0100
committerJan Holesovsky <kendy@suse.cz>2015-01-27 13:34:45 +0100
commit3b3b79bf00228d13f9ee28c30ee0c9dc224670fc (patch)
tree475dad62f946bb69dde3abca82dd191d7aa2efe7 /bin
parentfe98210e4c45b3fefd1c4f096d9f7a93e578b5c9 (diff)
More info about usage of get-bugzilla-attachments-by-mimetype.
Change-Id: Ia3f7c47b1fce782b5ec37ce28f1f3d452266ddcb
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-bugzilla-attachments-by-mimetype18
1 files changed, 11 insertions, 7 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype
index 47fe68efef77..905ab5b13c3f 100755
--- a/bin/get-bugzilla-attachments-by-mimetype
+++ b/bin/get-bugzilla-attachments-by-mimetype
@@ -8,15 +8,19 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
-#This digs through a pile of bugzilla's and populates the cwd with a big
-#collection of bug-docs in per-filetype dirs with bug-ids as names with
-#prefixes to indicate which bug-tracker, e.g.
+# This digs through a pile of bugzilla's and populates the cwd with a big
+# collection of bug-docs in per-filetype dirs with bug-ids as names with
+# prefixes to indicate which bug-tracker, e.g.
#
-#fdo-bugid-X.suffix
-#rhbz-bugid-X.suffix
-#moz-bugid-X.suffix
+# fdo-bugid-X.suffix
+# rhbz-bugid-X.suffix
+# moz-bugid-X.suffix
#
-#where X is the n'th attachment of that type in the bug
+# where X is the n'th attachment of that type in the bug
+#
+# The results are stored in the current directory, categorized by the
+# extension of the downloaded file. When a file already exists, it is assumed
+# it is already downloaded by a previous run, and up-to-date.
from __future__ import print_function
import feedparser