Chromium Code Reviews
Descriptionserver/config: Add text protobuf support.
Add a text protobuf configuration Resolver. This will load text
protobufs into their proto.Message targets. It will also expose a binary
version of the protobufs for caching, enabling the protobufs to be
loaded from cache as binaries.
Loading from binaries is particularly useful because binaries ignore
unknown tags, whereas text protobufs error on them. This reduces risk of
application rollbacks when loading cached configurations.
BUG=chromium:674378
TEST=unit
Review-Url: https://codereview.chromium.org/2578893002
Committed: https://github.com/luci/luci-go/commit/aae008db5bab0425635902546ca339bda0ec7f5c
Patch Set 1 #Patch Set 2 : Update MultiResolver interface. #
Total comments: 6
Patch Set 3 : Rebase, comments. #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|
||||||||||||||||||||||||||||