-
Notifications
You must be signed in to change notification settings - Fork 132
V3.0 To update the libray json one needs to delete the json file #429
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
Extended the Defaults to contain defaults. Fixed some warnings
I believe this is a good candidate for an hotfix 😄 What if we check the ETag header and overwrite the saved file whenever necessary? Today ETag is |
I'm ok doing a hotfix for this one as an "exercise". For me there are 2 real reasons for a hotfix: Patron request or expectation to avoid extensive work (read the issue is going to produce many questions) Your other part is a change request that should live in its own issue. |
Does #393 also apply to libraries? I thought it would not... |
#393 has got to do with the download of the json file. This is exact the same code for libraries json as the boards json |
May be a simpler solution is better: what if we check the file timestamp and perform an update let's say every 24h? We can also add a button at the end of the table/tree to force an immediate refresh... Would that be a better solution? |
The problem I see is this: if the owner of the json decides to use the redirection feature (or any other feature which the plugin currently doesn't support) the plugin will become partly useless because the json ( in casu the library file) is corrupt. So a good solution would be to add "upgrade code" which can roll-back in case the upgrade fails. |
The gui does not allow to upgrade to the latest library json file provided by arduino.
Work around:
When your eclipse instance is not running, delete the file [eclipse install]/arduinoPlugin/library_index.json
Restart Arduino eclipse plugin.
The text was updated successfully, but these errors were encountered: