Skip to content
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

Allow zipped libraries bundled with sketches to be automatically installed #1256

Open
TridentTD opened this issue Apr 27, 2018 · 6 comments
Open
Labels
topic: build-process Related to the sketch build process topic: code Related to content of the project itself topic: package-management Related to the packaging and managing of the platform/libraries type: enhancement Proposed improvement

Comments

@TridentTD
Copy link

TridentTD commented Apr 27, 2018

If there is another way to install library from github website too,
it may be convenient way for the newbie.

Wish the next version of ArduinoIDE will be support this option.

Additional context

Related

@per1234
Copy link
Contributor

per1234 commented Apr 27, 2018

@TridentTD you need to provide a detailed explanation of what you're requesting. As is, this issue report is too vague to be useful.

The Arduino IDE currently supports 3 different options for installing libraries:

  • Sketch > Include Library > Manage Libraries - The library author must make sure their library meets the Library Manager requirements and then submit a request here to be added to the index, after which anyone can easily install their library via Library Manager.
  • Sketch > Include Library > Add .ZIP Library - GitHub makes it easy to download libraries via the Clone or download > Download ZIP button. The library does need to be located in the root of the .zip file.
  • Manual installation - The user only needs to place the library in the libraries subfolder of their sketchbook folder. That could be done by git clone or by downloading and extracting the .zip files provided by GitHub.

@lmihalkovic
Copy link

This is an interesting thought... i am (again) writing some code to support a file explorer in 1.9.0. It would be conceivable to just dump Adafruit-IO-1.0.3.zip at the root of a sketch and then have the UI ‘do the right thing’

that would mean no more incomplete sketches.. and with the .inz (a zipped sketch folder) format i proposed 2y ago, then people could truly send fully working examples around.... the IDE would have a ‘export/working .inz’ and a ‘export/sketch only .inz’ menu action to generate them

@mbanzi see email I sent you today - this is not a complex task

@cmaglie
Copy link
Member

cmaglie commented Apr 30, 2018

@mbanzi see email I sent you today - this is not a complex task

@lmihalkovic may you explain what's the purpose of the email sent to Massimo?

@lmihalkovic
Copy link

@cmaglie it is related to the benefits of using compressed sketches. Would ensure that learners can be given complete sketches, even if there are dependent libs. Think about the convenience for a class full of student: email them a single files and then everything is there!!

in the above example, the version number part does not have to be present. But it would work event if it is there.

@lmihalkovic
Copy link

lmihalkovic commented May 2, 2018

@cmaglie i noticed the WIP on builder that goes in that direction using the suffix .inoz. I am glad the idea hasn t died completely. Speaking from having done it 2y ago, i promise you that supporting it in the desktop ide is not as difficult as it might appear

ps: reimplemented it on 1.9.0 last night.. as the owners of a Brand, having the sketch immediately recognizable as single file should be appealing to your marketing people, no?! you could even design a new icon color for these new 'all-in' sketches.

screen shot 2018-05-02 at 9 02 57 pm

screen shot 2018-05-02 at 9 03 28 pm

@per1234 per1234 changed the title Wish List for installation library on ArduinoIDE. Allow zipped libraries bundled with sketches to be automatically installed Nov 3, 2018
@per1234
Copy link
Contributor

per1234 commented Nov 3, 2018

Since we still haven't heard back from @TridentTD and there's not enough information for their original issue report to be used, I'll make this issue about lmihalkovic's feature request instead.

@per1234 per1234 transferred this issue from arduino/Arduino Apr 6, 2021
@per1234 per1234 added topic: core type: enhancement Proposed improvement labels Apr 6, 2021
@per1234 per1234 added topic: code Related to content of the project itself topic: package-management Related to the packaging and managing of the platform/libraries topic: build-process Related to the sketch build process labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: build-process Related to the sketch build process topic: code Related to content of the project itself topic: package-management Related to the packaging and managing of the platform/libraries type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

6 participants