165 Commits

Author SHA1 Message Date
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
3d9ae2bcba Add error messages for other execution plans where there is not standard repo 2014-06-23 14:42:19 +02:00
d565200a2c Improve error messages.
- Show only the error messages for standard repo (staging projects)

- Cache error messages to show only one instance
2014-06-23 13:45:48 +02:00
0197930ff9 Remove debug output. 2014-06-23 11:07:33 +02:00
93b725b74b Takes care of :DVD. 2014-06-23 11:04:20 +02:00
88a5db6a56 action #2432 - Refactor the repo checker to look for broken dependencies in staging prjs
First approach to this.  In this version we create a execution_plan
where there are one (for now) fallback if the plan fails.

If the logic is correct, needs to be refactored a lot:

- Plans are combination of different repos, we need to priorize
  certain repos over the rest, or explore all the combinations.

- execution_plan is using as index the main repo, this is confusing.

- The overall code is confusing and unordered, with creation of
  fields dynamically in the Request class, like goodrepo, goodrepos,
  downloads, etc.  This needs to be done in an ordered way
2014-06-23 11:04:20 +02:00
a2555f9b27 Moving more parts. 2014-06-23 11:04:19 +02:00
97b57e1934 Refactor the mirror script call. 2014-06-13 16:10:54 +02:00
550e98d6c2 Refactor of check_one_request into checkrepo module. 2014-06-12 18:26:09 +02:00