summaryrefslogtreecommitdiff
path: root/phabricator_tasks
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-10-28 09:09:45 +0000
committerDaniil Baturin <daniil@baturin.org>2024-10-28 09:09:45 +0000
commit428b11e1f0277cd72a8826f6ad7c624de570a0c9 (patch)
treea26f8d5fcf0de3abed47f5d58cc670cefb7d27b6 /phabricator_tasks
parente7368f8752f222ab8fd10a641351e9145a2f8f64 (diff)
downloadvyos-infrastructure-428b11e1f0277cd72a8826f6ad7c624de570a0c9.tar.gz
vyos-infrastructure-428b11e1f0277cd72a8826f6ad7c624de570a0c9.zip
Disable the part about tagging tasks as bugs
until the cause of false assignments is found
Diffstat (limited to 'phabricator_tasks')
-rw-r--r--phabricator_tasks/tasks.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/phabricator_tasks/tasks.py b/phabricator_tasks/tasks.py
index 254a8e4..3fbe2f2 100644
--- a/phabricator_tasks/tasks.py
+++ b/phabricator_tasks/tasks.py
@@ -67,12 +67,13 @@ for task in tasks:
# Tag tasks "Bug" for ease of searching
- if task['issue_type'] in ['bug', 'vulnerability']:
- print(f'Categorizing task T{task["task_id"]} as bug based on its issue type')
- if DRYRUN:
- pass
- else:
- add_project(task['task_id'], BUGS_PROJECT, TOKEN)
+ # XXX: disabled due to issue with statuses for now
+ #if task['issue_type'] in ['bug', 'vulnerability']:
+ # print(f'Categorizing task T{task["task_id"]} as bug based on its issue type')
+ # if DRYRUN:
+ # pass
+ # else:
+ # add_project(task['task_id'], BUGS_PROJECT, TOKEN)
# Tag tasks "Uncategorized tasks" to draw maintainer attention to them
# if "Issue type" is not specified