-
Notifications
You must be signed in to change notification settings - Fork 986
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
[question] How to limit "conan list" to remote only #17380
Comments
Hi @rafzi Thanks for your question. When using the
There is no way, because the result of What is your use case, what are you trying to achieve? The |
Thanks for the quick and detailed response. You are right that it does not make much sense with The basic idea is to follow this concept to host own binaries: https://docs.conan.io/2/devops/conancenter/hosting_binaries.html An issue with the described flow is that if the local cache is lost, e.g. when a CI machine is reprovisioned, all packages are rebuilt from scratch even if they still exist on the remote. So the idea was to check whether a remote has binaries available for the given configuration and only if they do not exist, build and upload the package. I also tried "conan graph info", but that does not give me PREVs if the packages do not exist in the local cache. Is there any way to achieve this? |
I might be missing something, but this shouldn't happen. If the packages are in the remote, they will be used from the remote, binaries are downloaded from the remote by default in all |
Sorry for the confusion, everything seems to work as expected. I thought it would maybe be possible to get around the downloading step, but that does not seem worth any additional effort. |
Nice, not a problem, happy to help, thanks for the feedback! |
What is your question?
I'm using a command like the following and would expect that this allows me to check the existence of the packages in the remote.
However, it returns the packages in "Local Cache".
If I just use the following, it seems to work correctly.
Q: Is there any way to query the remote for the packages in the build.json (from "conan create --format=json")?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: