2014-04-21 16:02:47 -04:00
|
|
|
= Coding standards =
|
|
|
|
|
2011-08-25 15:43:17 -04:00
|
|
|
Please follow our coding standards when developing
|
2015-03-25 15:27:18 -04:00
|
|
|
http://projects.savoirfairelinux.com/projects/ring-daemon/wiki/Daemon_Coding_Rules
|
2014-04-21 16:02:47 -04:00
|
|
|
|
|
|
|
= Gerrit workflow =
|
|
|
|
|
|
|
|
We are now using Gerrit as a code review tool.
|
2015-03-25 15:27:18 -04:00
|
|
|
Wiki documentation: http://projects.savoirfairelinux.com/projects/ring/wiki/WorkingWithGerrit
|
2014-04-21 16:02:47 -04:00
|
|
|
|
2014-05-02 15:30:30 -04:00
|
|
|
== commit messages ==
|
|
|
|
|
|
|
|
Use Issue: followed by the ticket number
|
|
|
|
|
2014-04-21 16:02:47 -04:00
|
|
|
== commit-msg hook ==
|
|
|
|
|
2014-04-22 11:45:09 -04:00
|
|
|
You may want to install the commit-msg hook that inserts a Change-Id on commit messages:
|
2015-03-25 15:27:18 -04:00
|
|
|
$ gitdir=$(git rev-parse --git-dir); scp -p -P 29420 username@gerrit-ring.savoirfairelinux.com:hooks/commit-msg ${gitdir}/hooks/
|
2014-04-21 16:02:47 -04:00
|
|
|
|
|
|
|
Other documentation source:
|
|
|
|
|
|
|
|
* http://strongspace.com/rtyler/public/gerrit-jenkins-notes.pdf
|
|
|
|
* https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger
|
2014-04-22 17:14:47 -04:00
|
|
|
|
2014-04-23 17:07:11 -04:00
|
|
|
Thank you team!
|
2014-05-02 11:16:33 -04:00
|
|
|
|
|
|
|
Test
|