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
d89bafcc5e
Remove reference to groups in DECLINE message.
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
4e8173179b
Return only cycles.
2014-06-04 11:04:37 +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
75b211ff5a
Downloads is now a constant parameter.
2014-06-04 11:04:37 +02:00
5ffce7895e
Move Graph into osclib.
2014-06-04 11:04:36 +02:00
cf49dfce3d
Fix again #2388 .
2014-06-04 11:04:36 +02:00
d43e20a6d4
Avoid decline when link is different.
2014-06-04 11:04:36 +02:00
0c445c6bff
Fix package / project interchange.
2014-06-04 11:04:36 +02:00
80f804c246
Detect the repos and arch from the lastbuild.
2014-05-20 12:26:55 +02:00
b5bc70b248
Search repository in standard and openSUSE_Factory.
2014-05-20 12:26:55 +02:00