CODING 804 Bytes
Newer Older
1 2
= Coding standards =

Tristan Matthews's avatar
Tristan Matthews committed
3
Please follow our coding standards when developing
4
http://projects.savoirfairelinux.com/projects/ring-daemon/wiki/Daemon_Coding_Rules
5 6 7 8

= Gerrit workflow =

We are now using Gerrit as a code review tool.
9
Wiki documentation: http://projects.savoirfairelinux.com/projects/ring/wiki/WorkingWithGerrit
10

11 12 13 14
== commit messages ==

Use Issue: followed by the ticket number

15 16
== commit-msg hook ==

Vivien Didelot's avatar
Vivien Didelot committed
17
You may want to install the commit-msg hook that inserts a Change-Id on commit messages:
18
$ gitdir=$(git rev-parse --git-dir); scp -p -P 29420 username@gerrit-ring.savoirfairelinux.com:hooks/commit-msg ${gitdir}/hooks/
19 20 21 22 23

Other documentation source:

* http://strongspace.com/rtyler/public/gerrit-jenkins-notes.pdf
* https://wiki.jenkins-ci.org/display/JENKINS/Gerrit+Trigger
24

Emmanuel Milou's avatar
Emmanuel Milou committed
25
Thank you team!
Emmanuel Milou's avatar
Emmanuel Milou committed
26 27

Test