Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: install a library missing from local library-index#50

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
dido18 wants to merge4 commits intomain
base:main
Choose a base branch
Loading
fromfix-add-library

Conversation

@dido18
Copy link
Contributor

@dido18dido18 commentedNov 6, 2025
edited
Loading

Motivation

Fix#45.

If a library is installed on the board, but it is not present in the locallibrary_index, the installation fails because it is not found.

This can happen when a library is added to the public library registry, but the local index on the board is not updated.

The manual solution is to launch the commandarduino-cli lib update-index into the board.

Change description

Every minute, the local library-index expires.
If a new lib is added and the index is expired, the index is downloaded again.

Additional Notes

Reviewer checklist

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

@dido18dido18 marked this pull request as ready for reviewNovember 6, 2025 15:58
"github.com/arduino/arduino-app-cli/internal/orchestrator/app"
)

constindexUpdateInterval=60*time.Second
Copy link
Contributor

Choose a reason for hiding this comment

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

I think 10 minutes is ok

Suggested change
constindexUpdateInterval=60*time.Second
constindexUpdateInterval=10*60*time.Second

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

Reviewers

@lucarin91lucarin91lucarin91 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

The installation of a library fails because thelibrary- index is not update

2 participants

@dido18@lucarin91

[8]ページ先頭

©2009-2025 Movatter.jp