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

fix: Adapt root prefix determination #3782

Merged
merged 15 commits into from
Jan 30, 2025

Conversation

jjerphan
Copy link
Member

@jjerphan jjerphan added the release::bug_fixes For PRs fixing bugs label Jan 29, 2025
@jjerphan jjerphan marked this pull request as ready for review January 29, 2025 10:43
Signed-off-by: Julien Jerphanion <[email protected]>
@jjerphan jjerphan force-pushed the fix/root-prefix-determination branch from 317b222 to 6048c2a Compare January 29, 2025 11:00
libmamba/src/core/util_os.cpp Outdated Show resolved Hide resolved
libmamba/src/core/util_os.cpp Outdated Show resolved Hide resolved
libmamba/src/api/configuration.cpp Outdated Show resolved Hide resolved
jjerphan and others added 3 commits January 29, 2025 14:22
Signed-off-by: Julien Jerphanion <[email protected]>

Co-authored-by: Klaim <[email protected]>
Signed-off-by: Julien Jerphanion <[email protected]>
@jjerphan jjerphan force-pushed the fix/root-prefix-determination branch from 110905c to acf4828 Compare January 29, 2025 13:51
Comment on lines +1 to +6
if [ -z "${MAMBA_ROOT_PREFIX}" ]; then
echo "WARNING: MAMBA_ROOT_PREFIX is not set."
echo "WARNING: Please set `MAMBA_ROOT_PREFIX` to the root of your installation."
echo "WARNING: For now continuing with `MAMBA_ROOT_PREFIX` set to `@CMAKE_INSTALL_PREFIX@`."
export MAMBA_ROOT_PREFIX="@CMAKE_INSTALL_PREFIX@"
fi
Copy link
Member Author

Choose a reason for hiding this comment

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

What do people think of this?

Copy link
Member

Choose a reason for hiding this comment

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

I don't have any strong opinion about this. We can still revert it later if people are annoyed by the warning.

libmamba/src/core/util_os.cpp Outdated Show resolved Hide resolved
libmamba/src/api/configuration.cpp Outdated Show resolved Hide resolved
jjerphan and others added 2 commits January 29, 2025 16:16
Signed-off-by: Julien Jerphanion <[email protected]>

Co-authored-by: Klaim <[email protected]>
Signed-off-by: Julien Jerphanion <[email protected]>
@jjerphan jjerphan force-pushed the fix/root-prefix-determination branch from d4e642c to de142a7 Compare January 29, 2025 15:18
Signed-off-by: Julien Jerphanion <[email protected]>
Signed-off-by: Julien Jerphanion <[email protected]>
@jjerphan jjerphan force-pushed the fix/root-prefix-determination branch from 08480bd to 457efb7 Compare January 30, 2025 06:47
Signed-off-by: Julien Jerphanion <[email protected]>
@JohanMabille JohanMabille merged commit 1951127 into mamba-org:main Jan 30, 2025
33 of 34 checks passed
@jjerphan jjerphan deleted the fix/root-prefix-determination branch January 30, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release::bug_fixes For PRs fixing bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants