conan: [bug] `conan list packages` is broken
Environment Details (include every applicable attribute)
- Operating System+version:
21H2 (OS Build 19044.1706)
- Compiler+version: N/A
- Conan version:
←[1m←[32mConan version 2.0.0-alpha7←[0m
- Python version:
Python 3.9.7
Steps to reproduce (Include if Applicable)
run conan list packages zlib/1.2.11@#latest -r conanv2
Logs (Executed commands with output) (Include/Attach if Applicable)
conan list packages zlib/1.2.11@#latest -r conanv2
←[1m←[34mconanv2:←[0m
←[1m←[31m ERROR: 500: org.jfrog.repomd.conan.exceptions.ConanInfoException: Missing section in conaninfo.txt. [Remote: conanv2]←[0m
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (17 by maintainers)
(conan-center-index context)
There are at least to places where we want the list of package-ids.
conan graph info
could be a replacement, although iterating all the profiles will take longer than one single call toconan list
… and this call cannot be cached, we need to query the remote for the packages that are available at that moment.IMHO, if
conan list
doesn’t work yet, using JFrog CLI can be the easiest alternative. It is very simple to list the directories under a given entry. The only drawback is that JFrog CLI cannot check anything (package integrity,…) it will just list folder names.I agree that the workaround could be documented (or even implemented behind the scenes in the Conan client) while Artifactory fixes this API endpoint.