112 Commits

Author SHA1 Message Date
Jimmy Berry
b629ed6863 repo_checker: provide ensure_group() to handle setup and execution of group checks. 2017-07-12 15:31:30 -05:00
Jimmy Berry
02afe64575 repo_checker: adapt the mess in _check_repo_group.osc-check_repo() as cycle_check(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
b6a1da3d19 repo_checker: adapt the mess in _check_repo_group.osc-check_repo() as install_check(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
9683f71d45 repo_checker: define CheckResult for improved readability. 2017-07-12 15:31:30 -05:00
Jimmy Berry
1f6f275a53 repo_checker: adapt checkrepo._toignore() as ignore_from_package(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
5775d2247d repo_checker: provide ignore_from_repo() to list rpm names from mirrored directory. 2017-07-12 15:31:30 -05:00
Jimmy Berry
10f6bd7a87 repo_checker: adapt osc-check_repo._mirror_full() as mirror().
- properly escape arguments
- handle execution failure
- keep track of already mirrored pairs
2017-07-12 15:31:30 -05:00
Jimmy Berry
1167ddff3b repo_checker: provide whitelisted target_archs().
The config option repo_checker-arch-whitelist allows for configuration and
supports reading from the remote config.
2017-07-12 15:31:30 -05:00
Jimmy Berry
631f15fa9a repo_checker: filter requests during prepare_review().
Only request that are staged in a staging that has completed building are
of interest. Requests are then ordered by staging project and those not
meeting the requirements are ignored.
2017-07-12 15:31:30 -05:00
Jimmy Berry
68b785bc70 repo_checker: set review message instead of comment on safe delete. 2017-07-12 15:31:30 -05:00
Jimmy Berry
c42f13bd0d repo_checker: trust OBS instead of expensive double checking. 2017-07-12 15:31:30 -05:00
Jimmy Berry
7a0e3f78a6 repo_checker: provide initial version based on ReviewBot (only deletes). 2017-07-12 15:31:30 -05:00