From 428b11e1f0277cd72a8826f6ad7c624de570a0c9 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 28 Oct 2024 09:09:45 +0000 Subject: Disable the part about tagging tasks as bugs until the cause of false assignments is found --- phabricator_tasks/tasks.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'phabricator_tasks/tasks.py') 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 -- cgit v1.2.3