-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathHACKING
53 lines (33 loc) · 1.61 KB
/
HACKING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
-------------------------------------------------------------------------------
HACKING
-------------------------------------------------------------------------------
Coding style
------------
This project is programmed using the Linux kernel coding style:
https://www.kernel.org/doc/html/latest/process/coding-style.html
Please use the same style for any code contributions, thanks!
In some exceptional cases deviations from the above coding guidelines are
OK (in order to meet fx2lib related guidelines, for example).
Contributions
-------------
- In order to contribute you should ideally clone the git repository and
let us know (preferably via IRC, or via the mailing list) from where to
pull/review your changes. You can use github.com, or any other public git
hosting site.
- Alternatively, patches can be sent to the development mailinglist at
[email protected] (please subscribe to the list first).
https://lists.sourceforge.net/lists/listinfo/sigrok-devel
Random notes
------------
- Consistently use the same naming convention for #include guards in headers:
<PROJECTNAME>_<PATH_TO_FILE>_<FILE>
This ensures that all #include guards are always unique and consistent.
Example: FX2LAFW_INCLUDE_COMMAND_H
- In Doxygen comments, put an empty line between the block of @param lines
and the final @return line. The @param lines themselves (if there is more
than one) are not separated by empty lines.
Release engineering
-------------------
See
http://sigrok.org/wiki/Developers/Release_process
for a list of items that need to be done when releasing a new tarball.