-
Notifications
You must be signed in to change notification settings - Fork 989
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] filtering packages with "conan list" based on an option not part of the package id #14464
Comments
Hi @tbsuht Thanks for your question. The Let's say that we decide to ignore inputs to |
Hi @memsharded Is it possible to extend the information in
If the info about the removed attributes would be available then we could 1) show a warning if an attribute is used, which is not a option/setting/... and 2) ignore it if it was removed from the |
I am afraid this is impossible. In Conan 2.0, the |
Is it possible to easily query the |
the |
Ok then this also not really an alternative for me as I need to provide a
Thanks! |
Implemented in #14694, will be released next 2.0.15 |
What is your question?
Hi,
consider
gtest/1.13.0
which has an optionno_main
which is not part of the package_id.No mather which value you try to filter for such an option, this will not find a package:
This is not obvious to someone who doesn't know the recipe:
Now the problem is, that this option
no_main
is outputted in the json output fromconan create
and I create filters based on this report e.g. to find a "Debug" package of a build for a debugging tool.I have no way of removing this option from the filter creation as I can't get the info that the option is not part of the package_id.
How to deal with this situation?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: