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
13fa93cede
osclib/core: provide attribute_value_delete().
2019-11-06 11:38:38 -06:00
Jimmy Berry
226ad12f42
osclib/core: support package in attribute_value_{load,save}() functions.
2019-11-06 11:38:38 -06:00
Jimmy Berry
547e954a0b
Merge pull request #2292 from jberry-suse/origin-manager-remote-pending-update
...
osclib/origin: origin_update_pending() utilize project_remote_prefixed().
2019-11-06 11:26:17 -06:00
Jimmy Berry
8cdd505bea
osclib/origin: origin_update_pending() utilize project_remote_prefixed().
...
Correctly prefix the remote project with the interconnect when creating
a submit request.
2019-11-05 16:39:01 -06:00
Jimmy Berry
fd94254601
osclib/core: provide project_remote_prefixed().
2019-11-05 16:39:01 -06:00
Jimmy Berry
9f80ea19b0
Merge pull request #2291 from jberry-suse/origin-manager-maintainer-review-devel
...
origin-manager: origin_maintainer_review_ensure(): check for devel meta.
2019-11-05 09:15:11 -06:00
Jimmy Berry
931b760456
Merge pull request #2287 from jberry-suse/origin-manager-new-package-submission
...
origin-manager: submit new packages from origins with automatic_updates_initial enabled.
2019-11-05 09:04:01 -06:00
Jimmy Berry
1770d954fc
origin-manager: origin_maintainer_review_ensure(): check for devel meta.
...
In the case of a devel project for an origin package add the review
against the devel project.
2019-11-05 08:51:13 -06:00
Jimmy Berry
bb2124b818
osclib/origin_listener: consume package deletes.
...
Now that update_consider() local check package_kind() on both origin
and target package a delete is possible. origin_update() already
supported generating deletes or swapping origin to next potential.
2019-11-05 08:23:40 -06:00
Jimmy Berry
2b68e743df
tests/origin_tests: provide test for new package submission.
2019-11-05 08:23:40 -06:00
Jimmy Berry
75f9a88f07
osc-origin: osrt_origin_update(): include potential new packages.
...
When no packages are specified include all potential packages from
origins with automatic_updates_initial enabled to allow for new package
submissions.
2019-11-05 08:23:40 -06:00
Jimmy Berry
45c13b31ba
osclib/origin_listener: update packages that do not exist in target project.
...
Allows for new package submissions when applicable.
2019-11-05 08:23:40 -06:00
Jimmy Berry
6595dd812b
osclib/origin: provide origin_updatable_initial().
...
Provides list of origins for a given project that allow initial updates.
2019-11-05 08:23:40 -06:00
Jimmy Berry
7c162b3c7f
osclib/origin: origin_update(): support initial submissions.
2019-11-05 08:23:40 -06:00
Jimmy Berry
8bed8d507e
osclib/origin: provide automatic_updates_initial origin config option.
...
Used to allow new package submissions from an origin.
2019-11-05 08:23:40 -06:00
Jimmy Berry
826655766e
osclib/core: request_create_submit(): provide ignore_if_any_request.
...
Useful for avoiding making a request if any pending or non-accepted
request against that package exists. Such a use case is submitting new
packages by origin-manager which should only try the submission once.
2019-11-05 08:23:33 -06:00
Stephan Kulow
bfaa89d7b6
Merge pull request #2277 from nilxam/python3_reuqestfinder
...
requestfinder: ConfigParser has been renamed to configparser in python3
2019-11-05 12:30:42 +01:00
Stephan Kulow
7e560478a1
Merge pull request #2290 from coolo/fix_config
...
Fix multiple crashes while reading config from cache
2019-11-05 11:50:31 +01:00
Stephan Kulow
efee54297e
Merge pull request #2286 from coolo/pkglist_debug
...
Fix conflicts/obsoletes while picking dependencies
2019-11-05 11:36:42 +01:00
Stephan Kulow
31ee1047cd
Remove dependency from cache to config
...
Getting the right config depends on too many things that cache.py can't
know - so just rely on environment variables instead
Fixes #2289
2019-11-05 11:29:04 +01:00
Stephan Kulow
a595666eef
Remove old python2 code from cache
2019-11-05 11:14:54 +01:00
Stephan Kulow
657d2c87d9
Fix conflicts/obsoletes while picking dependencies
...
We ignored conflicts/obsoletes during pool preparation as it got
into the way of finding supplements (due to conflicting packages in
the list). But this way, conflicts were invisible also during dependency
search, leading to wrong packages picked for the package lists in
general.
So add a flag to prepare_pool to explain if we want conflicts or not
2019-11-05 09:39:10 +01:00
Jimmy Berry
de4ff14a71
Merge pull request #2283 from jberry-suse/origin-manager-assume-devel
...
origin-manager: full handling of various devel project workflows, addition of significant tests, and many underlying fixes
2019-11-04 14:56:28 -06:00
Jimmy Berry
72409c5432
tests/origin_tests: provide split product origin tests.
2019-11-04 14:18:12 -06:00
Jimmy Berry
ad0d0b28ea
tests/origin_tests: provide devel origin tests.
2019-11-04 14:18:12 -06:00
Jimmy Berry
43850242cf
tests/origin_tests: provide harness and basic tests.
2019-11-04 14:18:12 -06:00
Jimmy Berry
5a5d60b5f6
tests/OBSLocal: provide randomString() for ensuring tools not name dependent.
2019-11-04 14:18:12 -06:00
Jimmy Berry
e7d8c9857e
tests/OBSLocal: provide assertReviewBot() for review script workflows.
2019-11-04 14:18:12 -06:00
Jimmy Berry
8ec2202763
tests/OBSLocal: submit_package(): provide optional project argument.
...
Generating submit requests beyond only against the target project is
important during testing.
2019-11-04 14:18:12 -06:00
Jimmy Berry
e33716866f
tests/OBSLocal: StagingWorkflow: provide and utilize remote_config_set().
2019-11-04 14:18:12 -06:00
Jimmy Berry
1c216fc13a
tests/OBSLocal: Request: extract change_state() from revoke.
...
Changing request state is an import part of testing beyond just revoking.
2019-11-04 14:18:12 -06:00
Jimmy Berry
3c1b01695e
tests/OBSLocal: tearDown(): ensure user is Admin before cleanup.
...
Without this all cleanup fails which can cause leakage between test runs
that utilize the same entity names.
2019-11-04 14:18:12 -06:00
Jimmy Berry
65e23771b6
tests/OBSLocal: StagingWorkflow: stop hiding valid errors.
...
Makes for debugging issues quite a pain.
2019-11-04 14:18:12 -06:00
Jimmy Berry
5cc14d1841
tests/OBSLocal: correct python 3 port attempt for subprocess output handling.
...
Newlines are lost in previous port which makes output nearly useless.
2019-11-04 14:18:12 -06:00
Jimmy Berry
acd552c807
tests/OBSLocal: provide osc_user_pop() to make user switching cleaner.
2019-11-04 14:18:08 -06:00
Jimmy Berry
6e1c37b53d
tests/OBSLocal: osc_user(): indicate when switching user.
2019-11-04 14:01:34 -06:00
Jimmy Berry
da2e5ea9a8
tests/OBSLocal: disable request cache during testing.
2019-11-04 14:01:34 -06:00
Jimmy Berry
4e95bf3eee
osclib/origin_listener: ultilize origin_updatable_map() include_self option.
...
Useful for trigger follow-up change_devel requests are suppressed updates.
2019-11-04 14:01:34 -06:00
Jimmy Berry
ea7a454d7e
osclib/origin: origin_updatable_map(): provide include_self option.
2019-11-04 14:01:34 -06:00
Jimmy Berry
3b51a7e044
osclib/origin: origin_update() generate change_devel requests.
...
As a follow-up to new packages accepted from a specific devel generate
a change_devel request automatically. Such requests should be approved
automatically since they are a workaround to not being able to set devel
during source submission.
2019-11-04 14:01:34 -06:00
Jimmy Berry
211af47889
origin-manager: handle change_devel request review.
2019-11-04 14:01:34 -06:00
Jimmy Berry
f8dd9eb057
origin-manager: when appropriate simulate devel project during source change review.
2019-11-04 14:01:34 -06:00
Jimmy Berry
bb99e6b5bc
origin-manager: provide devel_project_simulate_check().
...
Handles decided when and what to simulate the devel project as when
reviewing a source change request.
2019-11-04 14:01:34 -06:00
Jimmy Berry
99f79e4dae
origin-manager: provide devel_project_simulate_check_command().
...
Handles ingest of change_devel commands.
2019-11-04 14:01:34 -06:00
Jimmy Berry
bf12c5e0d7
origin-manager: provide and utilize origin_maintainer_review_ensure().
...
Instead of ensure devel owner using owner search which is incorrect in
many cases including for new packages add a review for origin maintainers.
2019-11-04 14:01:34 -06:00