Open h4haase opened 4 months ago
Hi @h4haase, this makes sense and can be easily added I guess.
Internally conan search -r all <package>
(conan v1) or conan search <package>
(conan v2) is used. What would be the equivalent search command to also search the local caches?
Thanks for considering this. For conan v1 it would be just conan search <package>
, not sure what that would be for conan v2.
As I understand the conan v2 documentation the correct command would be conan list <query>
, even for searching in remotes (conan search
just seems to be an alias for conan list <query> -r=*
)
Also I think it is not possible to search remotes and local cache at the same time, so two calls to conan would be needed.
I made changes to a dependency and locally created a new conan package without uploading it to a conan remote. Then I tried to used conan-check-updates to batch update all packages that depend on that dependency. However, AFAICS, conan-check-updates only looks into remotes for newer versions and does not take into account the local cache. Would it be possible to add this as an optional functionality ?