Skip to content

Ota progress status details with progress bar fixes #159

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 2 commits into from
Aug 28, 2024

Conversation

rjtokenring
Copy link
Collaborator

@rjtokenring rjtokenring commented Aug 26, 2024

Motivation

Align CLI to new OTA service capabilities to report download progress bar. Output example:

`arduino-cloud-cli$ ./arduino-cloud-cli ota status -o cce28885-5c33-42f4-9fdc-98dd0f326c11
Device ID Ota ID Status Started At Ended At
7996c05a-7841-46c0-b34e-f1c9a49a50bb cce28885-5c33-42f4-9fdc-98dd0f326c11 Succeeded 2024-07-25T09:38:25Z 2024-07-25T09:39:17Z

Details:
Time Status Detail
2024-07-25T09:39:04Z Reboot
2024-07-25T09:39:04Z Flash
2024-07-25T09:39:01Z Fetch [====================] 100.00% (firmware size: 730279 bytes)
2024-07-25T09:38:30Z Fetch
2024-07-25T09:38:25Z Start
2024-07-25T09:38:25Z Available
`

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.

@rjtokenring rjtokenring marked this pull request as ready for review August 27, 2024 07:14
@rjtokenring rjtokenring force-pushed the ota-progress-status-details branch from 55f4455 to 2d80f4a Compare August 27, 2024 07:27
@rjtokenring rjtokenring merged commit ea7cfdc into main Aug 28, 2024
9 checks passed
@rjtokenring rjtokenring deleted the ota-progress-status-details branch August 28, 2024 08:16
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.

3 participants