618 Commits

Author SHA1 Message Date
8c6ef7ff80 repochecker: Adjust the decline message for missing binaries
Some users are confused as the old message "package never built" does
not have to be true in many cases, especially on longer-lasting
stagings. In this case, the binaries might have been built but have
since been replaced by newer ones - the effect is the same: repo-checker
can't receive them in order to perform the full checks.
2016-04-12 11:15:39 +02:00
85674b31c5 Show package also in adi command 2016-04-11 13:53:23 +08:00
8fa6783c3f Do not check totest on SLE
If release-notes-sles is existed then it is not openSUSE Factory but
SLE, hence do not check totest and openSUSE-release.rpm on it.

And add try/except protection in get_binary_version otherwise it will
crashes in case the package is not existed.
2016-03-25 18:55:36 +08:00
2c5e84b2b3 Fixes previous commit 2016-03-23 18:11:48 +08:00
128d97ba5f Add the possible repo candidates
Add the possible repo candidates to repos_to_check, those candidates
need to have binaries for check.
2016-03-23 17:44:20 +08:00
806fb3e158 Check the common Factory build repository only
Adding the common Factory build repository to the candidate repos only,
adn re-introduced build_excluded attribute. If it haven't good repo ie.
builds against ARM, PPC, images, i586 only or whatever, leave them there
for human to check.

Verified with SR#359327, SR#360767, SR#361364 and SR#361243.
2016-02-25 22:58:13 +08:00
e8fac472da Need to care about unknown status 2016-02-25 02:59:11 +08:00
3fb42d1385 Do not count excluded repository as good repo
Fix https://progress.opensuse.org/issues/10888
2016-02-24 19:56:31 +08:00
9a03a60f62 Fix PUT data never send 2016-02-18 18:25:51 +08:00
Ludwig Nussel
34b6e1da89 Merge pull request #460 from DimStar77/unselect-better-msg
unselect: Do not state we accepted the request, but give a better mes…
2016-02-16 15:43:53 +01:00
73c0050fbd unselect: Do not state we accepted the request, but give a better message 2016-02-10 11:04:39 +01:00
Ludwig Nussel
8c53f9f8f0 don't use recursive retry
don't use recursion and don't hammer server
2016-02-05 16:26:16 +01:00
Ludwig Nussel
322a41b465 add locking options for SLE 2016-02-01 16:35:59 +01:00
Ludwig Nussel
11b25be352 Merge pull request #444 from DimStar77/accept-ready_check
staging accept: check if /totest is properly synced before changing /…
2015-12-21 16:29:05 +01:00
ce218979c4 staging accept: check if /totest is properly synced before changing /standard 2015-11-30 11:22:50 +01:00
37af83e927 Check subproject is exist before delete package
It's workaound for https://progress.opensuse.org/issues/9646, suppose it
is adi staging in case current project doesn't have ":DVD" subproject,
and the package is exist in current project.
2015-11-24 19:36:04 +08:00
0daad0fd1c auto-superseding in adi command 2015-11-19 20:23:10 +08:00
25f55b33ee fixing wrong cast while add to srs 2015-10-14 17:38:09 +08:00
Stephan Kulow
4afc30ffc0 fix request casting
the error wants strings, but the cast is happening to early
2015-10-04 10:38:56 +02:00
a3f59150af Do not superseding requests with list command
Do not superseding requests with list command, but if had the permission
of staging, can executing with --supersede argument, or even against
specific requests.
2015-10-01 19:59:40 +08:00
Stephan Kulow
51ad423ec0 fetch crash 2015-09-30 05:47:53 +02:00
dc5e797df1 list all deletereq request as in-ring 2015-09-09 16:18:20 +08:00
3cf6c7c55f do not process the rest request type than submit in adi 2015-09-09 15:26:05 +08:00
62a1946064 split the view for change_devel requests 2015-09-09 15:11:47 +08:00
Stephan Kulow
a3259f56e0 Merge pull request #407 from openSUSE/retry
retry 5xx - especially needed for view=info calls
2015-08-30 18:20:08 +02:00
Stephan Kulow
dccb5d39c4 avoid division for 5XX 2015-08-30 17:00:21 +02:00
Alberto Planas
c91baf7622 Restore the build status in the freeze command. 2015-08-28 14:49:47 +02:00
Alberto Planas
f0cb13e9b9 Add method to recover status of a flag in _meta 2015-08-28 14:49:15 +02:00
Alberto Planas
122b43e304 Detect OBS fails and improve the error messaging. 2015-08-28 12:58:02 +02:00
Alberto Planas
f5e1d88dcf Use better parameter name. 2015-08-28 10:46:04 +02:00
fa6f508883 Add --by-develproject argument to adi command
If with --by-develproject, adi command will check devel project of
source package before selecting requests to adi staging.
2015-08-27 20:38:16 +08:00
Stephan Kulow
16c9e16cdb support --move in adi - create a new adi for the given arguments 2015-08-25 07:12:08 +02:00
4603bee62c adi_command: only run create_new_adi() if the user has permission to do so (based on group membership) 2015-08-06 15:54:57 +02:00
69e1771a11 API: add a is_user_member_of() function 2015-08-06 15:54:56 +02:00
Stephan Kulow
3626a795a4 Merge pull request #378 from aplanas/master
Memoize get_prj_pseudometa results
2015-08-05 10:28:55 +02:00
Alberto Planas
d7f445264f Memoize get_prj_pseudometa and invalidate in set_prj_pseudometa 2015-08-03 13:21:44 +02:00
Alberto Planas
66b0d346a3 Add external invalidation mechanism to memoize. 2015-08-03 13:21:44 +02:00
Stephan Kulow
c99a15b0b4 check for target project too in request finder
prject=openSUSE:Factory package=yast2 finds also packages going into 42,
which is not what we want
2015-07-31 03:28:01 +02:00
Stephan Kulow
bb3416d4ad don't crash on delete requests 2015-07-28 13:01:30 +02:00
Stephan Kulow
6b37247b66 create several adi stagings - one per source project 2015-07-28 11:16:52 +02:00
Stephan Kulow
7df8a13c8d don't build disable adi projects 2015-07-27 11:16:53 +02:00
Stephan Kulow
1253661500 Merge pull request #372 from openSUSE/coolo_adi
add adi command to create an ad interim staging prj for all non-ring …
2015-07-20 10:52:04 +02:00
Stephan Kulow
555c23e10c allow projects (42) to exclude archs (ppc64le) 2015-07-19 17:50:46 +02:00
Stephan Kulow
88392bda58 automatically check 2015-07-19 10:10:30 +02:00
Stephan Kulow
78eec38b4f check adi stagings and allow arguments to adi 2015-07-19 09:32:32 +02:00
Stephan Kulow
595e78ebbc fix sorting of adi projects 2015-07-18 14:44:41 +02:00
Stephan Kulow
ab4349d634 don't freeze adi projects 2015-07-18 14:12:58 +02:00
Stephan Kulow
24fcd9cffd fix previous change 2015-07-16 19:35:22 +02:00
Stephan Kulow
5de87f84e4 add adi command to create an ad interim staging prj for all non-ring packages 2015-07-16 15:09:26 +02:00
Alberto Planas
85c9cd239c Add create_adi_project method in stagingapi. 2015-07-16 13:42:23 +02:00