Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device: explicitly fetch only the presented fields #1930

Merged
2 commits merged into from Jul 9, 2020

Conversation

thgreasi
Copy link
Member

@thgreasi thgreasi commented Jul 9, 2020

Depends on open-balena adding the mac_address &
the overall_status device fields, but the latest cli
version is probably already not working, since some
of its dependencies already use the v14 SDK which
needs the v6 model, that the open-balena-api doesn't
have yet either.

This also revealed (SDK pine client typings 馃榿) that at some point we forgot to migrate the last_seen field, so before this it didn't show up.

Change-type: minor
See: https://www.flowdock.com/app/rulemotion/i-cli/threads/SaSXFlJEv-dpk9uUngWY225zv2D
See: balena-io/open-balena-api#388
See: balena-io/open-balena-api#338
See: balena-io/balena-sdk#920
Signed-off-by: Thodoris Greasidis thodoris@balena.io


Please check the CONTRIBUTING.md file for relevant information and some
guidance. Keep in mind that the CLI is a cross-platform application that runs
on Windows, macOS and Linux. Tests will be automatically run by balena CI on
all three operating systems, but this will only help if you have added test
code that exercises the modified or added feature code.

Note that each commit message (currently only the first line) will be
automatically copied to the CHANGELOG.md file, so try writing it in a way
that describes the feature or fix for CLI users.

If there isn't a linked issue or if the linked issue doesn't quite match the
PR, please add a PR description to explain its purpose or the features that it
implements. Adding PR comments to blocks of code that aren't self explanatory
usually helps with the review process.

If the PR introduces security considerations or affects the development, build
or release process, please be sure to highlight this in the PR description.

Thank you very much for your contribution!

@thgreasi thgreasi requested a review from Page- July 9, 2020 13:10
@thgreasi thgreasi requested a review from a team as a code owner July 9, 2020 13:10
@thgreasi thgreasi self-assigned this Jul 9, 2020
@thgreasi thgreasi changed the title Explicitly select device fields Device: explicitly fetch only the presented fields Jul 9, 2020
pdcastro
pdcastro previously approved these changes Jul 9, 2020
@thgreasi thgreasi added the versionbot/pr-draft Draft PR - Don't merge this PR automatically label Jul 9, 2020
@ghost ghost dismissed pdcastro鈥檚 stale review July 9, 2020 13:55

Approval reviews not allowed in Draft PRs

@thgreasi thgreasi removed the versionbot/pr-draft Draft PR - Don't merge this PR automatically label Jul 9, 2020
@thgreasi thgreasi requested a review from pdcastro July 9, 2020 13:56
@thgreasi thgreasi force-pushed the explicitly-select-device-fields branch 2 times, most recently from e7094e2 to d58dc74 Compare July 9, 2020 14:16
@thgreasi
Copy link
Member Author

thgreasi commented Jul 9, 2020

@balena-ci rebase

@balena-ci balena-ci force-pushed the explicitly-select-device-fields branch from d58dc74 to 7260a1a Compare July 9, 2020 14:50
@thgreasi
Copy link
Member Author

thgreasi commented Jul 9, 2020

@balena-ci rebase

Depends on open-balena adding the mac_address &
the overall_status device fields, but the latest cli
version is probably already not working, since some
of its dependencies already use the v14 SDK which
needs the v6 model, that the open-balena-api doesn't
have yet either.

Change-type: minor
See: https://www.flowdock.com/app/rulemotion/i-cli/threads/SaSXFlJEv-dpk9uUngWY225zv2D
See: balena-io/open-balena-api#388
See: balena-io/open-balena-api#338
See: balena-io/balena-sdk#920
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
Change-type: patch
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
@balena-ci balena-ci force-pushed the explicitly-select-device-fields branch from 7260a1a to 477c48f Compare July 9, 2020 18:12
@ghost ghost merged commit 48430fc into master Jul 9, 2020
@ghost ghost deleted the explicitly-select-device-fields branch July 9, 2020 18:41
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants