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

[feature] add proper requires to conan search output #6721

Closed
fulara opened this issue Mar 23, 2020 · 1 comment
Closed

[feature] add proper requires to conan search output #6721

fulara opened this issue Mar 23, 2020 · 1 comment

Comments

@fulara
Copy link
Contributor

fulara commented Mar 23, 2020

This possibly could be a bug submit :)

Currently (in 1.24 ) when building package and we have missing prebuilt conan will spew output like this:
cant find a .. settings: "...", "options: "...", requires: "..."

However conan search reference .. only outputs valid options, settings.
requires output is slightly off - its basically a full_requires - not sure why decision was made to print [full_requires] in place of [requires]

Making requires print the original value would allow for direct matching between these two outputs, tracking exactly what our build matrix is missing to satisfy criteria of conan install.

Scanning the codebase:
https://github.com/conan-io/conan/blame/8f5e997660bd265789f48bd26c54797f5f74067f/conans/model/info.py#L469
We can see a direct assignment requires = full_requires - and also hardcoded semver_direct_mode ?

Anyway,
It would be great if conan info .. would print it in the form available in conaninfo.txt so something like:
1.Y.Z if only major version is of interest.

references:
#6364

@fulara fulara closed this as completed Mar 23, 2020
@fulara
Copy link
Contributor Author

fulara commented Mar 23, 2020

Closing,

I just had a realisation that the content of this issue is slightly untrue.
I will reword this and reopen it later

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

No branches or pull requests

1 participant