Commit Graph

6 Commits

Author SHA1 Message Date
David Rogers
8aa1ea3b37 pw_software_update: Update manifest proto
Update the manifest proto to match previously discussed format

Change-Id: I2862b5313b306c1537f45f95ec979a63009f106e
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/67082
Commit-Queue: David Rogers <davidrogers@google.com>
Reviewed-by: Ali Zhang <alizhang@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
2021-11-04 22:48:58 +00:00
Ali Zhang
e059107b73 pw_software_update: Add root metadata to a bundle
Adds support for including a root metadata when creating a bundle.

No-Docs-Update-Reason: module in early development.

Change-Id: Ibdced04fd355e8f520d0d3ba6e5cf25276929d72
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/63640
Commit-Queue: Ali Zhang <alizhang@google.com>
Reviewed-by: Joe Ethier <jethier@google.com>
2021-10-19 07:13:43 +00:00
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
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