Skip to content

Conversation

dscho
Copy link
Member

@dscho dscho commented Dec 30, 2024

This corresponds to git-for-windows#88 and git-for-windows#89

dscho and others added 6 commits December 30, 2024 19:26
The post-install script of `git-extra` (which we source manually)
assumes that the native `git.exe` is in the `PATH`. Let's make it so.

Signed-off-by: Johannes Schindelin <[email protected]>
The post-install script is supposed to be run in the root directory of
the SDK. Let's do that, then.

Signed-off-by: Johannes Schindelin <[email protected]>
The current version, v3.5.5, suffers from many a problem, two having
seen fixes (a mis-handling of __SIGFLUSHFAST, the other a mis-handling
of the X_OK flag when running as administrator) and at least one more
that causes inexplicable hangs in Git's test suite.

It is too late in the Git for Windows v2.48.0 cycle to investigate these
problems thoroughly and flesh out fixes, therefore the only remaining
option is to downgrade to the last known-okay MSYS2 runtime.

Signed-off-by: Johannes Schindelin <[email protected]>
It has been overridden with a version that does not hang Git's test suite
This reverts commit f3b7ce3 because its
job has been done and its services are no longer needed.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho self-assigned this Dec 30, 2024
@dscho dscho merged commit 220e59b into git-for-windows:main Dec 30, 2024
1 check passed
@dscho dscho deleted the fix-update-via-pacman.ps1 branch December 30, 2024 21:17
rm ${{ steps.download.outputs.result }} *.pkg.tar.xz.sig &&
git add -A &&
git commit -m 'Downgrade MSYS2 runtime to a non-hanging version' &&
sed -i 's/^#\? *\(IgnorePkg *=\).*/\1 msys2-runtime/' etc/pacman.conf &&
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I have figured out in #28, this is incorrect, but it is "a happy little mistake" as the consequence was a bug fix... 😃

Suggested change
sed -i 's/^#\? *\(IgnorePkg *=\).*/\1 msys2-runtime/' etc/pacman.conf &&
- sed -i 's/^#\? *\(IgnorePkg *=\).*/\1 msys2-runtime/' etc/pacman.conf &&
+ sed -i 's/^\(# *\(IgnorePkg *=\).*\| *\(IgnorePkg =.*\)\)/\2\3 msys2-runtime/' etc/pacman.conf &&

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.

1 participant