arduino-cli
arduino-cli copied to clipboard
The `core.GetPlatforms` function ignores the `all` field showing manually installed cores
The core.GetPlatforms function is not working as intended right now but the logic of this function is good.
It ignores the All field in the rpc.PlatformListRequest showing the manually installed cores even if the All field is set to false.
see https://github.com/arduino/arduino-cli/pull/1509#discussion_r730758844
It seems to be the bug i've faced with too. If starting from scratch (or data dir cleaned): core list --all forces updating index (library_index, package_index) but GetPlatform with all passed called via gRPC just returns an empty list.
Nope, it seems that all is used in the code. I will create another ticket for my issue
@umbynos @4ntoine can we assume this is a closed issue in light of #1521 being merged?
Actually that PR is not merged yet because the tests are not passing. It surely need some more investigation
Fixed in: https://github.com/arduino/arduino-cli/pull/2357