Skip to content

Remove unnecessary board discovery stop/start guard arounds lib/platform install/uninstall commands #1389

Open
@kittaakos

Description

@kittaakos

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

20cc34c

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 tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions