173 Commits

Author SHA1 Message Date
53ee90888d Sometimes __file__ points to the .pyc file. 2014-09-09 13:24:53 +02:00
Ludwig Nussel
52ed1b9dc6 use correct plugin dir 2014-09-03 16:00:48 +02:00
7c398e05cf Replace the assert with _fix_local_cache() 2014-09-01 14:14:38 +02:00
49a257cc6a Some PEP8 fixes. 2014-09-01 09:43:44 +02:00
Ludwig Nussel
2e749642dd print string representation 2014-08-29 15:51:21 +02:00
Alberto Planas
29285c7251 Merge pull request #225 from lnussel/lock
add locking
2014-08-28 19:08:54 +02:00
Ludwig Nussel
0684c50e99 add whitelist for pacakges that have no rpms
when looking at rpmlint-test alone there are no binary rpms at all so just skip it
2014-08-28 17:16:01 +02:00
Ludwig Nussel
df1a2a0f9f add debug function to checkrepo 2014-08-28 17:16:01 +02:00
Ludwig Nussel
b76318788b print stderr and stdout always if there's any 2014-08-28 17:09:01 +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
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
29b8bcca6b Makes staging pluging Factory agnostic. 2014-08-07 12:58:47 +02:00
48c04ab6ea Fix missing symlink. 2014-07-31 14:16:54 +02:00
4d6ae4851c Use coolo's way to hide the bug, but with a warning. 2014-07-29 12:31:28 +02:00
28655f02a8 Priorize Staging in the fallback. 2014-07-29 12:27:18 +02:00
525ff3059e action #2566 - Add command to check only an single staging project. 2014-07-23 15:44:05 +02:00
f1d2e2d3b0 Avoid errors when exiting early. 2014-07-23 15:34:34 +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
336e3d28f5 Add missing (c) header. 2014-07-21 11:28:00 +02:00
d019add4a7 Revert "Takes care to ignore extra packages."
This reverts commit 5a7b2f8832b99700dd6e86ecfb4142c0807427cf.
2014-07-21 11:10:59 +02:00
57207f3890 Revert "Allow extra packages in a request."
This reverts commit 2a8da7ce5cbe64631ae47e17c821a9323e74299a.
2014-07-21 11:10:46 +02:00
5a7b2f8832 Takes care to ignore extra packages. 2014-07-18 20:36:47 +02:00
a1fc7218dc Supress again the warning. 2014-07-18 20:19:08 +02:00
2a8da7ce5c Allow extra packages in a request. 2014-07-18 20:19:08 +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
681196fccd "Found cached version" now do not provide information. 2014-07-15 12:09:16 +02:00
8e946925b6 Don't hide exception when we can't gather the list of RPM in a package. 2014-07-15 11:58:14 +02:00
62001bcf9a action #2876 - Request.missing is not propley set in cached packages 2014-07-14 16:59:10 +02:00
15389927c0 A fresh plan have the proper DISTURL, and a old plan have a proper list of files to ignore. 2014-07-07 11:59:19 +02:00
e38f0f9a0d Separate errors in different lines. 2014-07-04 14:40:05 +02:00
4329ceff8b Improve pasteability. 2014-07-04 14:21:43 +02:00
021c83ece6 Hide 'Found previous link.' complains 2014-07-03 16:21:36 +02:00
4807824691 Do not fail in the symlink. 2014-07-03 15:55:58 +02:00
8ca7a36266 Remove bad repos from local cache. 2014-07-02 14:04:55 +02:00
3adc0e2baa Download first files with disturl. 2014-07-02 10:50:50 +02:00
4aa7be6499 Fix plan in dirstolink. First plan, then request. 2014-07-02 10:28:59 +02:00
da8dd705b0 A new way to make plans. 2014-07-01 19:55:17 +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
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
657f74c565 Detect when there is only one repo as a candidate. 2014-06-25 12:00:07 +02:00