beaglebone.md: Added documentation for Beaglebone Black
[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 boards running linux
8 - People to extend the functionality, API with useful functions
9 - Anything we haven't thought about :) Ideas always welcome!
10
11 The recommended method to contribute is to fork on github, and then send pull
12 requests to the main project. You can open issues if you find any bugs/have
13 questions.
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 -----------
20 - Your code must build
21 - Commits must have a sign-off line by at least yourself
22 - Commits must be named <file/module>: Some decent description
23 - Try not to break master. In any commit.
24 - Try to split commits up logically, you will be asked to rebase them if they
25   are not.
26 - Try to stick to the established coding style regardless of your personal
27   feeling for it! Use clang-format (3.6+ required)
28
29 Code signing
30 ------------
31
32 The sign-off is a simple line at the end of the explanation for the
33 patch, which certifies that you wrote it or otherwise have the right to pass it
34 on as an open-source patch.  The rules are pretty simple: if you can certify
35 the below:
36
37         Developer's Certificate of Origin 1.1
38
39         By making a contribution to this project, I certify that:
40
41         (a) The contribution was created in whole or in part by me and I
42             have the right to submit it under the open source license
43             indicated in the file; or
44
45         (b) The contribution is based upon previous work that, to the best
46             of my knowledge, is covered under an appropriate open source
47             license and I have the right under that license to submit that
48             work with modifications, whether created in whole or in part
49             by me, under the same open source license (unless I am
50             permitted to submit under a different license), as indicated
51             in the file; or
52
53         (c) The contribution was provided directly to me by some other
54             person who certified (a), (b) or (c) and I have not modified
55             it.
56
57         (d) I understand and agree that this project and the contribution
58             are public and that a record of the contribution (including all
59             personal information I submit with it, including my sign-off) is
60             maintained indefinitely and may be redistributed consistent with
61             this project or the open source license(s) involved.
62
63 then you just add a line saying
64
65         Signed-off-by: Random J Developer <random@developer.example.org>
66
67 Using your real name (sorry, no pseudonyms or anonymous contributions.)
68
69 Where to find us
70 ----------------
71
72 Hop onto the freenode network on IRC and join #mraa. Please be patient as we're
73 not always online.
74