summaryrefslogtreecommitdiff
path: root/phabricator_tasks
diff options
context:
space:
mode:
Diffstat (limited to 'phabricator_tasks')
-rw-r--r--phabricator_tasks/tasks.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/phabricator_tasks/tasks.py b/phabricator_tasks/tasks.py
index 3fbe2f2..06d4a85 100644
--- a/phabricator_tasks/tasks.py
+++ b/phabricator_tasks/tasks.py
@@ -4,9 +4,6 @@ Phorge task chores:
1. Close a tasks if it's "Finished" in all boards but not yet resolved
2. Unassign tasks that are nominally assigned to someone but had no activity in a long time
-3. Tag tasks "Bug" if the type is "bug" for ease of searching
- (since Phorge still can't search by custom fields...)
-
'''
import argparse
@@ -65,16 +62,6 @@ for task in tasks:
else:
unassign_task(task['task_id'], TOKEN)
-
- # Tag tasks "Bug" for ease of searching
- # 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
if task['issue_type'] == 'unspecified':