Versions Compared

Key

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

Table of Contents

Developer Setup

Gerrit/Git

Quickstarts

Committing Code

Code Block
themeMidnight
# stage your changes
git commit -am "your commit message"
# commit your staged changes with sign-off
git commit -s --amend
# hit "i" for insert mode
# Create your commit message according to the ONAP commit message format, including the Issue-ID field https://wiki.onap.org/display/DW/Commit+Messages
# hit "Esc" followed by ":wq" + enter to save and quit.
# Submit your commit to ONAP Gerrit for review
git review
# goto https://gerrit.onap.org/r/#/dashboard/self
# select your review in the "Outgoing reviews" section, and add relevant committers and reviewers by clicking the "Add..." button.

Amending existing gerrit changes in review

Code Block
themeMidnight
# add new files/changes
git add .
# dont use -m - keep the same Issue-ID: line from original commmit
git commit --amend
git review -R
# see the change set number increase - https://gerrit.onap.org/r/#/c/17203/2

Filter gerrit reviews - Thanks Mandeep Khinda 

https://gerrit.onap.org/r/#/q/is:reviewer+AND+status:open+AND+label:Code-Review%253D0

Developer Deployment

Pairwise Testing

...