Skip to content

core search should support platform ID match #612

Closed
@kittaakos

Description

@kittaakos
Contributor

The current implementation of the core search checks matches based on

Would it be possible to search by the platform ID?

string ID = 1;

Current behavior:

akos.kitta@Akoss-MacBook-Pro arduino-cli % ./arduino-cli core search
ID                   Version   Name                                             
Arrow:samd           2.1.0     Arrow Boards                                     
Intel:arc32          2.0.4     Intel Curie Boards                               
Intel:i586           1.6.7+1.0 Intel i586 Boards                                
Intel:i686           1.6.7+1.0 Intel i686 Boards                                
Microsoft:win10      1.1.2     Windows 10 Iot Core                              
arduino:avr          1.8.2     Arduino AVR Boards                               
arduino:mbed         1.1.4     Arduino nRF528x Boards (Mbed OS)                 
arduino:megaavr      1.8.5     Arduino megaAVR Boards                           
arduino:nrf52        1.0.2     Arduino nRF52 Boards                             
arduino:sam          1.6.12    Arduino SAM Boards (32-bits ARM Cortex-M3)       
arduino:samd         1.8.5     Arduino SAMD Boards (32-bits ARM Cortex-M0+)     
arduino:samd_beta    1.6.25    Arduino SAMD Beta Boards (32-bits ARM Cortex-M0+)
atmel-avr-xminis:avr 0.6.0     Atmel AVR Xplained-minis                         
emoro:avr            3.2.2     EMORO 2560                                       
industruino:samd     1.0.1     Industruino SAMD Boards (32-bits ARM Cortex-M0+) 
littleBits:avr       1.0.0     littleBits Arduino AVR Modules                   

akos.kitta@Akoss-MacBook-Pro arduino-cli % ./arduino-cli core search "arduino:sam"
No platforms matching your search.

Expected behavior:

akos.kitta@Akoss-MacBook-Pro arduino-cli % ./arduino-cli core search "arduino:sam"
ID          Version Name                                      
arduino:sam 1.6.12  Arduino SAM Boards (32-bits ARM Cortex-M3)

Workaround:
I run a wildcard query and filter the results by the platform ID.

Arduino CLI version:

  • I built one from the sources: 8483cb2,
  • OS: macOS 10.15.3

Activity

added a commit that references this issue on Mar 12, 2020

arduinoGH-612: `core search` can match Platform#ID too.

kittaakos

kittaakos commented on Mar 12, 2020

@kittaakos
ContributorAuthor

PR: #615

added a commit that references this issue on Mar 12, 2020

arduinoGH-612: `core search` can match Platform#ID too.

added a commit that references this issue on Mar 20, 2020

GH-612: `core search` can match Platform#ID too. (#615)

8759bf4
added 2 commits that reference this issue on Mar 23, 2020

arduinoGH-612: `core search` can match Platform#ID too. (arduino#615)

arduinoGH-612: `core search` can match Platform#ID too. (arduino#615)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @kittaakos

      Issue actions

        `core search` should support platform ID match · Issue #612 · arduino/arduino-cli