Please make the output of the board listall --format json
deterministic
#1909
Labels
board listall --format json
deterministic
#1909
Describe the request
During the review of arduino/arduino-ide#1520, I noticed that the output of
board listall --format json
is not always the same. It's not a big deal, but it works fine with the nonjson
output. It would be great to have the same result when I execute the same command twice. This also affects the gRPC API.Update:
For completeness, the order of the boards inside a platform matches the
boards.txt
order, but the platforms' order seems "random".Describe the current behavior
I am using a CLI from c8ff042:
I have the following platforms installed:
When I run
board listall
without the--format json
flags, I always get the same result:Run the same command with the
--format json
flag at least twice (or multiple times), and you most likely get a different output than the previous one:Arduino CLI version
c8ff042
Operating system
macOS
Operating system version
12.5.1
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: