Closed maxgerhardt closed 2 years ago
Addendum: Per community post I remembered the API page and figured out that a GET query like
https://api.registry.platformio.org/v3/packages/platformio/tool/toolchain-atmelavr
would do what I want, but this is very cumbersome.
Yes, we didn't expect this. JFrog closed the Bintray project. We used Bintray as one of our OSS mirrors.
There is a new PlatformIO Trusted Registry that was launched in the summer of 2020. The only missing thing is a frontend for it. We will provide soon. Sorry for the issue.
Meantime, you can use our API 3.0 => https://redocly.github.io/redoc/?url=https://api.registry.platformio.org/v3/openapi.yaml
Search example - https://api.registry.platformio.org/v3/packages?query=type:tool%20atmelavr
The GUI and CLI has been implemented:
What kind of issue is this?
Configuration
Operating system: Win10 x64
PlatformIO Version (
platformio --version
):version 5.1.0
Description of Feature Request
I've just noticed this morning that the bintray website (https://bintray.com/platformio/) doesn't contain the
tool-packages
sub-package in which I was able to search which packages and package versions are available in PlatformIO for e.g. usage in theplatform_packages
directive in theplatformio.ini
.Only using this website I was able to answer a lot of forum questions regarding "How can I upgrade my compiler" or "What package do I need to use for an older mbed-os package" or "why is that package of that version missing" (when the package of another version might be usable).
The CLI doesn't support searching for generic packages, like
toolchain-atmelavr
, as far as I understand.pio lib search toolchain-atmelavr
andpio platform search toolchain-atmelavr
both don't list whattoolchain-atmelavr
package versions are available. I also don't see any other command documented that would do that.What I would be expecting is that there is a general
pio package search
orpio registry search
command that lets one enumerate available package sources / versions for a given domain, and e.g. even download them.