Commit Graph

5 Commits

Author SHA1 Message Date
Zihan Chen
0128d2519e pw_software_update: land initial service implementation
Also renames the pw_software_update proto package to instead
use the canonical pw.software_update. As part of this the
Manifest and UpdateBundle C++ classes were renamed to
ManifestAccessor and UpdateBundleAccessor.

Moves the service.proto to bundled_update.proto and renames the source
files accordingly.

No-Docs-Update-Reason: Module still in early development
Requires: pigweed-internal:15503
Change-Id: I6531ee5772c17331e9c5ce7e16f4b72002656834
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/61960
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: David Rogers <davidrogers@google.com>
Pigweed-Auto-Submit: Ewout van Bekkum <ewout@google.com>
2021-09-24 23:49:21 +00:00
David Rogers
7b357427a7 pw_software_update: Update TUF bundle proto
Remove the snapshot from the Manifest and add additional comments
on proper metadata use for project-specific information.

No-Docs-Update-Reason: Module still development.
Change-Id: I31b1623b22d02b639ceac121e5d51c4588ba8afc
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60321
Commit-Queue: David Rogers <davidrogers@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Ali Zhang <alizhang@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
2021-09-09 21:58:04 +00:00
David Rogers
633d678a59 pw_software_update: Clean up TUF and update bundle protos
Clean up the protos used for update bundle and TUF. Flatten the TUF
protos to be more directly the specific types of metadata.

Change-Id: Ic453b53c2328845ed19eca80925cd0db8a2706db
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/58880
Reviewed-by: Ali Zhang <alizhang@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: David Rogers <davidrogers@google.com>
2021-09-01 18:27:25 +00:00
Ali Zhang
f5eba29068 pw_software_update: Add credit to TUF spec
No-Docs-Update-Reason: N/A

Change-Id: If3741283a3562b6bba3db1c92420ab60728bfe3b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/58201
Commit-Queue: Ali Zhang <alizhang@google.com>
Reviewed-by: David Rogers <davidrogers@google.com>
2021-08-28 20:41:42 +00:00
Joe Ethier
a8a6f474fe pw_software_update: Fixes for downstream use
The protos weren't quite building previously. This change fixes minor
.proto issues, streamlines directory names, and adds pw_software_update
to modules.gni so downstream projects can easily use it.

Testing: Successfully built downstream project dependent on protos.
Change-Id: Iff42b84b0a493acbd47cb516371d2b11eb3087eb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/58282
Pigweed-Auto-Submit: Joe Ethier <jethier@google.com>
Reviewed-by: Ali Zhang <alizhang@google.com>
Reviewed-by: David Rogers <davidrogers@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-08-26 00:34:20 +00:00