Skip to content

drop-pacman-package: support MINGW packages and UCRT64#176

Merged
dscho merged 3 commits into
mainfrom
allow-uninstalling-MINGW-packages
Jun 11, 2026
Merged

drop-pacman-package: support MINGW packages and UCRT64#176
dscho merged 3 commits into
mainfrom
allow-uninstalling-MINGW-packages

Conversation

@dscho

@dscho dscho commented Jun 8, 2026

Copy link
Copy Markdown
Member

Previously, the workflow would only work for packages whose name is unchanged across Git for Windows SDKs, i.e. MSYS packages. However, MINGW packages' names start with a prefix that encodes the architecture. Let's support that via mingw-w64-<name>, which is auto-expanded to ${MINGW_PACKAGE_PREFIX}-<name>.

While at it, also support UCRT64, which is currently developed on the ucrt64 branch of git-sdk-64.

@dscho dscho requested review from mjcheetham and rimrul June 8, 2026 15:08
@dscho dscho self-assigned this Jun 8, 2026
dscho added 3 commits June 8, 2026 17:10
This not only clarifies that the package is _uninstalled_, but also
mentions _which_ package.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
These have variable package name prefixes; Now, `mingw-w64-` is replaced
with the SDK-specific `${MINGW_PACKAGE_PREFIX}` (e.g.
`mingw-w64-clang-aarch64-` for CLANGARM64).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
In git-for-windows/git-sdk-64#117, I am starting
the MINGW64 -> UCRT64 migration, and therefore I want to target that
branch, too, when uninstalling packages.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho force-pushed the allow-uninstalling-MINGW-packages branch from 368368d to 0aa0de5 Compare June 8, 2026 15:10
@dscho

dscho commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

I meant to demonstrate that these changes work by uninstalling the mingw-w64-rtmpdump package, only to realize that cannot be uninstalled anymore because it had already been uninstalled before.

@dscho dscho merged commit 5455e75 into main Jun 11, 2026
8 checks passed
@dscho dscho deleted the allow-uninstalling-MINGW-packages branch June 11, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants