#97 Initiate rebuild of advisory related artifacts also when advisory state changes.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker handle-new-advisories-with-old-builds  into  master

Download 97.patch

This solves following situation:

1) Advisory is moved from NEW_FILES to QA, builds are signed, but ..
2) ... Freshmaker is configured to handle only advisories in REL_PREP state, so event saying that all RPMs in advisory are signed is skipped.
3) Advisory is moved to REL_PREP state, but there since Freshmaker rebuilds only based on "RPMs in advisory are signed event", artifacts depending on this advisory are never rebuilt.

In this PR, Freshmaker handles this move to REL_PREP and tries rebuilding artifacts depending on the advisory.

:+1: looks good to me.

Pull-Request has been merged by jkaluza

If what not exists?

It would be good to update docstring as well so that it can be understandable easily for what this handler does and what purpose this handler is used for.

Metadata