Closed h4haase closed 2 months ago
Thanks for pointing this out @h4haase. Show be fixed with #4. Can you verify this?
Yes this works, thank you. However, the conan file contains another reference to "yaml-cpp/0.7.0@" which seems to be valid and work fine with conan, but conan-check-update shows an error very similar to the original one:
raise ValueError(f"Invalid Conan reference '{reference}'") ValueError: Invalid Conan reference 'yaml-cpp/0.7.0@'
Removing the "@" does not show the error.
I see. Conan isn't too clear about how the schema of a reference should look like: https://docs.conan.io/2/reference/conanfile/attributes.html#package-reference
I guess, I seems that we are more strict than Conan here...
What is the reason to just append a @
without providing a user?
There is no particular reason, it probably was just cut‘n pasted from somewhere. The package does not have a user and channel. When searching with Conan v1 (i.e. conan search …) the @ makes a difference. Without the @ it will search for packages with corresponding name/version, with the @ it will list the properties of this particular package. AFAIR, also installing by hand , i.e. conan install yaml-cpp/0.7.0@ requires the @ to be there.
In one of my conan files I have a private requirement, i.e.
conan-check-update fails with