Skip to content

Make msys live inside overridden config path by default#1589

Merged
mosteo merged 5 commits into
alire-project:masterfrom
mosteo:fix/msys-path
Feb 28, 2024
Merged

Make msys live inside overridden config path by default#1589
mosteo merged 5 commits into
alire-project:masterfrom
mosteo:fix/msys-path

Conversation

@mosteo

@mosteo mosteo commented Feb 26, 2024

Copy link
Copy Markdown
Member

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
@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