Open
Description
Describe the request
The CLI is taking care of the synchronization of the packages (arduino/arduino-cli#1828). IDE2 can eliminate the external "synchronization" (board discovery stop
/start
) when installing/uninstalling libs or platforms.
IDE2 code can be cleaned up, unnecessary dependency removed, plus it helps calculate a correct gRPC equivalent of board list -w
delta for the frontend (see related: #1379).
Describe the current behavior
IDE2 stops/starts the board discovery guarding against concurrency issues (#674) when installing/uninstalling libs/platforms.
Arduino IDE version
Operating system
macOS
Operating system version
12.5.1
Additional context
This is not a functional bug. Indeed IDE2 will get rid of the unnecessary discovery stop/start after the code cleanup.
Issue checklist
- I searched for previous requests in the issue trackerI verified the feature was still missing when using the latest nightly buildMy request contains all necessary details
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-][dev] Remove unnecessary board discovery stop/start from lib/platform install/uninstall[/-][+]Remove unnecessary board discovery stop/start from lib/platform install/uninstall[/+][-]Remove unnecessary board discovery stop/start from lib/platform install/uninstall[/-][+]Remove unnecessary board discovery stop/start guard around lib/platform install/uninstall commands[/+][-]Remove unnecessary board discovery stop/start guard around lib/platform install/uninstall commands[/-][+]Remove unnecessary board discovery stop/start guard arounds lib/platform install/uninstall commands[/+]error: concurrent map iteration and map write
when executinglib list
arduino/arduino-cli#2457