Skip to content

Fetch dependencies when installing from .zip #2547

Open
@qfisch

Description

@qfisch

Describe the request

It would be really great if the following command:
arduino-cli lib install --zip-path ./myzip-lib.zip
would also fetch the dependencies listed in the library.properties.

Describe the current behavior

Currently the dependencies are only fetched when installing packets from the library manager:
( arduino-cli lib install my-lib-name )

Arduino CLI version

nightly-20240221

Operating system

Linux

Operating system version

Ubuntu 22.04 LTS

Additional context

That would be really useful for CI/CD usage.
In our case we want to install the lib and all the dependencies in order to compile the examples.
We currently install manually the dependencies but it could lead to discrepancies between the CI script and the library.properties...

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions