Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The ONOS source code is stored at gerrit.onosproject.org. Setting up git and Gerrit will allow you to easily fetch and test any version of ONOS, including releases, development versions, and patches that have been submitted for review. Setting up a Gerrit account and ssh access will also enable you to submit your own patches to ONOS and also to participate in the ONOS code review process.

Read-only access to the ONOS source code via git

Make sure you've installed git, and then create a local clone of the source repository:

...

However, if you want to contribute code to ONOS, you need to configure git and Gerrit for ssh access, as described below.

Optional:

...

Read-write access to the ONOS source code via Gerrit, ssh and git-review

There are two ways to clone the code from Gerrit, https:// or ssh://. Either way is fine for reading the code, but when it comes time to contribute your own patches the easiest and most secure way is to access Gerrit over SSH.

...