commit | 6f0134e32192e8623fed010cc1fe336a8b8e6010 | [log] [tgz] |
---|---|---|
author | Shai Barack <shayba@google.com> | Thu May 06 03:40:48 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Thu May 06 03:40:48 2021 +0000 |
tree | 4ab435138cd4eb3d233644a69e11bde234e8b3ca | |
parent | a985746f2ae90e565da33131bf52f42460ea331c [diff] |
Revert "[owners] Include canonical owners instead of duplicating" This reverts commit aee930d33b7ee75fff0701fda71f4a941e2adef8. Reason for revert: cross-repo OWNERS includes don't actually work :( Original change's description: > [owners] Include canonical owners instead of duplicating > > Change-Id: I35ff855162ad645352dba8744b46949061ae3124 > Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/525701 > Fuchsia-Auto-Submit: Shai Barack <shayba@google.com> > Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> > Reviewed-by: Zach Bush <zmbush@google.com> TBR=zmbush@google.com,shayba@google.com,auto-submit@fuchsia-infra.iam.gserviceaccount.com Change-Id: I1b98eb1c24b4b6838cdd3310b4da1d3e5d8c458f No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt/+/525941 Reviewed-by: Shai Barack <shayba@google.com> Fuchsia-Auto-Submit: Shai Barack <shayba@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.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