Skip to content

[ Nightly Build Regression ] - Arduino CLI will not use the default configuration .yaml file #1018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ubidefeo opened this issue Oct 8, 2020 · 1 comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@ubidefeo
Copy link

ubidefeo commented Oct 8, 2020

We recently introduced a regression which ended up in the latest Nightly.

The current Nightly build will not take the config file in consideration, so it won't be possible to search for boards and install them unless you pass in a path to the correct configuration file

the temporary workaround is to add --config-file as a flag

In my setup I run
arduino-cli config dump --config-file $ARDUINO_PREF/arduino-cli.yaml
arduino-cli core search samd --config-file $ARDUINO_PREF/arduino-cli.yaml

We'll be patching this tomorrow, apologies for any inconvenience if you're testing a NIghtly Build.
Reminder: do not use Nightly Builds (or Alpha, for what it's worth) in your production setup :D

thanks
Arduino Tooling Team

@ubidefeo ubidefeo pinned this issue Oct 8, 2020
@ubidefeo ubidefeo changed the title [ Nightly Build Regression ] - config dump outputs default vanilla settings [ Nightly Build Regression ] - config command will not use the default configuration .yaml file Oct 8, 2020
@ubidefeo ubidefeo changed the title [ Nightly Build Regression ] - config command will not use the default configuration .yaml file [ Nightly Build Regression ] - Arduino CLI will not use the default configuration .yaml file Oct 9, 2020
@silvanocerza
Copy link
Contributor

I think this could be closed, we reverted the culprit commit and refactored how configs are handled to reimplement the wanted features with #1027.

@cmaglie cmaglie closed this as completed Oct 14, 2020
@cmaglie cmaglie unpinned this issue Oct 14, 2020
@rsora rsora reopened this May 11, 2021
@per1234 per1234 added conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants