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 conan config get return the real configuration to be used #5351

Closed
memsharded opened this issue Jun 12, 2019 · 1 comment
Closed

make conan config get return the real configuration to be used #5351

memsharded opened this issue Jun 12, 2019 · 1 comment

Comments

@memsharded
Copy link
Member

From

conan config get returns the raw values from the conan.conf file. This might be totally useless, or even wrong, because if there are env-vars defined, as CONAN_STORAGE_PATH, then the value returned by conan config get storage.path will be the one in the file, but not the one really applied in the configuration when running conan.

#5350 fixes this for storage.path only:

  • Check if this should be extended for other fields, like cacert_path, or non_interactive
  • Investigate what makes sense for conan config set. Probably it should warn (at least) if the env-var is set, because the value set won't be used either.
  • Investigate what to do with sections: conan config get storage will return path = ./data, without resolving the data as conan config get storage.path
@AbrilRBS
Copy link
Member

AbrilRBS commented Mar 3, 2023

Closing, as Conan 2.0 does not provide conan config get

@AbrilRBS AbrilRBS closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants