Space-separated $ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS broken in arduino-cli v1.0.0 #2646
Closed
3 tasks done
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
The environment variable
$ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS
is documented to allow a space-separated list of URLs, but as of v1.0.0 it does not.To reproduce
export ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS="https://downloads.arduino.cc/packages/package_staging_index.json https://downloads.arduino.cc/packages/package_mbed_index.json"
arduino-cli core update-index
Expected behavior
I expect it to load both package indexes. Instead, I get:
Arduino CLI version
1.0.0
Operating system
Linux
Operating system version
Ubuntu 24.04
Additional context
Running with
-v
, it looks like it's overescaping the value:Note the URL
https://downloads.arduino.cc/packages/package_staging_index.json%20https://downloads.arduino.cc/packages/package_mbed_index.json
which is actually both URLs combined with a%20
(URL-escaped space).Issue checklist
The text was updated successfully, but these errors were encountered: