36 Commits

Author SHA1 Message Date
Fabian Vogt
925f91325c project-installcheck.py: target_packages is a dict, not a list 2023-06-13 10:39:38 +02:00
Fabian Vogt
8a9804c860 project-installcheck.py: Move some code out of a with block 2023-06-13 10:39:01 +02:00
Stephan Kulow
e0c18e090d project-installcheck: Don't record unresolvables/fails during building
While the project is building, the unresolvables may be temporarily but
more important packages that failed before, can become blocked and then
fail again. But we don't want to remove it from 'failed' because it had
an interim state of blocked

Fixes #2838
2022-08-11 16:38:34 +02:00
Stephan Kulow
530a0e0b28 project-installcheck: Take 'excluded' as gone package
Fixes #2797
2022-04-06 09:07:52 +02:00
Stephan Kulow
33840b5bbd project-installcheck: Also store first failed results 2022-03-29 11:59:00 +02:00
Stephan Kulow
0d512ca17d project-installcheck: Store when we first saw unresolvables 2022-03-29 10:16:09 +02:00
Stephan Kulow
8e2e22a2fc project-installcheck: Fix off by one error 2022-03-29 08:43:22 +02:00
Stephan Kulow
cc1b2e9d6d project-installcheck: Fix syntax error 2022-03-29 08:18:16 +02:00
Stephan Kulow
31e653f63f project-installcheck: Only add comments for the run in openSUSE:Factory 2022-03-29 08:12:53 +02:00
Stephan Kulow
00451e3762 project-installcheck: Comment into openSUSE:Factory packages 2022-03-28 19:37:17 +02:00
Stephan Kulow
0299ad062d project-installcheck: Remove problems for gone packages 2022-03-28 14:59:14 +02:00
Stephan Kulow
aaab4af930 Target F401 - Unused imports 2022-02-18 18:29:27 +01:00
Stephan Kulow
f38bd3a7ed Target E128 - Continuation line under-indented for visual indent
https://www.flake8rules.com/rules/E128.html
2022-02-18 17:35:33 +01:00
Stephan Kulow
d8f5d0874e Remove E201 - Whitespace after '('
https://www.flake8rules.com/rules/E201.html
2022-02-18 17:23:19 +01:00
Stephan Kulow
54079e949f Target E202 - Whitespace before ')'
https://www.flake8rules.com/rules/E202.html
2022-02-18 17:18:29 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
4e9c8eabbe Target E305 - Have two empty lines of a class 2022-02-18 17:11:46 +01:00
Stephan Kulow
579145b52c Target F841 - Remove unused variables 2022-02-18 17:01:38 +01:00
Stephan Kulow
0561e06cb1 Target E261 - two spaces before inline comment 2022-02-18 16:39:16 +01:00
Stephan Kulow
a8f7146baf Remove E713 offense from flaker 2021-09-21 14:20:08 +02:00
Fabian Vogt
367cf0959c Fix crash in project-installcheck if there are no packages in the pra 2020-05-15 11:59:35 +02:00
Fabian Vogt
cb36beedcc Add support for DoD repos to installcheck 2020-02-11 14:43:21 +01:00
aa0b8fcabe Sanitize read rebuild yaml
In case the syntax was not parsing correctly, make sure we
have the expected type.
2019-12-10 12:30:06 +01:00
ddfcfe5586 Avoid crash when --store is not specified on save 2019-12-10 12:29:51 +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
670c4ce8dc Avoid crash when store project isn't set
Thats an optional parameter, so we need to handle when it is unset
2019-12-10 08:38:00 +01:00
52b46a8f47 Fix installcheck for arm architectures
armv6l/armv7l are the exception of the rule where the rpm architecture
specifying an abi marker that is not visible in the kernel uname
architecture (because the kernel can do either). The build service
decided to use the kernel architecture rather than the rpm architecture,
so we need to map armv6l (kernel arch) to armv6hl (hard float, rpm arch)
2019-12-10 08:36:19 +01:00
Stephan Kulow
30b4c8cfa3 Pass the packages to rebuild in the POST's body
osc's http_POST unfortunately hard codes parameters in URL, so I had
to use the underlying function

Fixes #2351
2019-12-04 14:48:10 +01:00
Stephan Kulow
a037f08cb0 rebuildpacs: Ignore order of problems
If comparing 2 rebuild worthy problems, ignore order of the problems.

Fixes #2232
2019-09-26 14:17:40 +02:00
Stephan Kulow
e073e7faa9 Fix parsing of the --no-rebuild option
I misread the documentation as it talks about generating defaults, but
without option it's None
2019-07-30 09:03:51 +02:00
Stephan Kulow
350027d8f3 Filter out release numbers from problem output
Otherwise the output will differ on rebuilds, making the whole stunt
useless
2019-07-29 17:18:33 +02:00
Stephan Kulow
4ce5d94664 Have the storage commit include the details what is was for
This way you can easily look only the commits affecting one repo
2019-07-29 15:43:47 +02:00
Stephan Kulow
3bb6d36e29 Combine project_only and rebuild into check
For SLE we run it --no-rebuild, for openSUSE check also rebuilds
2019-07-29 15:30:33 +02:00
Stephan Kulow
1e80f703a9 Rely on remote config and storage 2019-07-29 10:06:38 +02:00
Stephan Kulow
a44c65545b Replace rebuildpacs.pl with project-installcheck functionality 2019-07-29 10:05:51 +02:00
Stephan Kulow
58af949797 Reduce repo_checker to check a project (and rename) 2019-06-06 11:52:46 +02:00