Repository navigation
Conversation
The `build-installers` SDK artifact is a sparse SDK checkout that includes gpg and friends. Since it already includes everything required to run gpg, Git for Windows' automation uses it in GitHub workflows to run Pacman and GnuPG operations. That sparse checkout includes `gpg.exe` and `gpgconf.exe`, but is missing a couple of helper programs to which gpg delegates to at runtime, and even misses some of the DLLs those helpers load. As a result, the `remove-packages-from-pacman-repository.yml` workflow in `git-for-windows/git-for-windows-automation` currently fails to import the key it needs to sign and verify packages: gpg: error running '/usr/bin/dirmngr': probably not installed gpg: failed to start dirmngr '/usr/bin/dirmngr': Configuration error gpg: can't connect to the dirmngr: Configuration error gpg: keyserver receive failed: No dirmngr The reason: `gpg --recv-keys` delegates keyserver access to `dirmngr`, and `gpgconf --kill` delegates to `gpg-connect-agent`; neither is present. Add them and the DLLs and EXEs they need to the sparse checkout. Practically, these EXEs and DLLs should be included in the `build-installers` artifact because they should be enumerated by the `make-file-list.sh`, which lists the contents of the Pacman packages from which to construct Git for Windows set of files. However, that requires Pacman to work, which requires gpg to work... Signed-off-by: Johannes Schindelin <[email protected]>
dscho
marked this pull request as draft
November 5, 2026 13:47
Signed-off-by: Johannes Schindelin <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
Member
Author
|
I actually think that this is not necessary because the cache 22 only occurs if the pacman call is run in So this PR is wrong. GPT-6.1 Sol was wrong. Shocking, I know. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I just tried to drop the 64-bit variants of the OpenSSL packages from Git for Windows' Pacman repository, by running the
remove-packages-from-pacman-repositoryworkflow, but it failed. The symptoms point to a Catch-22 in runninggpgto list the contents of thegnupgpackage so that those helpers that are required are included in the SDK artifact. Let's fix that.