Skip to content

Update the local libray index #104

@dido18

Description

@dido18

Describe the problem

Motivation

The library-index (located in /home/arduino/.arduino15/library_index.json) is installed on the board with the latest version available at the time the Debian image was created.

The library index is updated by the arduino-app-cli only when a new library is added.
See #50

The compilation of an example fails if the "add library" was never executed,

To reproduce

Steps

  • User receives the board
  • User configures the board and installs the latest versions of the software
  • User starts the example (with an out-of-date library)
  • The compilation fails because the local library index is not updated.

Expected behaviour

Steps

  • User receives the board
  • User configures the board and installs the latest versions of the software
  • User starts the example (with an out-of-date library)
  • The compilation succeeded because the library index is automatically updated

Arduino App CLI version

0.6.8

Additional context

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions