Fabian Vogt
cd32d69bb8
Build containerfile and images repos against each other
2021-03-10 15:22:33 +01:00
Fabian Vogt
1ae33041ba
Add a containerfile repo to adi stagings
...
It builds against the adi's images repo (if available) and standard as well.
2021-03-10 15:19:05 +01:00
Fabian Vogt
63c7292ee8
Also add required checks to adi stagings after adding architectures
...
Otherwise the newly added archs don't have any required checks assigned.
2020-12-16 08:48:23 +01:00
Jan Zerebecki
72d2446bf9
fix cutting off part of a stagings name
...
When self.cstaging is the empty string the first char is cut off. Fix
this by testing for that case.
2020-07-06 19:49:48 +02:00
1bfbf08fe7
stagingapi: do not add multibuild flavor package to the ring package list
2020-04-29 22:33:48 +08:00
6c087e8a86
stagingapi: allow multibuild package spreads across ring
2020-04-29 22:32:15 +08:00
Stephan Kulow
f28b520a92
Wipe all multibuild flavors for delete requests
...
Fixes #1899
2020-03-25 16:07:19 +01:00
Stephan Kulow
0cef959328
Work around OBS issue 8994
...
Instead of declining the by_project review, unselect the request and
decline the group review. This way we avoid the OBS problem
2020-03-18 22:40:47 +01: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
7c86e7f219
stagingapi: replace staging project URL to staging workflow on adi project
2020-02-19 20:08:11 +08:00
7effeb49e5
stagingapi: StagingAPI doen't initial api itself
2019-12-10 18:20:20 +08: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
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
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
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
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
Stephan Kulow
8d62e931e3
Simplify request list calculation
...
Changing to backlog API is way too complex for the gain, so just keep
calculating it in the client
2019-11-21 15:58:58 +01:00
Stephan Kulow
a8cf9c4c94
Merge pull request #2333 from coolo/remove_nonfree
...
Remove nonfree handling
2019-11-21 15:12:17 +01:00
Stephan Kulow
529c5623a6
Remove nonfree handling
...
Prepare NonFree as onlyadi project, so it can have its own staging workflow
2019-11-21 14:49:29 +01:00
e2105c5ed8
Merge pull request #2332 from nilxam/more_fixes_unignore
...
More fixes unignore
2019-11-21 19:19:07 +08:00
983587f5d7
stagingapi: Remove ignored requests part from rq_to_prj()
...
The feature will move to OBS api call.
2019-11-21 18:55:25 +08:00
4b624b0d42
stagingapi: make sure the key of ignored_requests is integer type
2019-11-21 18:14:00 +08:00
Stephan Kulow
0402f0abb2
Adopt to latest API changes
...
we decided to drop the `number` as it's `id` everywhere else
2019-11-21 08:26:26 +01:00
Stephan Kulow
938241c862
Merge pull request #2321 from coolo/disable_splitter_info
...
Disable splitter info until we find a better place to store it
2019-11-20 19:55:24 +01:00
Stephan Kulow
ed686aa880
Merge pull request #2326 from coolo/fix_unignore
...
Fix unignore command
2019-11-20 19:54:29 +01:00
Stephan Kulow
25350bf095
Disable splitter info until we find a better place to store it
...
This leads to staging-bot preferring none strategy for all, but it
will pick stacks in free stagings, which is good enough
2019-11-20 17:05:45 +01:00
Stephan Kulow
47be399740
Merge pull request #2325 from nilxam/new_api_suppkg_rebuild
...
suppkg_rebuild: Move to new staging api
2019-11-20 17:04:42 +01:00
Stephan Kulow
85761fef1a
Fix unignore command
2019-11-20 17:03:46 +01:00
Stephan Kulow
8c5ee9257f
Fix for frozen_enough test
2019-11-20 16:10:30 +01:00
534f1d8b70
stagingapi: Remove unneeded logging in get_package_for_request_id()
2019-11-20 15:48:16 +08:00
Stephan Kulow
6823ccfff0
Fix supersede: we need to unstage always with new api
2019-11-19 20:19:25 +01:00
Stephan Kulow
d126c8a357
Fix for reviews (OBS issue is fixed)
2019-11-19 15:53:47 +01:00
Stephan Kulow
ffe92526fa
Fix rebuild command
2019-11-19 12:57:13 +01:00
Stephan Kulow
ac2ff9c2cb
Fix for ignore command
2019-11-19 08:04:11 +01:00
Stephan Kulow
920c9bb669
Fix request list: the API was changed not to require status for obsolete
2019-11-19 08:04:11 +01:00
Stephan Kulow
2f5354b09d
Fix for unselect command
2019-11-19 08:04:11 +01:00
Stephan Kulow
26772ff058
Optimize request_id_for_package
2019-11-19 08:04:11 +01:00
Stephan Kulow
b91cc995dd
Fixes for adi command
2019-11-19 08:04:11 +01:00
Stephan Kulow
1ca260e663
Fix for status checks in check command
2019-11-19 08:04:11 +01:00