This fixes the CLI to work with the new trigger rules, a few notes:
- It is not possible to replay jobs from a file (jobs.csv) since the file no longer provides all the values that are neccesary to trigger the jobs according to the trigger rules. Some code is still there, will be removed if we agree not to support it anymore, reworked otherwise.
- Koji tag jobs are not replayed from the CLI. It does not make much sense to run depcheck since the state of the repo was changed since the fedmsg was emitted.
- Topics and triggers are hardcoded in the CLI for now. I guess I can write some code that would discover what triggers should be run on what topics but not sure it's worth the effort now.
The patch also fixes a couple of other small issues that I run into, sorry about that.
First try whether this line can be removed and the test suite still runs. config is not used anywhere, so I'm not sure why the test suite would need it (I haven't looked). If it is needed, add an exception since it's necessary in this case: