Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Fix board and library updates for CLI #1611

Merged
merged 2 commits into from
Feb 27, 2023

Conversation

benmcmorran
Copy link
Member

Previously, refreshing the board index or library index simply attempted to install a board or library named "dummy", which doesn't make any sense in the Arduino CLI. Additional URLs from arduino.additionalUrls were also only written to a settings file but not passed to the Arduino CLI, so it was difficult to install third party boards or libraries.

This PR changes that behavior to call core update-index or lib update-index as appropriate, and wraps calls to the CLI to always pass the --additional-urls flag.

@benmcmorran benmcmorran merged commit 5f2cf62 into main Feb 27, 2023
@benmcmorran benmcmorran deleted the dev/bemcmorr/improve-arduino-cli branch February 27, 2023 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants