120 Commits

Author SHA1 Message Date
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
485b1ae0a9 Change openSUSE_Factory to standard repo. 2014-05-20 12:26:55 +02:00
Stephan Kulow
3a4dcdce6b random fixes 2014-05-18 21:43:41 +02:00
83ccd93ff6 action #2388 Wrong error message related with md5 2014-05-06 15:23:01 +02:00
333e195da3 Remove basic pep8 warnings 2014-05-06 15:23:00 +02:00
Stephan Kulow
2d98387c11 the rpm regexp was wrong for local downloads
While I debugged this, I also reworked the prints
2014-04-22 11:46:43 +02:00
Stephan Kulow
6d9b3935ae sync repo cache dir with rebuildpacs 2014-04-10 08:54:06 +02:00
Stephan Kulow
31d9d7d92a sync the factory repo first and then check 2014-03-28 16:13:52 +01:00
26a9f29c6f action #1934 Change check_repo (cr) command to attend ordered IDs 2014-03-18 14:53:47 +01:00
5b0280ffb1 Fix a bug in the cycle detector when goodrepos is empty 2014-03-18 13:16:34 +01:00
32f80710eb Remove _get_base_build_bin _get_base_build_src 2014-03-04 15:01:21 +01:00
fc026be5f1 Remove dead code 2014-03-04 14:41:52 +01:00
017d959d79 action #1755 repo checker mischecks groups 2014-03-04 14:34:49 +01:00
Stephan Kulow
5c6ee06651 we need to check requests not in group too - on their own 2014-02-18 21:00:02 +01:00
Stephan Kulow
68d60770b1 the check_repo_download function needs to return a set - even for errors 2014-02-18 10:40:45 +01:00
Stephan Kulow
4bf3f388f8 we need still need to fetch the complete group 2014-02-18 10:40:45 +01:00
Stephan Kulow
3e042b1fd2 replace OBS groups with review groups defined in staging prjs
(issue 1290)
2014-02-18 10:00:07 +01:00
Stephan Kulow
c628e8eab0 really skip the other repos 2014-01-23 12:59:07 +01:00
Stephan Kulow
3e32c56137 don't compare int with string (I wonder python doesn't raise) 2014-01-23 12:33:28 +01:00
Stephan Kulow
571bf8574a fix off-by-one bug introduced by Thomas 2014-01-23 12:15:38 +01:00
Stephan Kulow
ae029dab9c don't crash for ppc stuff that have no repos linking to factory 2014-01-23 12:01:20 +01:00
Tomáš Chvátal
f7816dce60 Check for mtime of downloaded files too so we replace when required. 2014-01-21 15:08:36 +01:00
Stephan Kulow
00773afc63 fix excluded builds 2014-01-02 21:27:37 +01:00
Stephan Kulow
c7bd0df064 we can't simply take other request's repos
they might come from different projects. It just worked in most cases
because most projects name is openSUSE_Factory
2014-01-02 09:52:19 +01:00
Stephan Kulow
96cb1c3d66 fix return value 2014-01-01 17:26:48 +01:00
Stephan Kulow
0b9fa26a19 rework the repo logic to be able to prepare multiple repos 2014-01-01 16:41:24 +01:00
ba764c73d6 Rename Package class to avoid collision 2013-12-18 14:39:38 +01:00
Stephan Kulow
b88cc8ab46 remove the check for :Build for now - cycles will have to do 2013-11-29 09:02:36 +01:00
4762d29193 3th version of the fix. Map it to a fail state. 2013-11-11 13:53:59 +01:00
5ad869c893 Fix space 2013-11-11 12:06:26 +01:00
a4f06a1cda Fix again error message. Sorry 2013-10-28 15:45:05 +01:00
019ccbc2e8 Improve error message when revision missmatch 2013-10-28 15:45:05 +01:00
Stephan Kulow
2717a938a3 almost alberto, almost 2013-10-05 08:55:02 +02:00