Jump to: navigation, search

Solum/Contributing

< Solum
Revision as of 16:43, 1 November 2013 by Adrian Otto (talk | contribs)

Before You Begin

The configuration of the Solum StackForge Repo requires that you have an OpenStack CLA. For information about how prepare for contribution, please consult the How To Contribute wiki page.

Learn About Gerrit

Be sure to read the Gerrit Workflow wiki page for information about how to submit your commit for review so it can be merged into the Solum code base.

Setting up your git review settings

 git config --global user.name "Firstname Lastname"
 git config --global user.email "your_email@youremail.com"

To check your git configuration:

 git config --list

Installing git-review

On Ubuntu, MacOSx, or most other Unix-like systems, it is as simple as:

 pip install git-review

There are other installation options detailed in the Installation Instructions. You can now check out the Solum code and begin working on it:

Checking out/in Code

 git clone git://git.openstack.org/stackforge/solum
 cd solum

.. add awesome code ..

 git add <list of files you added/changed>
 git commit [--amend] <list of files you added/changed>
 git review

Once you code is submitted for review, "Sign In" at https://review.openstack.org/ to track the review. Upon approval of the review your code will be automatically merged.