You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've included complete steps to reproduce my issue.
Describe the bug
alr won't auto-install the MSYS2 version of git itself if the native Windows version is already present, but will use it (in preference to the Windows version, regardless of what's on PATH) if you install it manually with pacman. There are non-trivial differences between the two, so workspaces the user is manipulating with the native git will cause alr errors.
Since the MSYS2 version of git isn't currently supported by Alire (12 failures when running testsuite with MSYS2 git installed as described below, mostly because Alire chokes on Unix paths when running on Windows), in the short term alr should probably never auto-install it, and exclude it from any PATH modifications.
To Reproduce
On Windows, in PowerShell (or presumably any terminal other than MinGW) ...
pacman --sync git
Ensure that this new git is not on PATH
git clone https://github.com/mosteo/aaa
cd aaa
git status reports a clean repo
alr publish --skip-submit fails due to unstaged changes
pacman --remove git
alr publish --skip-submit now succeeds
The text was updated successfully, but these errors were encountered:
Checklist
alr version
.Describe the bug
alr
won't auto-install the MSYS2 version ofgit
itself if the native Windows version is already present, but will use it (in preference to the Windows version, regardless of what's onPATH
) if you install it manually withpacman
. There are non-trivial differences between the two, so workspaces the user is manipulating with the nativegit
will causealr
errors.Since the MSYS2 version of
git
isn't currently supported by Alire (12 failures when running testsuite with MSYS2git
installed as described below, mostly because Alire chokes on Unix paths when running on Windows), in the short termalr
should probably never auto-install it, and exclude it from anyPATH
modifications.To Reproduce
On Windows, in PowerShell (or presumably any terminal other than MinGW) ...
pacman --sync git
git
is not onPATH
git clone https://github.com/mosteo/aaa
cd aaa
git status
reports a clean repoalr publish --skip-submit
fails due to unstaged changespacman --remove git
alr publish --skip-submit
now succeedsThe text was updated successfully, but these errors were encountered: