Skip to content

Could not add proxy setting to the configuration file thanks the cli #1273

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
fpistm opened this issue Apr 21, 2021 · 3 comments · Fixed by #1288
Closed

Could not add proxy setting to the configuration file thanks the cli #1273

fpistm opened this issue Apr 21, 2021 · 3 comments · Fixed by #1288
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@fpistm
Copy link
Contributor

fpistm commented Apr 21, 2021

Bug Report

arduino-cli can managed the proxy setting in its configuration file: arduino-cli.yaml
Like this:

network:
  proxy: http://<login>:<password>@myproxy.ext:port

Anyway it seems it does not able to add it thanks the cli only by editing manually the file.

Current behavior

arduino-cli config add network.proxy http://<login>:<password>@myproxy.ext:port

Result to Settings key doesn't exist

Expected behavior

Be able to add the proxy configuration thanks the cli.

Environment

  • CLI version (output of arduino-cli version): arduino-cli alpha Version: 0.18.1 Commit: b3cf8e1 Date: 2021-04-13T13:08:30Z
  • OS and platform: Linux

Additional context

In a general way all possible setting keys should be supported thanks arduino-cli config <set|add> key.name key.value commands.

Thanks

@silvanocerza
Copy link
Contributor

Yep, I forgot to add the network.proxy config to the list of valid ones, thanks for the report.

@fpistm
Copy link
Contributor Author

fpistm commented May 13, 2021

Thank you @silvanocerza

@silvanocerza
Copy link
Contributor

🙏

This will be available in the next release for sure, no idea when though.

@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 topic: CLI Related to the command line interface labels Aug 29, 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: CLI Related to the command line interface 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.

3 participants