robgonnella / ardi

Ardi is a command-line tool that helps you manage arduino projects!
GNU General Public License v3.0
12 stars 1 forks source link

MINOR "ardi list board-platforms" shows lots of duplicates #90

Closed egnor closed 1 year ago

egnor commented 3 years ago

(Ardi 2.4.1)

When I do a fresh ardi project-init and run ardi list board-platforms I see a list with lots of duplicate entries:

Board                                             Platform
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground                       arduino:avr
Adafruit Circuit Playground Express               arduino:samd
Adafruit Circuit Playground Express               arduino:samd
Adafruit Circuit Playground Express               arduino:samd
Adafruit Circuit Playground Express               arduino:samd
Adafruit Circuit Playground Express               arduino:samd
Adafruit Circuit Playground Express               arduino:samd
... long list omitted ...
atmega328p-xmini                                  atmel-avr-xminis:avr
atmega328p-xmini                                  atmel-avr-xminis:avr
atmega328p-xmini                                  atmel-avr-xminis:avr
atmega328p-xmini                                  atmel-avr-xminis:avr
atmega328pb-xmini                                 atmel-avr-xminis:avr
atmega328pb-xmini                                 atmel-avr-xminis:avr
atmega328pb-xmini                                 atmel-avr-xminis:avr
atmega328pb-xmini                                 atmel-avr-xminis:avr
littleBits w6 Arduino module                      littleBits:avr

Seems like these ought to be de-duped for display?

robgonnella commented 2 years ago

Fixed will be in next release