1362 Commits

Author SHA1 Message Date
Stephan Kulow
1b338c6507
Merge pull request #2412 from nilxam/py3_cleanup_rings
cleanup_rings: fix python3 bytes/string type error
2020-03-05 12:20:31 +01:00
Stephan Kulow
3a8b42b001
Merge pull request #2414 from coolo/make_rabbit_repoid_stable
Make rabbit repoid stable
2020-03-05 12:20:08 +01:00
Stephan Kulow
6e84bae03a Make rabbit-repoid more stable
Instead of fetching all OBS repos in one loop and running into a timeout,
slice this into 25 repos every 5 seconds until it's done
2020-03-04 12:58:52 +01:00
2f980076cc cleanup_rings: fix python3 bytes/string type error 2020-03-03 15:55:40 +08:00
28d3767e81
Replace declined requests
A common workflow is:
* pkg is being marked for deletion by repo-checker [botdel]
* User comes to the rescue and fixes the package, Submits the fix
* Commonly, the delreq is being declined (by factory-maintainer)
* factory-auto declines SR, as pkg now has a delreq and subreq pending
* factory-auto does not consider the 'declined' request as replacable
  and complains that it should be revoked (or superseded). Since the
  del req was created by repo-checker, 'nobody' has the credentials to
  revoke the request. The user, not having a role in the old SR, has
  no permission to supersede

So let's just accept a delete request in statet 'declined' as something
  that can be replaced by a submit request for the same package.
2020-02-28 12:52:01 +01:00
7a06008735
Merge pull request #2403 from Vogtinator/dodmirror
Support DoD repos in project-installcheck
2020-02-24 08:48:25 +01:00
Fabian Vogt
5458650f71 Fix typos 2020-02-19 13:57:16 +01:00
7c86e7f219 stagingapi: replace staging project URL to staging workflow on adi project 2020-02-19 20:08:11 +08:00
Fabian Vogt
4d05766e9a Some refactoring 2020-02-12 09:48:45 +01:00
Fabian Vogt
cb36beedcc Add support for DoD repos to installcheck 2020-02-11 14:43:21 +01:00
fc77bd123d
Staging accept: No longer set the version in .product files on accept
In the past, we had a dashboard reading the version of the current source from the .product file.
Not immediately updating this version after a checkin would have been confusing as the dashboard would
have shown incorrect/outdated information.

the new dashboard (https://factory-dashboard.opensuse.org) reads the source version directly from the
attribute, so this mis-match is eliminated.

The .product files will be updated by pkglistgen in due time.
2020-01-31 14:49:33 +01:00
7effeb49e5 stagingapi: StagingAPI doen't initial api itself 2019-12-10 18:20:20 +08:00
Stephan Kulow
1a22a59cb0
Merge pull request #2369 from coolo/fix_2368
Do not return after adi project is accepted
2019-12-10 10:55:42 +01:00
Stephan Kulow
271fa912ed Do not return after adi project is accepted
Fixes #2368
2019-12-10 09:55:10 +01:00
ec88760187 Fix Flake E241
One more step towards white space sanity. Next group is E20x.
2019-12-10 08:46:02 +01:00
52b46a8f47 Fix installcheck for arm architectures
armv6l/armv7l are the exception of the rule where the rpm architecture
specifying an abi marker that is not visible in the kernel uname
architecture (because the kernel can do either). The build service
decided to use the kernel architecture rather than the rpm architecture,
so we need to map armv6l (kernel arch) to armv6hl (hard float, rpm arch)
2019-12-10 08:36:19 +01:00
Stephan Kulow
a354d6c882 Always force accept into the API after checking for acceptable ourselves
This removes the 2nd line of defense, but there is no API to accept multiple
stagings at once to avoid the underlying problem.

Fixes #2364
2019-12-09 10:08:47 +01:00
Stephan Kulow
a7a7921c94 Have staging accept without argument take all green 2019-12-06 14:32:25 +01:00
Stephan Kulow
345321f98d Don't take multibuild packages as subpackage of itself 2019-12-06 11:43:59 +01:00
Stephan Kulow
00bacac61e
Merge pull request #2361 from coolo/remove_adi
Delete adi projects whenever we'd build disable them
2019-12-06 10:45:01 +01:00
Stephan Kulow
b60333075a Delete adi projects whenever we'd build disable them 2019-12-06 07:35:38 +01:00
Ludwig Nussel
0eb12a53c4 Improve _multibuild on accept 2019-12-05 16:52:05 +01:00
Stephan Kulow
7113e5fedc Add test for selecting multibuild with 2 spec 2019-12-05 16:52:05 +01:00
Stephan Kulow
ce9158abcc Remove support for ring2 2019-12-05 16:52:05 +01:00
Stephan Kulow
660ec7a790
Merge pull request #2358 from coolo/stop_adi_accept
No longer close acceptable adi stagings
2019-12-04 20:18:40 +01:00
Stephan Kulow
15b6634ca4 No longer close acceptable adi stagings
This is merely an experiment to shorten the time that packages end up
in ready lane
2019-12-04 16:21:27 +01:00
Stephan Kulow
840660c023 Fix setprio command to use current API
Fixes #2353
2019-12-04 15:36:45 +01:00
Stephan Kulow
0c6f43f448
Merge pull request #2337 from coolo/add_check
Reuse function of accept to check local links
2019-12-04 13:28:29 +01:00
2b4d57b23c
Merge pull request #2352 from DimStar77/2349
Only check for the rebuild project if cbuild has been set
2019-12-03 16:48:07 +01:00
86651a28f9
Only check for the rebuild project if cbuild has been set
Fixes issue #2349
2019-12-03 15:25:45 +01:00
Stephan Kulow
ae1b6ea152
Merge pull request #2346 from dirkmueller/flake8
Some flake8 improvements
2019-11-27 12:43:57 +01:00
5ad26cba17 Gracefully handle utf8 errors in installcheck
The provides/requires can contain utf8 coding errors, as installcheck
is not actually producing utf8 encoded output but simply prints literal
bytes.
2019-11-27 11:10:21 +01:00
32ad0adc2d Fix all E22x errors
This cleans up white spaces around various kinds of operators to be
consistent.
2019-11-27 11:08:06 +01:00
8483632683 Some flake8 improvements
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Stephan Kulow
338a0adf14 Remove linkpac code - the api is doing this (for the main package) 2019-11-26 15:57:39 +01:00
Stephan Kulow
fb928e3637 No longer ignore exceptions on unstage 2019-11-26 15:56:33 +01:00
ab97823964 stagingapi: Supersedes request is from the same project
If the request is from the same project then just supersedes the old
ones. The request is from the different project then put it to excluded
list as the right behavior for Leap.
2019-11-26 19:23:32 +08:00
Stephan Kulow
90a843f9f7 Implement select --move by unselect+select 2019-11-25 17:09:39 +01:00
Stephan Kulow
0b79c5d45b Repair repair command 2019-11-25 07:36:37 +01:00
Stephan Kulow
2bfc87088d Reuse function of accept to check local links 2019-11-24 20:04:42 +01:00
Stephan Kulow
8576f22876 Fix test suite for accept 2019-11-24 19:21:14 +01:00
Stephan Kulow
66c4800520 Fix local links 2019-11-24 17:26:55 +01:00
Stephan Kulow
49bfafb183 Accept all stagings at the same time 2019-11-24 16:21:32 +01:00
Stephan Kulow
d4d9382a9e remove links before accepting staging projects 2019-11-24 13:18:27 +01:00
Stephan Kulow
63bda17769 Collect packages for all stagings and ready before accepting 2019-11-24 11:00:47 +01:00
Stephan Kulow
62f97d15d1 Fix accept command to force accept through API 2019-11-22 13:21:55 +01:00
Stephan Kulow
b01b7d529a Move accept logic into accept_command 2019-11-22 13:21:48 +01:00
fb87bf19d8 stagingapi: just superseding old obsoleted request 2019-11-22 19:00:43 +08:00
ec3a4a0447 stagingapi: Don't do any change for excluded request
If the reqeust was in the excluded list, those can not be change the
state or any other action on them, therefore ignores them during
superseding.
2019-11-22 18:53:06 +08:00
Stephan Kulow
3b00aaf262 One more fix for unignore command 2019-11-21 18:37:50 +01:00