59 Commits

Author SHA1 Message Date
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
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