Skip to content

Support "keep" (cache) behavior when downloading tools #956

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

Closed
Xayton opened this issue May 22, 2024 · 0 comments · Fixed by #953
Closed

Support "keep" (cache) behavior when downloading tools #956

Xayton opened this issue May 22, 2024 · 0 comments · Fixed by #953
Assignees
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Milestone

Comments

@Xayton
Copy link
Contributor

Xayton commented May 22, 2024

The Arduino Cloud Agent can download tools, when requested by the front-end application. There are two ways to request tools download (using the WebSocket connection, or with a REST API endpoint).

With the #953 change, both cases use the same code, and in both cases the keep behavior is ignored. So every time a tool is requested, the agent will download it (even if it's already installed locally).

Analyze the existing code, the installed.json file and add again the functionality (eventually refactoring how it was working before).

@Xayton Xayton added type: enhancement Proposed improvement topic: code Related to content of the project itself labels May 22, 2024
@MatteoPologruto MatteoPologruto linked a pull request Jun 20, 2024 that will close this issue
2 tasks
@Xayton Xayton added this to the 1.6.0 milestone Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants