Closed
Description
Bug Report
Originally from here: arduino/arduino-pro-ide#21
core search
does not contain 3rd party board names after code update-index
.
Current behavior
The board names are missing.
Steps to reproduce:
Here are the steps to reproduce the problem with the CLI only. I am not sure if this is an IDE problem, maybe the way we update the index and run the search from the IDE is incorrect.
- Wipe the previous state if any:
rm -rf ~/Library/Arduino15
- Check the CLI version:
./arduino-cli version
- Update index with a 3rd party core:
./arduino-cli core update-index --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json
- Run a wildcard seach for all cores:
./arduino-cli core search --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json
- Install the
arbotix:avr
3rd party core:
./arduino-cli core install arbotix:avr --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json
- Update the index without the URL of the previously installed 3rd party core:
./arduino-cli core update-index
- Run a new platform search with the additional core URL; you can see the 3rd part core and its
Name
:
./arduino-cli core search --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json
- Run another platform search without the additional core URL; you cannot see the
Name
of the installed 3rd party core:
./arduino-cli core search
All in one (you can see the final search does not contain the Name
of the installed 3rd party core):
rm -rf ~/Library/Arduino15 \
&& ./arduino-cli version \
&& ./arduino-cli core update-index --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json \
&& ./arduino-cli core search --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json \
&& ./arduino-cli core install arbotix:avr --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json \
&& ./arduino-cli core update-index \
&& ./arduino-cli core search --additional-urls https://tician.github.io/arbotix/package_trossen_arbotix_index.json \
&& ./arduino-cli core search
End of the output:
[...]
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
arbotix:avr 0.0.3 Arbotix AVR Boards
arduino:avr 1.8.1 Arduino AVR Boards
arduino:mbed 1.1.2 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.4 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
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
arbotix:avr 0.0.3 <------ MISSING NAME :(
arduino:avr 1.8.1 Arduino AVR Boards
arduino:mbed 1.1.2 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.4 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
I can confirm, it results in an incomplete state in the Pro IDE:
Expected behavior
The board names are available.
Environment
- CLI version (output of
arduino-cli version
): - OS and platform:
Additional context
Metadata
Metadata
Assignees
Labels
No labels