Skip to content

Commit

Permalink
Disable the part about tagging tasks as bugs
Browse files Browse the repository at this point in the history
until the cause of false assignments is found
  • Loading branch information
dmbaturin committed Oct 28, 2024
1 parent e7368f8 commit 428b11e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions phabricator_tasks/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@


# 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
Expand Down

0 comments on commit 428b11e

Please sign in to comment.