Jimmy Berry
e1bf4522af
repo_checker: provide optional parsing of install check output and mapping to package.
2017-08-04 13:17:48 -05:00
Jimmy Berry
4f64386366
repo_checker: package_whitelist() does not need to support group splitting to find product.
2017-08-04 13:17:48 -05:00
Jimmy Berry
f24b106306
repo_checker: point to repo_checker file instead of old installcheck in project comment.
2017-08-02 14:25:03 -05:00
Jimmy Berry
3eef00409a
repo_checker: add whitelist for adoption phase.
...
Given all the pent up issues hidden by the previous checker this is sadly
necessary.
2017-08-02 10:35:52 -05:00
Jimmy Berry
3717d47607
Rename repo-checker.pl to repo_checker.pl to be consistent.
2017-07-31 21:08:13 -05:00
Jimmy Berry
c1f1975b1d
repo_checker: provide project_only subcommand to write result to installcheck.
2017-07-27 23:55:01 -05:00
Jimmy Berry
03c46f18d7
ReviewBot: provide staging_api() from repo_checker.
2017-07-18 17:06:37 -05:00
Jimmy Berry
84a91c94ae
repo_checker: utilize sorted(reverse=True) instead of reversed() for target_archs().
2017-07-12 15:32:58 -05:00
Jimmy Berry
24afac5ede
repo_checker: reset mirror cache after corruption.
2017-07-12 15:32:27 -05:00
Jimmy Berry
3b85406396
repo_checker: handle corrupted requests referencing non-existent projects.
2017-07-12 15:31:30 -05:00
Jimmy Berry
763cf776a2
repo_checker: remove extra newline from install_check() output.
2017-07-12 15:31:30 -05:00
Jimmy Berry
ec2ce9df69
repo_checker: add ignore_file.flush() to ensure ignore file written.
2017-07-12 15:31:30 -05:00
Jimmy Berry
0309dfe0cf
repo_checker: remove maintainer check for delete requests.
...
This appears to be an artifact from before factory-auto/leaper require
maintainer review for requests not created by one.
2017-07-12 15:31:30 -05:00
Jimmy Berry
7d51cdd46e
repo_checker: add TODO regarding delete groups.
2017-07-12 15:31:30 -05:00
Jimmy Berry
7c81b5f944
repo_checker: utilize ensure_group() for submit and delete requests.
2017-07-12 15:31:30 -05:00
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