1417 Commits

Author SHA1 Message Date
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
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
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
8c5ee9257f Fix for frozen_enough test 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
534f1d8b70 stagingapi: Remove unneeded logging in get_package_for_request_id() 2019-11-20 15:48:16 +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
Stephan Kulow
6823ccfff0 Fix supersede: we need to unstage always with new api 2019-11-19 20:19:25 +01:00
Stephan Kulow
16fb802361 Fix for unselect with message: need to ignore afterwards
You can't have requests excluded and staged at the same time
2019-11-19 18:17:26 +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
28ec31df5d adi_command: another adi command fixes (#3)
Fix TypeError: 'str' object cannot be interpreted as an integer problem
2019-11-19 12:38:54 +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
841b96f649 Fix adi command for checks 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
Stephan Kulow
82c64003c4 Adopt to the new staging_projects api not revealing all infos 2019-11-19 08:04:11 +01:00
Stephan Kulow
61205d35e3 Some fixes for supersede and unselect
the API changed to /requests
2019-11-19 08:04:11 +01:00
Stephan Kulow
84fd391e3e Started to fix the adi command 2019-11-19 08:04:11 +01:00
Stephan Kulow
6d60067f06 Fix for unselect 2019-11-19 08:04:10 +01:00
Stephan Kulow
18e4675791 Fix select command 2019-11-19 08:04:10 +01:00
Stephan Kulow
cf58ea29da Fix for check command 2019-11-19 08:04:10 +01:00
Stephan Kulow
b6e68f81e9 Work on adi command 2019-11-19 08:04:10 +01:00
Stephan Kulow
4921751ef2 Work on select command 2019-11-19 08:04:10 +01:00
Stephan Kulow
63ccac76d5 Work on accept command - not yet done 2019-11-19 08:04:10 +01:00
Stephan Kulow
9235ab50db Remove config command - the config isn't used any more
The only use case left is displaying 'todo' config on accept - but staging managers
don't use this. So we may need a different solution later
2019-11-19 08:04:10 +01:00
Stephan Kulow
dd9b7ec84f Remove update comments - are now obs history 2019-11-19 08:04:10 +01:00
Stephan Kulow
b43e9930ac Port unselect command to new API 2019-11-19 08:04:10 +01:00
Stephan Kulow
f5df59bfdf Adopt check command to the new staging API 2019-11-19 08:04:10 +01:00
Stephan Kulow
b34f4665e0 Register new adi projects 2019-11-19 08:04:09 +01:00