409 Commits

Author SHA1 Message Date
Stephan Kulow
a8f7146baf Remove E713 offense from flaker 2021-09-21 14:20:08 +02:00
Ancor Gonzalez Sosa
6540e8baad Test to showcase a submit request to SLE 2021-09-16 16:47:09 +02:00
Ancor Gonzalez Sosa
57abe5728b
Merge pull request #2626 from ancorgs/obslocal_refactor
Small OBSLocal refactoring
2021-09-16 15:32:49 +02:00
Ancor Gonzalez Sosa
2213e2c89c Fix typo in documentation 2021-09-16 14:59:11 +02:00
Ancor Gonzalez Sosa
3d466b2b19 OBSLocal: functions to easily manage several review bots 2021-09-15 15:55:16 +02:00
Ancor Gonzalez Sosa
c9ff2171c3 OBSLocal: rename assertReviewBot to assertReviewScript
The function fully relies on the content of the script attribute and all other
functions that do so contain "script" in the name instead of "bot".
2021-09-15 15:08:11 +02:00
Ancor Gonzalez Sosa
8c1cac7d76 OBSLocal: improve documentation about scripts and asserts 2021-09-15 15:07:41 +02:00
Josef Reidinger
877432d24a
Merge pull request #2630 from openSUSE/test_fixes
fix deprecation warning
2021-09-10 20:52:33 +02:00
Ancor Gonzalez Sosa
d31398e85a OBSLocal: small reorganization 2021-09-09 20:58:26 +02:00
Ancor Gonzalez Sosa
7f377f082f Extract useful stuff to a base OBSLocal.StagingWorkflow class 2021-09-09 20:58:26 +02:00
Ancor Gonzalez Sosa
ca3eb87931 OBSLocal: clarify some aspects of attributes management 2021-09-09 20:58:17 +02:00
Ancor Gonzalez Sosa
8864e9ccee Rename test file to ensure it is executed in CI 2021-09-09 15:07:34 +02:00
Ancor Gonzalez Sosa
28c771927a Rename OBSLocal.StagingWorkflow to OBSLocal.FactoryWorkflow 2021-09-09 15:07:34 +02:00
José Iván López González
3db6e4b528 Add some comments 2021-09-07 13:17:04 +01:00
José Iván López González
c74900f3b9 Create ProductVersion attribute 2021-09-07 13:17:04 +01:00
José Iván López González
352ce10c24 Remove attributes when destroying a workflow 2021-09-07 13:16:57 +01:00
Josef Reidinger
f383bb8116
do not use oscrc from fixtures (should fix #1989) 2021-09-03 16:53:09 +02:00
Ancor Gonzalez Sosa
827ecacf45 Test to showcase a submit request to Factory 2021-08-19 16:29:24 +02:00
Ancor Gonzalez Sosa
b188340266 OBSLocal: top-level classes documentation to clarify the scope 2021-08-05 12:16:22 +02:00
Martin Vidner
b536914570 Point to osc.core to compare the APIs 2021-08-05 10:59:52 +02:00
Martin Vidner
73b91a6668 More improvements in the OBSLocal.py documentation 2021-08-05 10:18:25 +02:00
Martin Vidner
de330e42b3 In OBSLocal.StagingWorkflow.submit_package, package may not be None
did not make sense; i've checked all call sites
2021-08-05 10:17:33 +02:00
Ancor Gonzalez Sosa
f85c1b46b6 Some convenience extensions to OBSLocal 2021-08-04 17:25:46 +02:00
Ancor Gonzalez Sosa
038bfef67b OBSLocal: improved management of meta 2021-08-03 13:00:01 +02:00
Ancor Gonzalez Sosa
86e9f3ad22 Tiny fix in check_source_test.py 2021-08-03 12:59:59 +02:00
Ancor Gonzalez Sosa
db9dbd4ecb Improvements in the OBSLocal.py documentation 2021-08-03 12:55:05 +02:00
Ancor Gonzalez Sosa
ab1baf665d Convert OBSLocal documentation to reStructured Text 2021-08-03 12:55:05 +02:00
Josef Reidinger
f16c803e7c document OBSLocal.py 2021-08-03 12:55:05 +02:00
Josef Reidinger
12dc09c900 Add test for inherit maintainer role
Inherited maintainer role is explicitelly ignored to force setting
of maintainer to required user. The test verify behavior and
allows easier future changes of such behavior.
2021-07-28 16:48:39 +02:00
Josef Reidinger
75226473fc Avoid creation of duplicate add_role requests (fixes #2609) 2021-07-28 09:51:28 +02:00
Imobach González Sosa
7b59f33442
Merge pull request #2601 from imobachgs/maintainers-check
Check for maintainers in the source project
2021-07-16 09:08:53 +01:00
Imobach González Sosa
00ea25e609
Properly handle required-source-maintainer when it is group
Co-authored-by: Knut Alejandro Anderssen González <kanderssen@suse.com>
2021-07-14 10:52:09 +01:00
Imobach González Sosa
632cbf92bc
Updates from code review 2021-07-13 16:30:53 +01:00
Josef Reidinger
156afbe363 Make test CWD agnostic 2021-07-13 13:06:51 +02:00
Ancor Gonzalez Sosa
1e868aa7ee
Check for maintainers in the source project
* It introduces a new configuration parameter 'required-source-maintainer'.
* If defined, it is expected to be a maintainer of the devel project.
* If that's not the case, the request is declined and an add_role
  request is created.

Co-authored-by: Ancor Gonzalez Sosa <ancor@suse.de>
Co-authored-by: Knut Alejandro Anderssen González <kanderssen@suse.com>
2021-07-13 11:41:13 +01:00
Imobach González Sosa
d8822dcfdc
Add descriptions to check_source tests 2021-07-13 11:39:27 +01:00
Imobach González Sosa
b9044fc11a
Test accepting a package from a devel project 2021-07-08 14:38:09 +01:00
Ancor Gonzalez Sosa
a5a56061a7
Initial testcase for check_source.py 2021-07-08 14:38:09 +01:00
Dirk Mueller
0dda4a83d0 Support Leap:15.3:ARM:Images as well
We need this to run TTM against :images and properly determine the
pseudometa package.
2021-06-07 15:16:29 +02:00
0acbe1bfc9 Add Leap:15.3:ARM to test armv7 Step:15 2021-02-25 11:03:48 +01:00
ad5a9af1a7 Leap 15.3: Jump project discontinued but Leap 15.3 started 2020-11-02 16:14:06 +08:00
94d00c949e fix tests 2020-08-11 15:15:24 +08:00
Fabian Vogt
3ec840fb22 Fix flake error F541 in tests/origin_tests.py 2020-06-08 11:20:19 +02:00
Stephan Kulow
a2eeea143e Fix httpretty using tests
Looks like OSC in Tumbleweed changed behaviour of internal functions
2020-05-02 10:50:59 +02:00
Stephan Kulow
f28b520a92 Wipe all multibuild flavors for delete requests
Fixes #1899
2020-03-25 16:07:19 +01:00
Stephan Kulow
0cef959328 Work around OBS issue 8994
Instead of declining the by_project review, unselect the request and
decline the group review. This way we avoid the OBS problem
2020-03-18 22:40:47 +01:00
Stephan Kulow
334862a372 Adopt fixture to changes in obs' xml output 2020-03-16 08:05:14 +01:00
fc77bd123d
Staging accept: No longer set the version in .product files on accept
In the past, we had a dashboard reading the version of the current source from the .product file.
Not immediately updating this version after a checkin would have been confusing as the dashboard would
have shown incorrect/outdated information.

the new dashboard (https://factory-dashboard.opensuse.org) reads the source version directly from the
attribute, so this mis-match is eliminated.

The .product files will be updated by pkglistgen in due time.
2020-01-31 14:49:33 +01:00
ad06348dcf More flake8 cleanups 2019-12-10 12:50:57 +01:00
ea3b07568c Fix E203
This fixes incorrect whitespacing inside dictionaries.
2019-12-10 08:54:32 +01:00