16 Commits

Author SHA1 Message Date
967e44ad1f skippkg-finder: sort conditionals set 2024-01-22 17:28:18 +08:00
Fabian Vogt
df4782da0b skippkg-finder.py: Handle empty configuration values properly
Splitting an empty string with ' ' results in list(""), which the code does
not handle properly. Instead use just split() which returns an empty list()
insted.
2023-06-19 10:00:52 +02:00
c86d23e05e skippkg-finder: add conditionals support for the product ftp-tree
In some cases we would not like to add package to ftp-tree on an
specific arch, this can be done by multiple 'group' to be defined in
NON_FTP_PACKAGES.group, however NON_FTP_PACKAGES.group is auto-generated
by skippkg-finder according the buildresults and the project attributes,
this commit will add conditionals support to skippkg-finder, in other
words, to be able to define arch dependent package in
NON_FTP_PACKAGES.group via the project attribute.

To enable it, 'use group' is also needed to be existsed in the product
file, the available condition/platform can be found in meta pacakge.
2023-02-02 18:42:01 +08:00
a0154300a6 skippkg-finder: remove installation-images from the forbidden list 2022-09-14 18:34:36 +08:00
af397bec22 skippkg-finder: ignore skelcd-control only on Leap project 2022-05-26 17:13:28 +08:00
97ba2ba472 skippkg-finder: remove unneeded package from the matches list 2022-04-13 04:11:48 +08:00
68873a50b4 skippkg-finder: use SLE update prior to GA for Respin
Since update project has different set up than GA project, it
should check content from update project prior to GA when run this
script for Leap Respin.
2022-03-03 00:29:48 +08:00
10cce44665 skippkg_finder: fix unconditional matches if the first regex element is space
In case regex list has not been defined any value, the first element
will be space only, this causes unconditional matched any binary name.
Exit the for loop if the first element is space only.
2022-02-23 00:40:38 +08:00
Stephan Kulow
aaab4af930 Target F401 - Unused imports 2022-02-18 18:29:27 +01:00
Stephan Kulow
529d1dafae Target E302 - add two comment lines before class 2022-02-18 17:15:48 +01:00
Stephan Kulow
5df665ccc5 Targeting E123 - Closing bracket does not match indentation
https://www.flake8rules.com/rules/E123.html
2022-02-18 15:52:47 +01:00
f79172bb7c skippkg-finder: add a supplement list for adding package to the skiplist
For the purpose of adding some package(RPM) to the skiplist, there are
two option has introduced, skiplist_supplement_regex for adding package
if it has matched with the regex, skiplist_supplement_ignores in order
to free package from the regex rule.
2022-01-25 17:57:37 +08:00
f6a392b56c skippkg-finder: add --alternative-project option overrides OPENSUSE_PROJECT for package checking
Leap 15 Respin project doesn't have inherited packagelist,
skippkg-finder should have to check origin project but upload the result
to the working target project.

Example:
Checking openSUSE:Leap:15.3, upload data to
openSUSE:Leap:15.3:Update:Respin
2021-09-24 16:17:57 +08:00
f05d711988 skippkg-finder: move extra packages to the OSRT attribute
The extra packages are packages should be skipped in ftp-tree but we
won't for some reasons, packagelist is not fixed depend on package
status in SLE side, move the list to OSRT attribute avoiding modify this
list so often.
2021-09-07 16:41:10 +08:00
eda1221f8f skippkg-finder: add two packages to the extra list for zypper dup reason 2021-09-06 15:58:39 +08:00
70acfda962 Add skippkg-finder.py to overwrite NON_FTP_PACKAGES for obsoleted and unneeded package 2021-08-26 21:37:15 +08:00