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
Jimmy Berry
aa49b57c8e
osclib/origin: policy_input_calculate(): handle change from None origin.
2019-11-04 14:01:34 -06:00
Jimmy Berry
790a46cbfc
osclib/origin: allow for identical source if origin changed.
...
Enables change_devel reviews were the source does not change, but the
effective origin will change changed by the request.
2019-11-04 14:01:34 -06:00
Jimmy Berry
c62fb125ef
osclib/origin: provide and utilize origin_devel_projects().
...
Incorporate meta devel, request devel, and whitelist devel into one
function.
2019-11-04 14:01:34 -06:00
Jimmy Berry
683ead7ad6
osclib/origin: provide origin_devel_project() and utlize.
...
Handles incorporating simulated devel, pseudo devel from requests, and
meta devel project into one function.
2019-11-04 14:01:34 -06:00
Jimmy Berry
d9cc2131ad
osclib/origin: provide origin_devel_project_requests().
...
Determines psuedo devel projects based on pending requests.
2019-11-04 14:01:34 -06:00
Jimmy Berry
83530ce0f6
osclib/origin: provide devel_project_simulate enterable.
2019-11-04 14:01:34 -06:00
Jimmy Berry
a724dcfa9d
osclib/origin: require origin key in origin_annotation_load().
...
Alternatively, this can validate something like "ok: not handled".
2019-11-04 14:01:34 -06:00
Jimmy Berry
2ecb8ce3d7
osclib/origin: provide origin_workaround_strip().
2019-11-04 14:01:34 -06:00
Jimmy Berry
251170b77d
osclib/core: provide request_state_change() and utilize.
2019-11-04 14:01:34 -06:00
Jimmy Berry
e9eab675ab
osclib/core: provide request_create_change_devel() RequestFuture.
2019-11-04 14:01:34 -06:00
Jimmy Berry
0f66879c1d
osclib/core: provide package_role_expand() to expand package role to users.
2019-11-04 14:01:34 -06:00
Jimmy Berry
66da92ec80
osclib/core: provide project_role_expand() to expand project role to users.
2019-11-04 14:01:34 -06:00
Jimmy Berry
0ee408a716
osclib/core: provide meta_role_expand() to expand a role to users given meta.
2019-11-04 14:01:34 -06:00
Jimmy Berry
3a444c253e
osclib/core: break apart request_age() to provide request_created().
2019-11-04 14:01:34 -06:00
Jimmy Berry
caabf42f2b
osclib/cache: provide osrt.cache.disable config option to disable cache.
...
Necessary for writing involved tests since the assumptions made by the
cache are violated and thus cause problems.
To keep the tests passing the oscrc intended to be used must be set as
environment variable so when osclib.conf.Config is use the config is not
lost. This would be made simpler without the needless extra config added
by StagingWorkflow.
2019-11-04 14:01:19 -06:00
Jimmy Berry
fe45de0a42
dist/ci/flake-extra: include origin_listener in product check.
2019-11-04 13:22:38 -06:00
Jimmy Berry
a3761c62e5
ReviewBot: include request description in search for comment commands.
2019-11-04 13:22:38 -06:00
Jimmy Berry
701021070c
ReviewBot: rework override check to operate on actions.
...
In multi-action workflows the override check should be performed by
action so that different groups of users can override for different
actions. Additionally, abstracting the request_commands() method provides
a flexible base for additional commands to be added by ReviewBots.
2019-11-04 13:22:38 -06:00
Jimmy Berry
7559153cbf
osclib/comments: provide request description as comment.
...
Useful for operating on request descriptions inline with comments.
2019-11-04 13:22:38 -06:00
Stephan Kulow
75836fec70
Merge pull request #2285 from coolo/fix_ci
...
Make the CI green again
2019-11-04 19:10:51 +01:00
Stephan Kulow
9b035e3e8c
Start searchd in api container
...
Since https://github.com/openSUSE/open-build-service/pull/8558 OBS Api
now requires a searchd for creating projects, previously it was only
required for searching in the webui
2019-11-04 11:59:33 +01:00
Stephan Kulow
0cb54b8be0
Add a dummy user/password to the openSUSE:Factory section
...
See https://github.com/openSUSE/osc/issues/667 - we might want to remove
the feature to override settings locally this way and stop mangling with
osc's config file
2019-11-04 11:59:33 +01:00
Stephan Kulow
fe4f121993
Make exceptions easier to debug in OBSLocal
...
If the init function fails due to exceptions, python still
shows exceptions caught in the __del__ function, which can
be very confusing. So avoid the destructor if the constructor
failed by setting the variables early on and return in the
destructor if self.api is not yet defined
2019-11-04 11:04:53 +01:00
Stephan Kulow
3d0d731212
Merge pull request #2281 from DimStar77/issue2278
...
build-fail-reminder: Fix indentation of emails
2019-11-04 09:53:43 +01:00
d096e163a9
build-fail-reminder: Fix indentation of emails
...
Fixes issue #2278
2019-10-30 14:08:45 +01:00
Stephan Kulow
330f0b1b1c
Merge pull request #2280 from openSUSE/scarabeusiv-patch-1
...
Use python3 in shebang to not pull in python2 dependency
2019-10-29 13:36:28 +01:00
Tomáš Chvátal
7cf86a638f
Use python3 in shebang to not pull in python2 dependency
2019-10-29 13:05:48 +01:00
Stephan Kulow
3162cc5be3
Merge pull request #2276 from mimi1vx/sle_cleanup
...
Remove openqa-obs bot data for SLE
2019-10-28 07:59:15 +01:00
f4ca88bd99
Remove openqa-obs bot data for SLE
...
QAM uses different bot for scheduling jobs in openQA
2019-10-24 12:54:19 +02:00
Ludwig Nussel
46e12504d3
Merge pull request #2271 from lnussel/master
...
add pkglistgen and stuff for Leap staging F
2019-10-24 08:24:49 +02:00
Stephan Kulow
521a30a0ee
Merge pull request #2275 from coolo/allow_override_for_factory_auto
...
Add a review user for factory-auto so it can be overridden in SLE
2019-10-23 11:01:15 +02:00
Stephan Kulow
0938967139
Add a review user for factory-auto so it can be overridden in SLE
2019-10-23 11:00:11 +02:00
Stephan Kulow
68be1855fa
Merge pull request #2272 from coolo/fix_source_check
...
Fix check_source on public cloud images
2019-10-22 12:45:23 +02:00
Ludwig Nussel
d893565b9b
Merge pull request #2257 from ggardet/fix_for_python3
...
Convert factory-package-news-web.py to python3
2019-10-22 10:21:20 +02:00
Ludwig Nussel
2ca7172e64
add pkglistgen and stuff for Leap staging F
2019-10-22 10:15:37 +02:00
Stephan Kulow
7c1a658f3d
Fix check_source on public cloud images
...
The check for bcntsynctag can be very misleading - just because we align
the build counters between 2 packages doesn't make them invalid submission
targets. Better rely on the link check which is already implemented as
fallback
And set a verbose decline reason for this case
2019-10-22 09:26:55 +02:00
Stephan Kulow
8bb85c5f4d
Merge pull request #2270 from lnussel/master
...
Fix test plan URL for 15.2
2019-10-21 16:12:02 +02:00
Ludwig Nussel
292ae02cf3
Fix test plan URL for 15.2
2019-10-21 13:36:48 +02:00
Stephan Kulow
a97469df38
Merge pull request #2268 from DimStar77/novdelreq
...
StagingAPI: complex delete requests are no longer used
2019-10-19 16:49:03 +02:00
Stephan Kulow
24a8cf2b2f
testenv: install shadow for useradd
2019-10-19 13:18:42 +02:00
58bc706bf0
conf.py: remove delreq-review default setting
...
With the removal of the complex delete request handling, we no longer
need the option to assign a specific reviewer to delreqs in process
2019-10-18 10:37:46 +02:00
Jimmy Berry
180e44641c
Merge pull request #2265 from jberry-suse/userscript-origin-conflict
...
userscript/origin: run in no-conflict mode.
2019-10-17 15:41:41 -05:00
9b7af72891
StagingAPI: complex delete requests are no longer used
...
* Simplify the 'accept' code
openSUSE:Factory/snapshot is newly setup as a Download on Demand repository
and we can thus safe ourselves the hassle of having to take extra care of
handling delete requests. They no longer bleed directly into the /snapshot
area and can now be accepted like any other request
* Drop vdelreq plugin
Since we no longer do a virtual accept of delete requests, we also don't
have to monitor their state anymore. Drop the plugin that served only
this usecase
* Drop the acheck command
As a consequence, the command 'staging acheck' serves no purpose anymore:
/totest was just there to ensure we have something to copy to /snapshot.
This entire repo will vanish, and it is thus no longer needed to verify
if it is in sync before accepting new data.
2019-10-17 15:37:44 +02:00
16ae84dfac
Merge pull request #2267 from nilxam/decode_bytes_suppkg_rebuild
...
suppkg_rebuild: decode bytes before comparing
2019-10-17 19:03:22 +08:00