1490 Commits

Author SHA1 Message Date
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
Ludwig Nussel
d78e4306d7 unselect: only set origin-manager for whitelist cleanup
anything else needs to be defined in attribute
2019-11-11 10:35:53 +01:00
Jimmy Berry
2a32702b1f
Merge pull request #2310 from jberry-suse/origin-manager-unknown-spelling
osclib/origin: policy_input_calculate(): s/unkown/unknown/.
2019-11-08 16:08:31 -06:00
Jimmy Berry
03a954aebd
Merge pull request #2307 from jberry-suse/origin-manager-automatic-updates-initial-blacklist
osclib/origin: origin_update(): support blacklist patterns for initial updates.
2019-11-08 15:43:46 -06:00
Jimmy Berry
a83e40e057
Merge pull request #2305 from jberry-suse/origin-manager-history-non-annotated
osclib/origin: origin_history(): include non-annotated requests.
2019-11-08 15:19:37 -06:00
Jimmy Berry
7e6455f9ce osclib/origin: policy_input_calculate(): s/unkown/unknown/. 2019-11-08 15:00:15 -06:00
Jimmy Berry
a0488c3fbb
Merge pull request #2303 from jberry-suse/origin-manager-annotate-pending
osclib/origin: origin_annotation_dump(): include pending information.
2019-11-08 14:50:59 -06:00
Jimmy Berry
5f937588e6 osclib/origin: origin_update(): support blacklist patterns for initial updates. 2019-11-08 13:19:04 -06:00
Jimmy Berry
5b4a8d3be5 osclib/origin: origin_history(): include non-annotated requests.
Otherwise, requests that are declined quickly (likely by bot) are not
shown in history which can be confusing when viewing in web interface. A
package may show as being one revision behind and one would wonder why
not update request when in fact a request could have been made and
declined.
2019-11-07 14:13:38 -06:00
Jimmy Berry
62c060a441 osclib/origin: origin_annotation_dump(): include pending information. 2019-11-07 13:46:16 -06:00
Jimmy Berry
c6e093d8d0 osclib/core: request_action_list_maintenance_incident(): support another form.
When at last one thought all the variations of the data format were
handled OBS decided to provide another. :((((
2019-11-07 10:59:21 -06:00
Jimmy Berry
a3b1d627b4 osclib/conf: configure maintenance staging review options for origin-manager. 2019-11-07 10:59:21 -06:00
Jimmy Berry
dc9147be97 osclib/origin: add maintenance staging equivalent reviews to pending_submission_allowed_reviews. 2019-11-07 10:59:21 -06:00
Jimmy Berry
6826524d07 osclib/origin: drop repo-checker from pending_submission_allowed_reviews.
No longer utilized and the config option has been removed from project
configs so the rule is dropped when evaluated anyway.
2019-11-07 10:59:21 -06:00
Jimmy Berry
e2334dae3d osclib/origin: provide pending_submission_allowed_reviews_update option. 2019-11-07 10:59:21 -06:00
Jimmy Berry
538b39ae3c osclib/origin: reviews_filter_allowed(): support negation rules. 2019-11-07 10:59:21 -06:00
Jimmy Berry
13be4f2ef1 osclib/origin: provide reviews_filter_allowed().
Split out inner logic from policy_input_evaluate_reviews_not_allowed() to
allow for other users.
2019-11-07 10:59:21 -06:00
Jimmy Berry
4bbdfc675e osclib/origin: project_source_pending(): include psuedo incident review. 2019-11-07 10:59:21 -06:00
Jimmy Berry
c8cba5d2a1 osclib/core: reviews_remaining(): provide incident_psuedo option. 2019-11-07 10:59:21 -06:00
Jimmy Berry
9503a04b33
Merge pull request #2296 from jberry-suse/origin-manager-update-frequency
osclib/origin: provide automatic update mode controls.
2019-11-07 10:45:08 -06:00
Jimmy Berry
3dd0fbe788
Merge pull request #2297 from jberry-suse/origin-manager-update-new-exclude-existing
osc-origin,osclib/origin_listener: sync package kind logic.
2019-11-07 10:00:54 -06:00
Jimmy Berry
e771dc653f osclib/origin: provide automatic update mode controls. 2019-11-07 08:46:02 -06:00
Jimmy Berry
8cdd550247 osclib/core: request_create_submit(): provide frequency option. 2019-11-07 08:46:02 -06:00
Jimmy Berry
48fc39aba0 osclib/core: request_create_submit(): provide supersede flag. 2019-11-07 08:46:02 -06:00
Jimmy Berry
4ac724b712 osclib/core: request_action_simple_list(): include full history.
Without this the requests are not nearly as useful when processing.
2019-11-07 08:46:02 -06:00
Jimmy Berry
818685166f osclib/core: provide package_source_{changed,age}() functions. 2019-11-07 08:46:00 -06:00
Jimmy Berry
b0ccbb33b6 osclib/core: package_kind(): require releasename to differ from package for maintenance_update.
When releasename does not differ it is essentially the same as no
releasename at all, but since OBS allows this and some source packages
contain such a value need to make check more specific.

See #2294 for an example.
2019-11-06 14:43:20 -06:00
Jimmy Berry
0cd70a5567 osc-origin,osclib/origin_listener: sync package kind logic.
Avoids special cases where package_kind() differs by project.
2019-11-06 14:05:50 -06:00