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

Move examples (and other data) out of the Arduino home folder #118

Open
Assignees
Labels
enhancementNew feature or request
@Xayton

Description

Currently the examples (and other static data) are stored inside the arduino home folder.
Current location: ~/.local/share/arduino-app-cli

  • This should also include moving the ~/.arduino15 folder contents. In this case we should put a specific config, in the default contents of the home partition, so that arduino-cli will look for the folder in a different location.

Reason

This is needed because at some point the arduino-flasher-cli will support keeping user data, by preserving the user partition (where the arduino home folder is mounted). And we cannot keep some static data in the preserved paths, otherwise that data would not match the software version that gets installed in the root partition (which is not preserved).


This PR requires the ARDUINO_APP_CLI__ALLOW_ROOT to be removed from the debian image.
The patch, as well as testing screenshots, are attached

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /