9 Commits

Author SHA1 Message Date
Jimmy Berry
5e120a6ac4 osclib/core: provide BINARY_REGEX named group pattern and utilize. 2017-08-04 13:17:18 -05:00
Jimmy Berry
03a8666fa4 core: adapt checkrepo.get_package_list_from_repository() as binary_list().
- utilize osc.core.get_binarylist() instead of building query manually
- return a namedtuple for increased readability
2017-07-12 15:31:30 -05:00
Jimmy Berry
c2e950eebd core: provide request_staged() and request_when_staged().
Useful for determining if a request has an open staging project review
which makes it likely that it has been staged and avoids the need to
review each staging project.
2017-07-12 15:31:30 -05:00
Jimmy Berry
d4bea1f28d core: owner_fallback(): rework to be consistent with other functions. 2017-07-12 15:31:30 -05:00
Jimmy Berry
cf1c6f5db3 core: provide depends_on(). 2017-07-12 15:31:30 -05:00
Jimmy Berry
84fc6fdc61 core: maintainers_get() provide option to get project maintainers. 2017-07-12 15:31:30 -05:00
Jimmy Berry
7c6f67979a core: extract maintainers_get(), owner_fallback() from MaintenanceChecker.
Allows the code to be properly shared between checkrepo and
check_maintenance_incidents as a todo suggests. Given that the majority of
similar cases for code sharing are extension of osc.core it seems to make
sense to place them in osclib.core.
2017-07-12 15:31:30 -05:00
Jimmy Berry
c946aac3c3 core: provide target_archs(). 2017-06-14 23:53:12 -05:00
Jimmy Berry
98397ea758 core: provide package_list() and utilize in issue-diff.py. 2017-06-14 23:50:28 -05:00