summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz18
1 files changed, 17 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index 6bac664..bfeee7a 100755
--- a/git-bz
+++ b/git-bz
@@ -62,10 +62,26 @@ default-priority = Normal
default-platform =
"""
+# Only the attachment flags supported by the git-bz-moz fork
+# of git-bz are listed here - listing all flags would be quite
+# a bit of noise. Other flags can be configured with
+# 'git config', but should be added here if they are useful.
CONFIG['bugzilla.mozilla.org'] = \
"""
https = true
default-priority = ---
+attachment-flag.feedback.id = 607
+attachment-flag.feedback.requesteeable = true
+attachment-flag.feedback.multiplicable = true
+attachment-flag.review.id = 4
+attachment-flag.review.requesteeable = true
+attachment-flag.review.multiplicable = true
+attachment-flag.superreview.id = 5
+attachment-flag.superreview.requesteeable = true
+attachment-flag.superreview.multiplicable = false
+attachment-flag.ui-review.id = 203
+attachment-flag.ui-review.requesteeable = true
+attachment-flag.ui-review.multiplicable = true
"""
CONFIG['bugzilla.redhat.com'] = \
@@ -1836,7 +1852,7 @@ def edit_attachment_comment(bug, initial_description, initial_body):
config = get_config(get_tracker())
attachment_flags = config.get('attachment-flag', {})
- flag_names = attachment_flags.keys()
+ flag_names = sorted(attachment_flags.keys())
if flag_names:
template.write("""# Uncomment to set flags for the attachment; flags can be set to +,- , or ?.\n""")
template.write("""# When setting a flag to ? you can optionally specify individuals as, for example: