openvsx
openvsx copied to clipboard
cli: proposal to add complete 'allVersions' metadata
trafficstars
Description
The proposal is to add the more complete allVersions information when performing:
$ ovsx get <extension> --metadata
At the moment, the command will return allVersions in the form of:
"allVersions": {
"latest": "https://open-vsx.org/api/vscode/yaml/latest",
"preview": "https://open-vsx.org/api/vscode/yaml/preview",
"1.56.0-next.e95ce0a810b": "https://open-vsx.org/api/vscode/yaml/1.56.0-next.e95ce0a810b",
"1.56.0-next.9e9ad5b905f": "https://open-vsx.org/api/vscode/yaml/1.56.0-next.9e9ad5b905f",
"1.56.0-next.08d37a85a3f": "https://open-vsx.org/api/vscode/yaml/1.56.0-next.08d37a85a3f",
"1.56.0-next.4853ea69eb4": "https://open-vsx.org/api/vscode/yaml/1.56.0-next.4853ea69eb4",
Would it be possible to provide the complete information similarly to what getSearch provides?
"allVersions": [
{
"url": "https://open-vsx.org/api/vscode/yaml/1.56.0-next.e95ce0a810b",
"files": {
"download": "https://open-vsx.org/api/vscode/yaml/1.56.0-next.e95ce0a810b/file/vscode.yaml-1.56.0-next.e95ce0a810b.vsix"
},
"version": "1.56.0-next.e95ce0a810b",
"engines": {
"vscode": "*"
}
},
It would provide additional information, and allow for additional use-case (downloading compatible extensions through cli). Please let me know if its not the correct approach or desired.