Skip to content

subroot

jluk-codi edited this page Jan 20, 2018 · 5 revisions

Contributor guide

A set of tutorials that will guide you through the whole OpenContrail submission process. This guide follows a minimal scenario, for more in-depth documentation of Gerrit and git-review usage, see: Gerrit and git-review external links

  1. Create an account for the review.opencontrail.org site and sign your CLA
  2. Install git-review on your development system
  3. Check out source code repository
  4. Set up git-review for the repository
  5. Make your changes and submit them to Gerrit
  6. Get your change merged
  7. Changing your change - how to upload new patchsets
  8. You became a contributor

Create an account for the review.opencontrail.org site and sign your CLA

Install git-review on your development system

To check if it's working properly, run the git review command. If it's missing, git will explicitly state that it does not know this command:

$ git review
git: 'review' is not a git command. See 'git --help'.

If it's installed, it will probably complain about something else - you're good to go:

$ git review
Cannot determine where .git directory is.
The following command failed with exit code 128
    "git rev-parse --show-toplevel --git-dir"
-----------------------
fatal: Not a git repository (or any of the parent directories): .git
-----------------------

Reviewer guide

Clone this wiki locally