20 Commits

Author SHA1 Message Date
Dirk Müller
730630f06f
Use f-strings where possible 2024-05-07 21:52:32 +02:00
Dirk Müller
8d164e7301
Use "not in" not "not X in" 2024-05-06 19:29:13 +02:00
Fabian Vogt
f1f00783af osclib/repochecks.py: Use libsolv for checking conflicts between packages
Don't rely just on findfileconflicts to check whether packages have
conflicting dependencies, but use libsolv to do a full check.

Fixes #1885
2024-02-22 15:58:16 +01:00
Fabian Vogt
da0d632b77 Rewrite bs_mirrorfull as osclib component
This has multiple benefits:
* Easier to interface with the python code that calls it
* Uses the osc python interface for connection and authentication handling
* Allows to drop the bundled OBS code in the bs_copy directory
2023-11-29 16:53:58 +01:00
Fabian Vogt
dc4c6bbfdd Handle ZSTD compressed primary.xml.zst
Add explicit zstd support to repo2fileprovides.py and port
update_repo_handler.py over to use libsolv's transparent decompression.
2023-11-23 11:36:03 +01:00
Stephan Kulow
f86579642b Target E501 - Line too long
https://www.flake8rules.com/rules/E501.html - but 79 characters is a
joke
2022-02-18 18:17:27 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
e52dc6ce2b Harmonize imports on using lxml for XML parsing 2022-02-18 11:16:01 +01:00
Stephan Kulow
a8f7146baf Remove E713 offense from flaker 2021-09-21 14:20:08 +02:00
Fabian Vogt
5458650f71 Fix typos 2020-02-19 13:57:16 +01:00
Fabian Vogt
4d05766e9a Some refactoring 2020-02-12 09:48:45 +01:00
Fabian Vogt
cb36beedcc Add support for DoD repos to installcheck 2020-02-11 14:43:21 +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
5ad26cba17 Gracefully handle utf8 errors in installcheck
The provides/requires can contain utf8 coding errors, as installcheck
is not actually producing utf8 encoded output but simply prints literal
bytes.
2019-11-27 11:10:21 +01:00
Stephan Kulow
705457a1a7 Fix leap 15.2: no problems in a repo wasn't tested :) 2019-07-29 18:51:49 +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
a44c65545b Replace rebuildpacs.pl with project-installcheck functionality 2019-07-29 10:05:51 +02:00
Stephan Kulow
2ad649781e Readd whitelist for installcheck
This was somehow lost
2019-06-06 15:28:44 +02:00
Stephan Kulow
f840a6f206 Add maintenance-installcheck next to staging-installcheck
A rather small reviewbot just made for one thing: check maintenance
release requests. They are much easier to handle: they are only created
on locked projects, so there is no waiting required. Just checking
and if it's broken, the request can be declined.
2019-06-05 15:37:43 +02:00
Stephan Kulow
868f3e1d6f Retire repo_checker.pl
Extract the writing of the susetags content into a new script that
also creates a yaml file which package comes from what directory.
This information is used in repochecks.py to run findfileconflicts
and installcheck as repo_checker.pl used to
2019-06-05 06:41:14 +02:00