Skip to content

Installing unregistered library #128

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
s-celles opened this issue Jan 15, 2019 · 4 comments
Closed

Installing unregistered library #128

s-celles opened this issue Jan 15, 2019 · 4 comments
Labels
type: enhancement Proposed improvement

Comments

@s-celles
Copy link

s-celles commented Jan 15, 2019

Hello,

It will be nice if arduino-cli could provide an interface to install unregistered library:

From a zip available on HTTP server:

arduino-cli lib install --unregistered https://github.com/itead/ITEADLIB_Arduino_Nextion/archive/master.zip

supporting installing from a git repository might also be considered
(by default it could use master branch but we could install from any given branch, or from a given commit hash, or tag)

You might have a look at how Ruby bundler is doing this
https://bundler.io/v1.12/git.html

Kind regards

@BleuLlama
Copy link

Related; it would be nice to be able to at least use --additional-urls to specify the json files for third party (unregistered) libraries. (I'd make this another issue/ticket but it seems too related to this one)

@ubidefeo
Copy link

+1 on this
providing a GitHub URL would be ideal, maybe we don't even need to specify flags

@asucada
Copy link

asucada commented Mar 11, 2020

I'll work on this.

per1234 pushed a commit that referenced this issue Nov 16, 2020
Both MqttClient and BearSSLClient are allocated on the stack instead of the heap.
@alranel
Copy link
Contributor

alranel commented Dec 31, 2020

We now have arduino-cli lib install --git-url <url> and arduino-cli lib install --zip-file <url>. 🎉

@alranel alranel closed this as completed Dec 31, 2020
per1234 added a commit that referenced this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

6 participants