{"push_id":2817916161,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"8dd1daa1542f66fb4f2567fa26efcaaa57a89877","before":"d11344acd4737866f5a2a915b2b6362b89794a25","commits":[{"sha":"8dd1daa1542f66fb4f2567fa26efcaaa57a89877","author":{"name":"Mitch Rudominer","email":"8344214861ba2f4fe1347f92fba270b25b3c4334@google.com"},"message":"Adds new implementation of Encoder.\n\n- Starts a new subproject in the \"logger\" directory. This directory will\ncontain the Cobalt 1.0 client-side logic. Eventually the older\n\"encoder\" directory will be deleted. For now we still depend on some\nclasses in the \"encoder\" directory.\n\n- In a follow-up CL we will introduce a class named Logger that will act\nas the C++ client-side interface to Cobalt. In this CL we introduce a\nclass named Encoder that will be used by the implementation of Logger.\n\n- Encoder plays a role similar to the older Encoder class in the encoder\ndirectory in that it is the coordinator for invoking the encoding\nalgorithms, generating ObservationMetadata, generating a random ID\nfor Observations etc.\n\n- But this new Encoder differs from the older Encoder class in that it\nis not the outward-facing API on the client side. This is an internal\nAPI. One obvious difference is that this new Encoder class does not do\nmuch of the validation that the older Encoder class did. That is because\nthe Logger will have to do much of this validation and we don't want to\ndo the same validation twice.\n\n- Also introduces helper classes ProjectContext, Project and MetricID\nto hold the client-side configuration for a project as well as pointers\nto subsets of that configuration.\n\n- Also introduces ProtoUtils as a package of utilities for dealing with\nprotos. Currently it has only one function and one typedef.\n\n- Also introduces a new Status class that is intended to be a single Status\nto serve all APIs in client-side Cobalt C++ code. New status codes may\nbe added as necessary.\n\nChange-Id: I839a30fddceb202e540f6613c4a8335be1458477","distinct":true,"url":"https://api.github.com/repos/fuchsia-mirror/cobalt/commits/8dd1daa1542f66fb4f2567fa26efcaaa57a89877"}]}
{"actor":{"display_login":"fuchsia-infra-bot"}}