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
ec88760187
Fix Flake E241
...
One more step towards white space sanity. Next group is E20x.
2019-12-10 08:46:02 +01:00
Stephan Kulow
345321f98d
Don't take multibuild packages as subpackage of itself
2019-12-06 11:43:59 +01:00
Stephan Kulow
8b0a0324b4
Extend tests for accept command
2019-12-05 16:52:05 +01:00
Stephan Kulow
7113e5fedc
Add test for selecting multibuild with 2 spec
2019-12-05 16:52:05 +01:00
32ad0adc2d
Fix all E22x errors
...
This cleans up white spaces around various kinds of operators to be
consistent.
2019-11-27 11:08:06 +01:00
8483632683
Some flake8 improvements
...
Was bored while waiting for a test run to finish. The rule is
that two empty lines distinguish larger blocks and shouldn't be
used between functions or within functions.
2019-11-27 10:40:15 +01:00
Stephan Kulow
13238d280f
Reenable the move test
2019-11-26 15:56:00 +01:00