yay icon indicating copy to clipboard operation
yay copied to clipboard

Fixed issue #2387

Open theaino opened this issue 1 year ago • 8 comments

Fixing issue #2387

When having clone.defaultRemoteName not set to origin in the global gitconfig, the installation fails.

This is fixed by setting GIT_CONFIG_NOSYSTEM=1 when running the makepkg and git commands. The original PKGBUILD repo is also cloned with the --origin=origin flag set, just in case.

theaino avatar Mar 09 '24 06:03 theaino

Hey @AinoSpring , I think only keeping origin=origin the best. Some users rely on the gitconfig to handle proxies,..

Jguer avatar Mar 15 '24 22:03 Jguer

The problem "somehow" happened in the makepkg commands so git flags can't be used..

I just found some other git env-vars to override config keys which also fixed the problem.

theaino avatar Mar 16 '24 05:03 theaino

:+1: ok to merge this, testing didn't show much problems. Thanks @AinoSpring

Jguer avatar May 02 '24 11:05 Jguer

Hey @AinoSpring , I think your rebase might have failed. Would you be available for handling it?

Jguer avatar May 13 '24 08:05 Jguer