diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-12-08 14:26:31 +0000 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2024-12-08 14:26:31 +0000 |
commit | 4c4983459e5f554684b6de2827cc274b8e98c103 (patch) | |
tree | 38922d70745b77f4cdc9ae8246e5e1a99f619986 /phabricator_tasks/tasks.py | |
parent | 428b11e1f0277cd72a8826f6ad7c624de570a0c9 (diff) | |
download | vyos-infrastructure-4c4983459e5f554684b6de2827cc274b8e98c103.tar.gz vyos-infrastructure-4c4983459e5f554684b6de2827cc274b8e98c103.zip |
Remove the code for adding "Bug" tag
That is not longer necessary with support for searching by custom fields
Diffstat (limited to 'phabricator_tasks/tasks.py')
-rw-r--r-- | phabricator_tasks/tasks.py | 13 |
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': |