commit | a8766c28ab4846c428114eb47ef2fe32ccbf6666 | [log] [tgz] |
---|---|---|
author | C Shapiro <shapiroc@chromium.org> | Tue Mar 10 16:43:48 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 10 17:44:15 2020 |
tree | 84c4e435da0324fd8a68fd2d4453b998cb47d815 | |
parent | f883435e3822fad39633201efcd2ecfe18ddd6f1 [diff] |
config: Initial fake config for testing Mimic'd the actual project/presumits structure also. BUG=None TEST=None Change-Id: Ic0440ad9f6d471fce539cc08e23fc9ec23f66212 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/config/+/2096915 Tested-by: C Shapiro <shapiroc@chromium.org> Commit-Queue: C Shapiro <shapiroc@chromium.org> Auto-Submit: C Shapiro <shapiroc@chromium.org> Reviewed-by: David Burger <dburger@chromium.org>
Before beginning verify that you have appropriate permissions to work with the project. This will usually mean having membership in the partner domain account that is configured for your project. Inquire with your local representative or Google contact if you need more information about the partner domain accounts configured for your project.
Follow the Chromium OS Quick Start Guide through to the end of the “Get the Source” section. This guide walks you through installing prerequisites and syncing the public Chromium OS source code into a $SOURCE_REPO directory. This step pulls down a lot of code and could take up to an hour.
Verify the name of your $PROGRAM and $PROJECT with your local representative or Google contact. These values will be used in the command below.
Run the following command to sync your $PROGRAM and $PROJECT from within your chromiumos checkout in the $SOURCE_REPO/src/config directory:
./setup_project.sh $PROGRAM $PROJECT
This command will execute a number of steps including checking out your program and project and other related repositories, symlinking a local manifest, and finally doing a full chromiumos sync.
The $SOURCE_REPO/src/config/bin directory contains utilties for working with your project. Add the directory to the end of your PATH. You will probably want to add this configuration in your ~/.bashrc file or other appropriate location so you don't have to repeatedly set the PATH:
export PATH=$PATH:$SOURCE_REPO/src/config/bin
If you got to this point without an error you are set up to start working on your project.
After setting up your project you'll want to note the location of several important repositories within the checkout:
Partners will rarely propose changes to src/config and occasionally propose changes to src/program/$PROGRAM. The bulk of a partner's work will occur in in src/project/$PROGRAM/$PROJECT.