-
-
Notifications
You must be signed in to change notification settings - Fork 398
Use BoardsManifest
if Boards
is not applicable
#294
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
Conversation
e4bd962
to
f204bfb
Compare
It's because both the |
This is certainly somewhat unexpected, but I'd think it depends on the use-case where this board list is used. In case of the board manager for example, after de-duping the list it would certainly be useful. @masci what do you think? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code is clear and well commented so I'm not concerned for having this workaround in the codebase. I think we should merge this while elaborating a fix for the root cause of #277.
@32leaves agree, that problem must be solved upstream, if deduping works for you in the meantime and it's helpful for the user (which I believe it's the case) we should go for it. |
There is a typo, let me fix that now. |
f204bfb
to
fad37bb
Compare
Done. |
fad37bb
to
e068cc5
Compare
@ArduinoBot build this please |
1 similar comment
@ArduinoBot build this please |
✅ Build completed. ⬇️ Linux 64: ⬇️ Linux 32: ⬇️ Linux ARM: ⬇️ Windows: ⬇️ OSX: ℹ️ To test this build:
|
Dear @ArduinoBot, the download link for macOS incorrect 😉
Should end with |
@ArduinoBot build this please |
✅ Build completed. ⬇️ Linux 64: ⬇️ Linux 32: ⬇️ Linux ARM: ⬇️ Windows: ⬇️ OSX: ℹ️ To test this build:
|
@kittaakos good catch! |
@kittaakos can you rebase on master (again, sorry), the CI should pass then 🙇♂️ |
This patch falls back to the `BoardsManifest` when the `Boards` is not available. When the `Boards` are not installed, hence unavailable, the produced gRPC instance won't contain the `FQBN` but the `Name` only. Signed-off-by: Akos Kitta <[email protected]>
e068cc5
to
a48664b
Compare
The builds are green now. |
This patch falls back to the
BoardsManifest
when theBoards
is notavailable.
When the
Boards
are not installed, hence unavailable, the producedgRPC instance won't contain the
FQBN
but theName
only.This patch is a kind of a workaround for #277. The name of the boards will be still available, although the
FQBN
cannot be accessed.Let me know what you think about this patch. Thanks!
Signed-off-by: Akos Kitta [email protected]