5e93f0487ffc352de4557ec6e4aef43b580c4194
[contrib/mraa.git] / docs / contributing.md
1 Contributing to libmraa                           {#contributing} 
2 ======================
3
4 libmraa is an opensource project and we are actively looking for people to help
5 with:
6
7 - Writing platform supports for all types of embedded boards running linux
8 - People to write cool samples
9 - People to extend the functionality
10
11 The recommended method to contribute is to fork on github, and then send pull
12 requests to the main project. Questions can be also be asked and issues raised
13 on github.
14
15 If you'd rather not use github you are more than welcome to send git formatted
16 patches to brendan.le.foll@intel.com.
17
18 # Basic rules
19 - Your code must build
20 - Commits must have a sign-off line by at least yourself
21 - Commits must be named <file/module>: Some decent description
22 - Try not to break master. In any commit.
23 - Try to split commits up logically, you will be asked to rebase them if they
24   are not.
25 - Try to stick to the established coding style reguardless of your personal feeling for it!
26
27 Code signing
28 ============
29
30 The sign-off is a simple line at the end of the explanation for the
31 patch, which certifies that you wrote it or otherwise have the right to pass it
32 on as an open-source patch.  The rules are pretty simple: if you can certify
33 the below:
34
35         Developer's Certificate of Origin 1.1
36
37         By making a contribution to this project, I certify that:
38
39         (a) The contribution was created in whole or in part by me and I
40             have the right to submit it under the open source license
41             indicated in the file; or
42
43         (b) The contribution is based upon previous work that, to the best
44             of my knowledge, is covered under an appropriate open source
45             license and I have the right under that license to submit that
46             work with modifications, whether created in whole or in part
47             by me, under the same open source license (unless I am
48             permitted to submit under a different license), as indicated
49             in the file; or
50
51         (c) The contribution was provided directly to me by some other
52             person who certified (a), (b) or (c) and I have not modified
53             it.
54
55         (d) I understand and agree that this project and the contribution
56             are public and that a record of the contribution (including all
57             personal information I submit with it, including my sign-off) is
58             maintained indefinitely and may be redistributed consistent with
59             this project or the open source license(s) involved.
60
61 then you just add a line saying
62
63         Signed-off-by: Random J Developer <random@developer.example.org>
64
65 using your real name (sorry, no pseudonyms or anonymous contributions.)
66 Unsigned commits will not be accepted.