interactive: EXTRA packages are always interesting

... for next_tasks report.
This commit is contained in:
Ivan A. Melnikov 2019-04-04 13:25:33 +04:00
parent 2077d293f5
commit c9057f2c08

View File

@ -209,9 +209,11 @@ def _has_fresh_subtasks(info):
color, bp, np = BY_NAME.get(p, ('MISSING', None, None))
if not np:
continue
if color == 'EXTRA':
return True
# for outdated packages, check for newer versions
# for SLATE packages, check for base repo version rebuilds
rebuild_nevr = np if color in ('ORANGE', 'YELLOW', 'EXTRA') else bp
rebuild_nevr = np if color in ('ORANGE', 'YELLOW') else bp
strict = info['task_ctime'] < UPDATE_TIMES.get(p, 0)
if tasks.subtask_is_updating(subtask, rebuild_nevr, strict):
LOG.debug("Task %s is interesting because of subtask %s: %s",