openSUSE / openSUSE-release-process

Other
8 stars 9 forks source link

[15.3 retro] manual work to filter out the obsoleted package #75

Open nilxam opened 3 years ago

nilxam commented 3 years ago

The obsoleted package(RPM) in the previous SLE SP does exist in the pool repository still, so far we noticed these package when we see openQA test failing; the output from the pkglistgen run or someone file a bugreport, there is no automatic way to catch them at the pre-integration stage(before a product build) since all of them are installable on the buildservice, the current way to fix this case is manually adding them to the filter list and adds them as weakremovers() to the release package. Another reason these binary RPM has been selected that because we do use * (wildcard) in the ftp-tree kiwi as standard as selecting any binary RPM if exists.

Case1: obsoleted samba binary RPM from the old SPx, added to filter list

<!-- to ignore old samba packages -->
<package name="libsamba-policy-python-devel"/>
<package name="libsamba-policy0"/>
<package name="libsamba-policy0-32bit"/>
<package name="samba-libs-python"/>
<package name="samba-libs-python-32bit"/>
<package name="samba-python"/>
<package name="libndr0"/>
<package name="libndr0-32bit"/>
<package name="python-tdb"/>
<package name="python-tdb-32bit"/>
<package name="python-tevent"/>
<package name="python-tevent-32bit"/>
<package name="python-ldb"/>
<package name="python-ldb-devel"/>
<package name="python-ldb-32bit"/>
<package name="python-talloc"/>
<package name="python-talloc-devel"/>
<package name="python-talloc-32bit"/>

Case2: uninstallable binary RPM does exist in the ftp

MozillaThunderbird-buildsymbols from the old version of MozillaThunderbird.

Damage Broke migration, and uninstallable binary RPM provided by online repository.

nilxam commented 3 years ago

I created a helper to find the obsoleted binary from the previous SPx https://github.com/nilxam/leap_development/blob/master/scripts/obsoletes_finder.py , it helps us to catch many of obsoletes in the pre-integration stage, although that is not as the final obsoletes list of the ftp tree because some unneeded package is still need to be add to the list manually, eg. SUSE-Manager-X or python-ibus, etc..

the result from obsoletes_finder.py looks reasonable https://github.com/nilxam/leap_development/blob/master/scripts/obsoletes_packages

nilxam commented 3 years ago

Merge the result to NON_FTP_PACKAGES.group in 000package-groups is the next step.

lkocman commented 3 years ago

Max will create a bot, we should then add this bot to the list of bots to be enabled for a new release.

nilxam commented 2 years ago

obsoletes_finder now can push the result to NON_FTP_PACAKGES.group, see https://build.opensuse.org/package/revisions/openSUSE:Leap:15.4/000package-groups , I'd say the finder is ready.

nilxam commented 2 years ago

Renamed obsoletes_finder to skippkg_finder https://github.com/nilxam/leap_development/blob/master/scripts/skippkg-finder.py , trying to get it into openSUSE-release-tools