Listing all the available packages in a machine-friendly fashion? #19161
Replies: 10 comments
-
Thanks for the suggestion! I'd love to have a mode that outputs in a machine friendly format ( I'd be happy to review a PR adding this! |
Beta Was this translation helpful? Give feedback.
-
You could have a look at my progress here. Directly reading the ports directory is quite simple. |
Beta Was this translation helpful? Give feedback.
-
@cmpute : very nice work, that makes my project obsolete. I'll just use your GUI :) |
Beta Was this translation helpful? Give feedback.
-
I think it would still be useful to have a integrated function that e.g. produces a json output listing both available packages as well as installed packages (installed packages might have a different version than the port files). That way, not everyone who wants to build tools on top of vcpkg has to search and parse the ports and packages directories. |
Beta Was this translation helpful? Give feedback.
-
@cmpute - Edit: |
Beta Was this translation helpful? Give feedback.
-
Thanks for @VioletGiraffe @cmpute , I have the same idea too. |
Beta Was this translation helpful? Give feedback.
-
This issue hasn’t been updated in a year; if it is still an issue, please reopen. |
Beta Was this translation helpful? Give feedback.
-
Best I can tell, this is still not implemented please reopen. |
Beta Was this translation helpful? Give feedback.
-
I concur, but I also understand that this is a low priority task for vcpkg maintainers. |
Beta Was this translation helpful? Give feedback.
-
I noticed there is an option '--x-json' for listing libraries in JSON format, but it's still in experimental.
|
Beta Was this translation helpful? Give feedback.
-
I'm working on a simple GUI for vcpkg, just to make my life easier (not that vcpkg is difficult to use). I want to list all the available packages, and I have a problem parsing
vcpkg search --x-full-desc
output, as well asvcpkg search
. It's because of the lack of unambiguous delimiters, and also because some packages are missing version number. Is there a way to get this list in a more computer-friendly form? Perhaps, parse some file withinvcpkg
installation folder instead of parsingvcpkg search
output?Beta Was this translation helpful? Give feedback.
All reactions