40 Commits

Author SHA1 Message Date
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
e121e76f2c Remove unused method. 2014-07-07 11:57:25 +02:00
4329ceff8b Improve pasteability. 2014-07-04 14:21:43 +02:00
026b0fb0e2 Store verifymd5 in the request. Use it in check_disturl. 2014-07-04 13:34:53 +02:00
feba69e4d5 SPECs files have the scrmd5 form the original request. 2014-07-04 10:41:12 +02:00
c0c4977001 Remember the call with a rev param. 2014-07-03 15:53:58 +02:00
8ca7a36266 Remove bad repos from local cache. 2014-07-02 14:04:55 +02:00
da8dd705b0 A new way to make plans. 2014-07-01 19:55:17 +02:00
72bf8af9e3 Add is_cached attribute. 2014-07-01 10:33:58 +02:00
23419e638e Separate memoized function for easy tests. 2014-07-01 09:30:54 +02:00
43d5d99a5e Some improvements in the output. 2014-07-01 09:30:53 +02:00
3e98a7545c Together with goodrepos, takes care of downloads.
There are many fields tracked with a request object that are
assigned during the check process.  The field downloads was
missing too.  The next one is possibly to_ignore.
2014-06-27 11:06:23 +02:00
2fb9555648 The cache takes care of goodrepos. 2014-06-26 16:44:30 +02:00
01dfc4d9ce Small fix. Also disable the local search for now. 2014-06-26 15:30:31 +02:00
b297237a79 Fix a missing continue. 2014-06-25 12:55:07 +02:00
c593116f2a Remove the print in check_specs. 2014-06-25 12:00:07 +02:00
c206367acb Initial steps to detect valid packages in the cache. 2014-06-25 12:00:07 +02:00
b0730b0b5e Fix and document more dynamic fields in Request. 2014-06-23 11:04:19 +02:00
a2d6c19377 Fix call to change_review_state 2014-06-23 11:04:19 +02:00
eb7d775ed4 Fix variable result 2014-06-23 11:04:19 +02:00
a2555f9b27 Moving more parts. 2014-06-23 11:04:19 +02:00
a67e1a392f Fix bug when groups are created. 2014-06-13 16:11:15 +02:00
550e98d6c2 Refactor of check_one_request into checkrepo module. 2014-06-12 18:26:09 +02:00
7ce107a28d A missing XML is marked with an empty string. 2014-06-06 16:23:33 +02:00
a5c4d1d4b6 Move out memoized functions. 2014-06-05 17:46:38 +02:00
209dc8f961 Move pending_requests and get_request. 2014-06-04 16:33:55 +02:00
6ff892fdf2 Move change_review_state. 2014-06-04 16:33:55 +02:00
e96f85dc38 More refactoring:
- Extract all the graph and cycle logic.
- Extract memoize.
- Start with CheckRepo.
2014-06-04 11:04:37 +02:00