5799 Commits

Author SHA1 Message Date
Stephan Kulow
094b5d1bf7
Merge pull request #2341 from nilxam/supersede_fix_2
stagingapi: Supersedes request is from the same project
2019-11-26 12:57:58 +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
9223dbef20
Merge pull request #2340 from coolo/add_move
Implement select --move by unselect+select
2019-11-25 18:43:37 +01:00
Stephan Kulow
90a843f9f7 Implement select --move by unselect+select 2019-11-25 17:09:39 +01:00
Stephan Kulow
8924e68d5f
Merge pull request #2338 from coolo/fix_repair
Repair repair command
2019-11-25 08:05:07 +01:00
Stephan Kulow
0b79c5d45b Repair repair command 2019-11-25 07:36:37 +01:00
Stephan Kulow
886dc106eb
Merge pull request #2336 from coolo/fix_accept
Fix accept
2019-11-24 20:00:24 +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
Stephan Kulow
9008d7e265
Merge pull request #2335 from nilxam/superseding_fixes
Superseding fixes
2019-11-22 12:26:54 +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
b9917b863e
Merge pull request #2334 from coolo/backlock_api
Simplify request list calculation
2019-11-21 16:23:29 +01:00
Stephan Kulow
6bde37f839 Reenable Locking (was disabled to ease testing) 2019-11-21 16:04:59 +01:00
gyr
38ea9f5533 Added release to PUBLISH for SLE15-SP2 2019-11-21 16:04:32 +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
Stephan Kulow
85d7441df8
Merge pull request #2331 from coolo/adopt_api
Adopt to latest API changes
2019-11-21 11:50:51 +01:00
a72573fee8 unignore: use dict iteration to matching the key 2019-11-21 18:15:15 +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
eacbffad34
Merge pull request #2324 from coolo/accelerate_select
Speedup select: Avoid supersede calculation if pointless
2019-11-20 19:55:55 +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
18e8853bdd Speedup select: Avoid supersede calculation if pointless 2019-11-20 17:05:10 +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
23577b8981
Merge pull request #2327 from coolo/fix_testsuite
Fix testsuite for new staging api
2019-11-20 17:03:08 +01:00
Stephan Kulow
e3c7407386 Remove comments tests for selecting 2019-11-20 16:38:19 +01:00
Stephan Kulow
fd1871b99e Fix check_tests - and reduce what we test there 2019-11-20 16:10:30 +01:00
Stephan Kulow
d014002bc3 Disable move test for now
Waiting for https://github.com/openSUSE/open-build-service/issues/7360
2019-11-20 16:10:30 +01:00
Stephan Kulow
8c5ee9257f Fix for frozen_enough test 2019-11-20 16:10:30 +01:00
Stephan Kulow
448795b3fc Fix test_add_sr not to add twice
Once a request is staged, the API refuses to stage again - and avoiding
this in our code is just wasting time, so stop testing it
2019-11-20 16:10:30 +01:00
Stephan Kulow
f3e69183a6 Fix rm_from_project test
The API automatically adds the staging manager back, so the request
won't become 'new'
2019-11-20 16:10:30 +01:00
Stephan Kulow
4655b6c99b Fix accept: first comment then cleanup (comments)
After accept we want empty comments
2019-11-20 16:10:30 +01:00
Stephan Kulow
5cba9ae5b2 Run delayed job in the api container
accepting is a delayed job, so it needs to run in some queue
2019-11-20 16:10:30 +01:00
Stephan Kulow
088ba65690 Adopt accept_tests: Selecting no longer leaves a comment 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
c3d9140692 suppkg_rebuild: Move to new staging api 2019-11-20 15:47:25 +08:00
Stephan Kulow
996128e856
Merge pull request #2322 from coolo/fix_unselect
Fix for unselect with message: need to ignore afterwards
2019-11-19 20:42:17 +01:00