-
-
Notifications
You must be signed in to change notification settings - Fork 398
Avoid excessive libraries index downloads on lib search
#1624
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
Comments
Related: #1043 |
@per1234 OK, if update index is meant to do before every search, is fine, just a little slow. but the problem is that, the update index output format jsonmini is not working. and search outputs so many datas, it would be helpful to use jsonmini. |
@per1234 OK, thanks too. If so I wanna ask why update index every time search? it slows down the search process. And if so, the update index is becoming usless. I suggest break them up, and let user decide when to update. Or maybe break into two level api, the high level one do both, makes it easier for beginners, if it is what concidering. |
lib search
Since the bug of not all output being valid JSON when That will make it easier for us to track the two. Thanks for your report @cavonlee! |
…is executed (#2072) * cli: use cached index with lib search (#1624) * remove comment on default cache timeout (maintenance smell) * Simplify code applying minor changes --------- Co-authored-by: ardnew <[email protected]>
Bug Report
Current behavior
Running lib search will always force to update index.
Expected behavior
Donot force to update index every time.
Environment
arduino-cli version
): Version: 0.20.2 Commit: 1378381 Date: 2021-12-07T16:41:50ZAdditional context
core search
works fine without forcing update index.The text was updated successfully, but these errors were encountered: