Skip to content

OTA on multiple devices #58

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 14 commits into from
Nov 18, 2021
Merged

OTA on multiple devices #58

merged 14 commits into from
Nov 18, 2021

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Nov 10, 2021

Motivation

we want users to be able to start multiple OTA uploads with a single command.
This command should accept two mutually exclusive flags: --device-ids and --tags

Change description

A new command ota mass-upload has been implemented.
It performs up to 10 concurrent OTA requests.
It returns a struct containing information about the OTA results.
It takes a mandatory --fqbn flag and uses it to validate the devices to be updated: if a device's fqbn doesn't match the passed one, it is returned as invalid result

Additional Notes

Reviewer checklist

  • PR address a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
  • History is clean, commit messages are meaningful (see CONTRIBUTING.md) and are well formatted.

@polldo polldo force-pushed the polldo/ota-tags-impl branch from 3b67c2b to 562a4a5 Compare November 15, 2021 12:24
@polldo polldo force-pushed the polldo/ota-tags-impl branch from 562a4a5 to 2d60932 Compare November 15, 2021 12:35
@polldo polldo requested review from eclipse1985 and glumia November 15, 2021 14:54
Paolo Calao and others added 2 commits November 17, 2021 18:54
Co-authored-by: Giuseppe Lumia <[email protected]>
Co-authored-by: Giuseppe Lumia <[email protected]>
@polldo polldo force-pushed the polldo/ota-tags-impl branch from 9fa28cd to a397468 Compare November 17, 2021 18:10
@polldo polldo requested a review from glumia November 17, 2021 20:10
@polldo polldo merged commit af23c60 into main Nov 18, 2021
@polldo polldo deleted the polldo/ota-tags-impl branch November 18, 2021 09:49
polldo pushed a commit that referenced this pull request Sep 2, 2022
A new command ota mass-upload has been implemented.
This command accepts two mutually exclusive flags to select devices: --device-ids and --tags
It performs up to 10 concurrent OTA requests.
It returns a struct containing information about the OTA results.
It takes a mandatory --fqbn flag and uses it to validate the devices to be updated: if a device's fqbn doesn't match the passed one, it is returned as invalid result
polldo pushed a commit that referenced this pull request Sep 2, 2022
A new command ota mass-upload has been implemented.
This command accepts two mutually exclusive flags to select devices: --device-ids and --tags
It performs up to 10 concurrent OTA requests.
It returns a struct containing information about the OTA results.
It takes a mandatory --fqbn flag and uses it to validate the devices to be updated: if a device's fqbn doesn't match the passed one, it is returned as invalid result
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.

2 participants