-
-
Notifications
You must be signed in to change notification settings - Fork 420
Closed as not planned
Labels
conclusion: invalidIssue/PR not validIssue/PR not validtopic: CLIRelated to the command line interfaceRelated to the command line interfacetype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
$ arduino-cli lib install --zip-path ~/src/arduinolibs/libraries/crypto.zip
--git-url and --zip-path are disabled by default, for more information see: https://arduino.github.io/arduino-cli/0.35/configuration/#configuration-keys
I went to that URL and there is nothing about the setting to enable --zip-path. I searched and found this article:
which says to set ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL. This was already set, but I tried it anyway:
$ set ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true
$ arduino-cli lib install --zip-path ~/src/arduinolibs/libraries/crypto.zip
--git-url and --zip-path are disabled by default, for more information see: https://arduino.github.io/arduino-cli/0.35/configuration/#configuration-keys
So either the error message, or the documentation, or the code, are wrong.
To reproduce
Install literally anything using the --zip-path flag.
Expected behavior
It should accept the path I gave it using --zip-path.
Arduino CLI version
0.35.3 Commit: 95cfd65 Date: 2024-02-19T13:24:25Z
Operating system
Linux
Operating system version
Linux raspberrypi 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux
Additional context
No response
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
conclusion: invalidIssue/PR not validIssue/PR not validtopic: CLIRelated to the command line interfaceRelated to the command line interfacetype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project