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

Warn on implicit no remote store #893

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

singiamtel
Copy link
Collaborator

Make it more clear when we're recompiling everything ourselves

I'm adding it here instead of in alibuild_helpers/args.py because the logger is not initialized yet during the arg parsing

I'm honestly not very convinced about how this change turned out, if there's any suggestion on how to improve it, please let me know

Make it more clear when we're recompiling everything ourselves
@@ -451,6 +452,11 @@ def doBuild(args, parser):
'Maybe you need to "cd" to the right directory or '
'you forgot to run "aliBuild init"?' % args.configDir)

if (not args.no_remote_store and
Copy link
Member

Choose a reason for hiding this comment

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

The change itself is fine for me. What happens on platforms where we prefer the system tools, like on macOS?

Could you add a test which exercises this part of the code?

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