-
-
Notifications
You must be signed in to change notification settings - Fork 386
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
core install
uses incorrect vendor folder name
#2759
Comments
core install
uses incorrect vendor folder name
Thanks for your report @jantje. I am not able to reproduce it. When I install the platform it is installed to the expected path:
I see you specified "all" in the "Arduino CLI version" field of the issue report form. Please tell us the specific version of Arduino CLI you reproduced the fault with. You can get it by running the following command:
The "3rd party vendors should use a single |
Is there still more information you want from me? |
Could you provide all the external 3rd party URLs you are using? IIRC The package names What you're seeing is in your install dir is:
|
I see that Sparkfun has something going on in their package index:
so you're right @jantje they define a second package |
The problem I'm reporting is
According to @per1234 the CLI installs in /packages/esp8266 (which is what Sloeber does) I just want to have this inconsistency confirmed and know what it should be; so 3rd party implementers of the Arduino framework know where to install these platforms. PS |
I just tried from a clean install, and the Arduino IDE 2.3.4 installed inside This is the full dir structure:
Could it be that Sparkfun changed the package_index (moving the |
Describe the problem
The documentation at https://github.com/arduino/arduino-cli/blob/master/docs/package_index_json-specification.md states:
and
However when the arduino ide installs the esp8266 version 2.1.2 from the sparkfun provided json file https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json the arduino IDE does not use the package name (esp8266) that contains the platform but uses "sparkfun".
Note that the sparfun provided json file has 2 packages (against the Arduino advice) one is named "Sparkfun" the other is called "esp8266".
I'm assuming Arduino uses the name of the first package in the json file which is not compliant with the documentation.
Can you clarify this as a bug in the code or a bug in the documentation?
To reproduce
Install the esp8266 version 2.1.2 from the sparkfun provided json file https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
The platform is installed in packages/sparkfun
Expected behavior
Expected the platform is installed in packages/esp8266
Arduino CLI version
all
Operating system
N/A
Operating system version
windows 11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: