77 Commits

Author SHA1 Message Date
b9c98afa34 More sensible output in check_disturl()
More sensible output in check_disturl(). And changed the output flag to
WARNING than DECLINED as it did not really decline the request.
2016-04-20 17:32:26 +08:00
518586506d Output the additional message if the request is outdated in the devel project
The additional message will look more clear than telling it's bad
disturl and no matching downloads available. Note that, before executing
in check_disturl(), there is another place to check the revision which
was in check_specs(), but it was mainly for 2nd spec.

And makes DECLINED message consistently.
2016-04-19 21:52:31 +08:00
8c6ef7ff80 repochecker: Adjust the decline message for missing binaries
Some users are confused as the old message "package never built" does
not have to be true in many cases, especially on longer-lasting
stagings. In this case, the binaries might have been built but have
since been replaced by newer ones - the effect is the same: repo-checker
can't receive them in order to perform the full checks.
2016-04-12 11:15:39 +02:00
2c5e84b2b3 Fixes previous commit 2016-03-23 18:11:48 +08:00
128d97ba5f Add the possible repo candidates
Add the possible repo candidates to repos_to_check, those candidates
need to have binaries for check.
2016-03-23 17:44:20 +08:00
806fb3e158 Check the common Factory build repository only
Adding the common Factory build repository to the candidate repos only,
adn re-introduced build_excluded attribute. If it haven't good repo ie.
builds against ARM, PPC, images, i586 only or whatever, leave them there
for human to check.

Verified with SR#359327, SR#360767, SR#361364 and SR#361243.
2016-02-25 22:58:13 +08:00
e8fac472da Need to care about unknown status 2016-02-25 02:59:11 +08:00
3fb42d1385 Do not count excluded repository as good repo
Fix https://progress.opensuse.org/issues/10888
2016-02-24 19:56:31 +08:00
Alberto Planas
122b43e304 Detect OBS fails and improve the error messaging. 2015-08-28 12:58:02 +02:00
Alberto Planas
b4b5cd34a9 Move the Config call from checkrepo to the caller. 2015-02-26 11:47:11 +01:00
Alberto Planas
5a6ffa6505 If any goodrepo have no missing, the request have no missings. 2015-02-24 18:01:28 +01:00
Alberto Planas
6aad8caeb2 Fix cycle detector for new packages. 2015-02-19 14:14:49 +01:00
Alberto Planas
c9d1e06ca8 Refactor configuration parameters into configuration file. 2015-02-19 11:39:05 +01:00
Alberto Planas
26dcd7f965 Detect if the author of a delete request iis the maintainer of tgt_project 2014-11-12 16:58:34 +01:00
Alberto Planas
96dab1d6e6 Change the way to evaluate DELETE request
- Add withhistory to recover the creator
- Remove the check of the user creator test for now, I need
  to figure out how to detect who is the maintainer in the
  tgt_project
- Check that the package is not needed in the tgt_project
  (usually Factory)
2014-11-12 14:08:00 +01:00
Alberto Planas
09b988895a Improve the error message for DELETE requests. 2014-11-10 14:05:49 +01:00
Alberto Planas
5bd0626e30 Default "who" to None for the _author() 2014-11-04 11:09:40 +01:00
Alberto Planas
4af48f4c96 Improve clean_cache method. Add a test. 2014-10-14 17:10:07 +02:00
Alberto Planas
425a7ea663 Implement an external cache for checkrepo 2014-10-01 17:49:39 +02:00
Alberto Planas
503ca7f6f2 Remove all cache logic... for now. 2014-09-29 16:28:50 +02:00
Alberto Planas
482da28be6 Do not download requests without RPM. 2014-09-29 16:28:50 +02:00
ce6fa20551 Query NonFree SR. 2014-09-22 17:37:37 +02:00
d0a1124e18 Cache verify_md5 calls 2014-09-18 16:05:51 +02:00
94e0709896 Add a remainder to fix the cache 2014-09-18 16:05:50 +02:00
270de09833 Hide local bin rpm cache dir path inside module 2014-09-18 16:05:50 +02:00
49a257cc6a Some PEP8 fixes. 2014-09-01 09:43:44 +02:00
Ludwig Nussel
df1a2a0f9f add debug function to checkrepo 2014-08-28 17:16:01 +02:00
Ludwig Nussel
b39739e1ac also protect delete with --dry 2014-08-27 13:22:23 +02:00
Ludwig Nussel
d4223d94a1 add --verbose and --dry options 2014-08-27 11:36:08 +02:00
8acd18874f Add a new check. When the SPEC file is different from the package name. 2014-08-22 10:56:23 +02:00
c0259013a4 action #3206 - auto review for delete requests 2014-08-21 17:01:01 +02:00
a7e9b395bf Remove the link from the shadow project. 2014-08-20 17:49:21 +02:00
831bc38d38 Fix the Request constructor when multiple SPECs. 2014-08-20 10:49:12 +02:00
0537cd1003 Fix the check_repo to takes care of shadow RQ. 2014-08-19 16:49:25 +02:00
9261518954 Implement the openSUSE:XX.X:Devel workflow. 2014-08-18 17:21:01 +02:00
4ec5ada8f7 Initial steps to make check_repo Factory agnostic. 2014-08-13 09:47:02 +02:00
521d6d0fa8 Use the review state instead onf the request state in change_review_state(). 2014-08-01 10:00:48 +02:00
37ff8d239e Fix find_request_id. 2014-07-24 11:01:30 +02:00
e7377fc070 action #759 - Fix repo checker not to reopen skips. 2014-07-23 16:50:04 +02:00
c4e3bdb5b0 Avoid duplicated information in the downloads field. 2014-07-23 14:23:17 +02:00
4fc8c43187 Takes care when there is an error in the spec file. 2014-07-23 13:05:33 +02:00
b985c2b637 Change cache strategy.
The request can be partially cached.  When this is the case, we
still try to download the packages (avoided in the last moment
by the original cache system).  But there is a prepopulated
data in 'download' and 'missings' in the request that are agregated
with the new data.
2014-07-22 17:19:17 +02:00
925d88cd9e Rename CheckRepo._download method. 2014-07-21 16:29:49 +02:00
9580834238 Move more fuctions to checkrepo.py 2014-07-21 14:33:48 +02:00
57207f3890 Revert "Allow extra packages in a request."
This reverts commit 2a8da7ce5cbe64631ae47e17c821a9323e74299a.
2014-07-21 11:10:46 +02:00
2a8da7ce5c Allow extra packages in a request. 2014-07-18 20:19:08 +02:00
3d5201b5c6 Fix fixtures and tests. 2014-07-17 14:58:02 +02:00
Stephan Kulow
3b14b96a66 support delete requests
we track the target package to download the toignore tracking
2014-07-17 11:36:05 +02:00
62001bcf9a action #2876 - Request.missing is not propley set in cached packages 2014-07-14 16:59:10 +02:00
d3d702fc2a Remove unused imports. 2014-07-08 15:33:10 +02:00