msys2 / msys2-pacman

A friendly fork of https://gitlab.archlinux.org/pacman/pacman
GNU General Public License v2.0
21 stars 12 forks source link

alpm_pkg_is_core_package: handle other msys2-runtime versions #39

Closed lazka closed 2 months ago

lazka commented 3 months ago

We currently have various msys2-runtime packages with different versions (for older Windows, 32bit etc, test versions) which currently don't get the core update treatment because we just have a hardcoded list in pacman:

https://github.com/msys2/msys2-pacman/blob/490334306c2e906ed97f09bd4a87f2afed200029/lib/libalpm/package.c#L813-L819

We should expand that to also handle "msys2-runtime-" and "msys2-runtime--devel".