diff options
author | Florian Jung <flo@windfisch.org> | 2013-09-03 16:16:35 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2013-09-03 16:17:50 +0200 |
commit | fbdd6fa0e21b717ffe74046351540fcd9b6b9151 (patch) | |
tree | 49ee27469b34b515e2dfcbb9c2edb1e072a6a745 | |
parent | c721d82d4cd86798fd98158a7d459c5760afdc01 (diff) |
Fixes for the 'bug', 'question', 'patch' tags.
-rwxr-xr-x | issues.py | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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: |