Search with query should return packages with settings set to Any
See original GitHub issueI am trying to use conan search
to detect the outdated from recipe
to determine when to build a package or not - so I am invoking search as follows:
conan search plexconantool/1.0@plex/stable -r plex -q "os=Linux and arch=x86_64 and compiler=gcc and compiler.version=6.2 and compiler.libcxx=libstdc++11 and build_type=Release"
Where the query match the current building settings. This narrows it down to what packages that needs to be built for this current set of settings. The problem with this is that it excludes packages that have settings set to Any
in conan_info
(like python packages). They should ideally be included in the search results here. Alternatively I need to figure out if a current package have a specific setting set to Any and then modify my query.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Yeah I see some options for workarounds:
Here is what my program currently does:
conan info --build_order=ALL
conan search <package> -q "<all settings>"
test_package
andupload
on the packages that that are not up-to-dateIf I could run some kind of command before search to know what settings that needs to be included in the query that’s one solution. Another solution is to make it easier to parse the output of search so that I don’t need to call with query at all and instead do that matching on the client side. More code for me though.
This one could be closed since we have the search json output, right? Feel free to write if anything is still missing. As you know we are trying to improve every release something related to the automation/json.