Skip to content

Fix builtin discovery tools not being loaded if no platform is installed #1428

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

Merged
merged 5 commits into from
Sep 1, 2021

Conversation

silvanocerza
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)
  • What kind of change does this PR introduce?

Fixes a bug.

  • What is the current behavior?

If the user has no platform installed and calls board list no board is ever displayed. This happens because the builtin discoveries serial-discovery and mdns-discovery are never added to the list of available discoveries.

  • What is the new behavior?

board list now returns a list of connected boards even if no platform is installed.

This has been fixed by always adding discoveries from the builtin package even if no platform is installed.

Nope.

  • Other information:

None.


See how to contribute

@silvanocerza silvanocerza requested a review from a team September 1, 2021 13:47
@silvanocerza silvanocerza self-assigned this Sep 1, 2021
@silvanocerza silvanocerza force-pushed the scerza/fix-builtin-discoveries branch from d8996ff to a58f8b5 Compare September 1, 2021 14:04
@rsora rsora requested a review from per1234 September 1, 2021 15:05
@silvanocerza silvanocerza merged commit 2fc2b54 into master Sep 1, 2021
@silvanocerza silvanocerza deleted the scerza/fix-builtin-discoveries branch September 1, 2021 15:20
silvanocerza added a commit that referenced this pull request Sep 1, 2021
…led (#1428)

* Fix integration tests detected_boards fixture

* Fix builtin discoveries not loaded if no platform is installed

* [skip changelog] Add missing breaking change to UPGRADING.md

* [skip changelog] Fix board list test running on CI

* [skip changelog] Fix UPGRADING.md
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants