Skip to content

Conversation

@mirkoCrobu
Copy link
Contributor

Motivation

closes #104

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,

Change description

Additional Notes

Reviewer checklist

  • PR addresses a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.

@mirkoCrobu mirkoCrobu requested review from cmaglie and dido18 December 3, 2025 09:55
Copy link
Contributor

@dido18 dido18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would perform a test to check it is working as expected

Co-authored-by: Davide <davideneri18@gmail.com>
@lucarin91
Copy link
Contributor

@lucarin91 lucarin91 merged commit 66af892 into main Dec 5, 2025
7 checks passed
@lucarin91 lucarin91 deleted the update_lib_index_during_update branch December 5, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the local libray index

3 participants