apt-get install git
 apt-get install git-review

  [ misc ssh key setup ]

 git clone git://git.quagga.net/quagga.git
 cd quagga

  <-- start gerrit logic here instead of the standard
   -- sendpatch process.
   -->
 git review -s
 git config --global --add gitreview.username "vjardin"
 git checkout -b name_vj
 vi  src/main.c
 git add main.c
 git commit -a -s
 git log
 git review

   >>> then anyone can pick up this contribution, send
        an update on it,
   >>> we can have jenkins posting tests (so posting +1/-1)
       from Martin's tests or anyone labs's tests.

For reviewers, many options are possible:
  - emails
  - web interface
  - send an update on the patch

For instance, to amend a change:

 git clone git://git.quagga.net/quagga.git
 cd quagga

 git review -s -v
 git review -d I8xyzde1
   vi myfile.c
 git add myfile.c
 git commit --amend
 git log
 git review -R
=> it will send a N+1 version of the patch, still recorded under the same change logs. So, we get a better records than with patchwork.

Moreover, we get back to jenkins' posting +1/-1 for testing.

for more information, see https://www.mediawiki.org/wiki/Gerrit/Tutorial

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to