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 inspect remote #7749
fix inspect remote #7749
Conversation
Assigning @czoido, because this deserves some thought into the new CLI 2.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm adding a test, as I think there's a side effect with this. As we are deleting export preparing to download the files:
conan/conans/client/remote_manager.py
Line 167 in 4d43ce8
rmdir(dest_folder) |
Doing something like this:
conan new pkg/1.0 -s
conan create .
conan inspect pkg/1.0 # is fine, we get the data
conan inspect pkg/1.0 -r conan-center # as a side effect removes export folder
conan inspect pkg/1.0 # broken
Very good catch @czoido I have changed the code, doing first a check if the recipe exists in the remote before trying to fetch it, with |
Changelog: Bugfix: Fix
inspect --remote
forcing to retrieve the remote for evaluation, overwriting what is in the local cache.Docs: Omit
Close #7745