Browse Source

README: add info about gerrit

Change-Id: Ib0f9b47e6d2b7be4877de10beecc5cb657ba210a
John Floren 8 years ago
parent
commit
c58736b6d9
1 changed files with 15 additions and 0 deletions
  1. 15 0
      README

+ 15 - 0
README

@@ -1,5 +1,20 @@
 This is Plan 9 for amd64 built with gcc (and soon, I hope, clang).
 
+GERRIT
+======
+
+We use gerrithub.io for code-review. If you want to submit changes, go to https://review.gerrithub.io/#/admin/projects/elbing/harvey and check out the repository from gerrithub rather than github.
+
+Once you've checked out the repo, you'll need to run a few commands inside the top-level directory to get set up for code-review:
+
+curl -Lo .git/hooks/commit-msg http://review.gerrithub.io/tools/hooks/commit-msg
+chmod u+x .git/hooks/commit-msg
+git config remote.origin.push HEAD:refs/for/master
+
+Now, when you've made a change you want reviewed, simply commit and push. This will generate a code-review change request, others will review it, and if it looks good we will merge it to the mainline repo.
+
+More information on using Gerrit can be found on the gerrithub.io website.
+
 
 <a href="https://scan.coverity.com/projects/5328">
   <img alt="Coverity Scan Build Status"