Skip to content

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

Open
@TridentTD

Description

@TridentTD

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

Activity

per1234

per1234 commented on Apr 27, 2018

@per1234
Contributor

@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

lmihalkovic commented on Apr 30, 2018

@lmihalkovic

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

cmaglie commented on Apr 30, 2018

@cmaglie
Member

@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

lmihalkovic commented on Apr 30, 2018

@lmihalkovic

@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

lmihalkovic commented on May 2, 2018

@lmihalkovic

@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

changed the title [-]Wish List for installation library on ArduinoIDE.[/-] [+]Allow zipped libraries bundled with sketches to be automatically installed[/+] on Nov 3, 2018
per1234

per1234 commented on Nov 3, 2018

@per1234
Contributor

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.

transferred this issue fromarduino/Arduinoon Apr 6, 2021
added
topic: codeRelated to content of the project itself
topic: package-managementRelated to the packaging and managing of the platform/libraries
on Feb 11, 2025

2 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: build-processRelated to the sketch build processtopic: codeRelated to content of the project itselftopic: package-managementRelated to the packaging and managing of the platform/librariestype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Allow zipped libraries bundled with sketches to be automatically installed · Issue #1256 · arduino/arduino-cli