commit | c4ce720f511e2870b747e386dad6c01ab9e09864 | [log] [tgz] |
---|---|---|
author | Jared Weinstein <jaredweinstein@google.com> | Tue Dec 29 21:15:07 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Dec 29 21:15:07 2020 +0000 |
tree | 0164997a6a26319da07f8cd9dd0ae247a29d2549 | |
parent | c8acc57e82c7626823943f47230f0a6fb2f3769e [diff] |
Revert "JSON source generator includes error estimates" This reverts commit c8acc57e82c7626823943f47230f0a6fb2f3769e. Reason for revert: Unable to copy into google3 Original change's description: > JSON source generator includes error estimates > > Initially, an error estimate is included for each privacy level using a > default population of 100K. > > Change-Id: Ibfb7b91c90880863c73e3ff55a9713ed5a2ef458 > Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/460025 > Reviewed-by: Alexandre Zani <azani@google.com> > Commit-Queue: Jared Weinstein <jaredweinstein@google.com> TBR=azani@google.com,jaredweinstein@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I0fe590a607f057a30a5bf227a955d857b5fd8d6a Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/466196 Reviewed-by: Jared Weinstein <jaredweinstein@google.com> Reviewed-by: Cameron Dale <camrdale@google.com> Commit-Queue: Jared Weinstein <jaredweinstein@google.com>
Cobalt is a pipeline for collecting metrics data from user-owned devices in the field and producing aggregated reports.
Cobalt includes a suite of features for preserving user privacy and anonymity while giving product owners the data they need to improve their products.
The code in the Git repo at https://fuchsia.googlesource.com/cobalt is known as Cobalt Core. It contains:
In order to have a working Cobalt system you need to also have
//third_party/cobalt
.This document describes how to develop, build and test Cobalt Core independently of Fuchsia.
For example via
git clone https://fuchsia.googlesource.com/cobalt
cd cobalt
./cobaltb.py setup
This will take a few minutes the first time. It does the following:
third_party
dir via Git submodules.sysroot
dir. This uses CIPD.The Python script cobaltb.py
in the root directory is used to orchestrate building and testing Cobalt. It was already used above in ./cobaltb.py setup
.
./cobaltb.py -h
for general helpcobaltb.py <command> -h
for help on a command./cobaltb.py build
The Cobalt build uses GN and ninja.
./cobaltb.py test
./cobaltb.py fmt
./cobaltb.py lint
See: clang-tidy for an explanation of clang-tidy configuration options.
Cobalt uses the Gerrit code review tool. Although Cobalt Core is independent of Fuchsia, we do share infrastructure with Fucshia and so much of the instructions from Fuchsia's Contributing Guide apply to Cobalt Core. The main difference is that Cobalt Core does not use Jiri--it uses Git submodules instead.
Follow the instructions here.
To create a change in Gerrit do the following:
cd ~/cobalt
git checkout -b <branch_name>
git add <files>
git commit
git push origin HEAD:refs/for/master
See the Gerrit documentation for more information.
After creating a change, to upload a patch to your change, do the following:
git add <files>
--amend
option: git commit --amend
git push origin HEAD:refs/for/master