summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-09-03 16:16:35 +0200
committerFlorian Jung <flo@windfisch.org>2013-09-03 16:17:50 +0200
commitfbdd6fa0e21b717ffe74046351540fcd9b6b9151 (patch)
tree49ee27469b34b515e2dfcbb9c2edb1e072a6a745
parentc721d82d4cd86798fd98158a7d459c5760afdc01 (diff)
Fixes for the 'bug', 'question', 'patch' tags.
-rwxr-xr-xissues.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/issues.py b/issues.py
index deeb741..826a3c4 100755
--- a/issues.py
+++ b/issues.py
@@ -112,6 +112,14 @@ def handle_tracker_item(item, issue_title_prefix):
try:
if "Feature" in issue_title_prefix:
labels.append("enhancement")
+ if "Bug" in issue_title_prefix:
+ labels.append("bug")
+ if "Patch" in issue_title_prefix:
+ labels.append("patch")
+ labels.append("enhancement")
+ if "Support" in issue_title_prefix:
+ labels.append("question")
+
labels.append("import")
labels.append(labelify("sf#"+item_id))
except KeyError:
@@ -200,9 +208,11 @@ def userVerify(txt, abortOnFail=True):
def getIssueTitlePrefix(trackername):
prefixes = {
- "Bugs": "",
+ "Bugs": "[Bug]",
"Feature Request": "[Feature]",
"Patch": "[Patch]",
+ "Patches": "[Patch]",
+ "Support Requests": "[Support]",
"Tech Support": "[Support]"
}
if trackername in prefixes: