Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make msys live inside overridden config path by default #1589

Merged
merged 5 commits into from
Feb 28, 2024

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Feb 26, 2024

Goes on top of #1592

This is just a matter of defaults, as this path can be set with alr config --set msys2.install_dir <path> anyway.

The current intent is that overriding ALR_CONFIG gives you an entirely isolated configuration. So when that variable is set, the default cache location is also moved inside ALR_CONFIG.

Except that, right now, msys2 isn't honoring this, as it is using the default cache location even if ALR_CONFIG is set. This PR brings in line the installation dir of msys2 to honor other cache uses that are indeed relocated.

@mosteo mosteo force-pushed the fix/msys-path branch 5 times, most recently from 2ff58d7 to 3749678 Compare February 26, 2024 17:47
@mosteo mosteo added this to the 2.0 milestone Feb 26, 2024
As this makes impossible to tweak such initialization with `alr config`.
@mosteo mosteo marked this pull request as ready for review February 27, 2024 15:40
@mosteo mosteo merged commit 8996b85 into alire-project:master Feb 28, 2024
27 checks passed
@mosteo mosteo deleted the fix/msys-path branch February 28, 2024 18:21
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