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>
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>
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>
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>
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>