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

Activity

self-assigned this
on Sep 3, 2022
changed the title [-][dev] Remove unnecessary board discovery stop/start from lib/platform install/uninstall[/-] [+]Remove unnecessary board discovery stop/start from lib/platform install/uninstall[/+] on Sep 3, 2022
changed the title [-]Remove unnecessary board discovery stop/start from lib/platform install/uninstall[/-] [+]Remove unnecessary board discovery stop/start guard around lib/platform install/uninstall commands[/+] on Sep 3, 2022
changed the title [-]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[/+] on Sep 3, 2022
removed their assignment
on Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @kittaakos

        Issue actions

          Remove unnecessary board discovery stop/start guard arounds lib/platform install/uninstall commands · Issue #1389 · arduino/arduino-ide