cf36ceb5b8
Add support for git project handling
...
Automatically switches over from OBS api calls to git
when specifing a git repository on CLI
2024-05-07 16:22:21 +02:00
9b449f91cb
Initial support for productcompose files
...
It requires to have a "default.productcompose" file in 000package-groups
to enable support for real
2024-05-07 16:22:12 +02:00
Stephan Kulow
529d1dafae
Target E302 - add two comment lines before class
2022-02-18 17:15:48 +01:00
Stephan Kulow
579145b52c
Target F841 - Remove unused variables
2022-02-18 17:01:38 +01:00
Stephan Kulow
2de74cfc52
Replace variable name 'l' (x is fine)
...
https://www.flake8rules.com/rules/E741.html
2022-02-18 14:21:59 +01:00
Stephan Kulow
f705a24db1
Only have one statement in a line E701
...
https://www.flake8rules.com/rules/E701.html
2022-02-18 13:42:57 +01:00
Stephan Kulow
a8f7146baf
Remove E713 offense from flaker
2021-09-21 14:20:08 +02:00
Stephan Kulow
2bb1d8a1ce
pkglistgen: Allow to set require_all for some groups to disable ignore
...
For Factory we want the DVD to catch all (and only require some), but the
smaller products kubic and microos should have a require all policy
2021-01-15 15:52:54 +01:00
Stephan Kulow
f5059c0e07
Support 'required' field for packages
...
Fixes #1844
2020-03-19 14:36:10 +01:00
Stephan Kulow
657d2c87d9
Fix conflicts/obsoletes while picking dependencies
...
We ignored conflicts/obsoletes during pool preparation as it got
into the way of finding supplements (due to conflicting packages in
the list). But this way, conflicts were invisible also during dependency
search, leading to wrong packages picked for the package lists in
general.
So add a flag to prepare_pool to explain if we want conflicts or not
2019-11-05 09:39:10 +01:00
Stephan Kulow
29bd141145
Sort architectures to fix #2021
2019-05-16 07:30:21 +02:00
Stephan Kulow
df8de99945
Even more python3 fixes for pkglistgen
2019-05-13 08:57:34 +02:00
Stephan Kulow
d0eef97d27
Fix problems with pkglistgen under python3
2019-05-12 21:22:07 +02:00
Stephan Kulow
fec762e5a4
Avoid warning on using .warn (python3)
2019-05-11 14:25:02 +02:00
Stephan Kulow
588cb0d744
pkglistgen: Don't crash in powerpc on i586 entries
2019-01-17 15:06:28 +01:00
Stephan Kulow
1bae4083b2
Don't hardcode architectures - take it from the project
2019-01-17 15:06:28 +01:00
Stephan Kulow
be56fe5a13
pkglistgen: Ignore locked packages for expansion
2019-01-17 15:06:28 +01:00
Stephan Kulow
240e1d00e1
pkglistgen: Add all recommends and supplements
...
This adds packages that supplement one of the locales only
2019-01-17 15:06:28 +01:00
Stephan Kulow
902627c14c
pkglistgen: Fix test failures (including flake8)
2019-01-17 14:35:18 +01:00
Stephan Kulow
8351d2e677
pkglistgen: Move suggested from global to package level
...
There is no product that wants all suggests for all products on all groups,
so the only product left that wants to have suggests is Tumbleweed for the DVD
pattern
To solve the suggests we run a global transaction on the
result + its suggests to determine packageand supplements.
To avoid problems (in general) we discard obsolete and conflicts
in packages - so we can have product groups with conflicting packages
and still get the additional supplements
2019-01-17 14:35:17 +01:00
Stephan Kulow
ab85d07f72
pkglistgen: Move into a folder and split into 3 files
...
No further refactoring, but some cleanup of imports (which obviously has
dangers in itself)
2019-01-17 14:35:17 +01:00