Debian Codegraph @

CONTRIBUTING.md

raw symbols SCIP
1 # librist contribution guide
2
3 ## CoC
4 The [VideoLAN Code of Conduct](https://wiki.videolan.org/CoC) applies fully to this project.
5
6 ## ToDo
7
8 The todo list can be found [on the wiki](https://code.videolan.org/rist/librist/wikis/to-do).
9
10 ## Codebase language
11
12 The codebase is developed with the following assumptions:
13
14 For the library:
15 - C language with C99 version, without the VLA or the Complex (*\_\_STDC_NO_COMPLEX__*) features, and without compiler extension,
16 - arm/arm64 in .S files, using the GAS syntax limited to subset llvm 5.0's internal assembler supports,
17
18 For the tools and utils:
19 - C *(see above for restrictions)*
20
21 If you want to use *Threads* or *Atomic* features, please conform to the **C11**/**POSIX** semantic and use a wrapper for older compilers/platforms *(like done in VLC)*.
22
23 Please use modern standard POSIX functions *(strscpy, asprintf, tdestroy)*, and provide a compatibility fallback *(like done in VLC)*.
24
25 We will make reasonable efforts for compilers that are a bit older, but we won't support gcc 3 or MSVC 2012.
26
27 ## Authorship
28
29 Please provide a correct authorship for your commit logs, with a name and a valid email.
30
31 We will reject anonymous contributions for now. As an exception, known pseudonyms from the multimedia community are accepted.
32
33 ## Commit logs
34
35 Please read [How to Write a Git Commit Message](https://chris.beams.io/posts/git-commit/).
36
37 ## Submit requests (WIP)
38
39 - Code,
40 - [Compile](https://xkcd.com/303/),
41 - Check your [code style](https://code.videolan.org/rist/librist/wikis/Coding-style),
42 - Test,
43 - Try,
44 - Submit patches through merge requests,
45 - Check that this passes the CI.
46
47 ## Patent license
48
49 This code was written to comply with the Video Services Forum (VSF) Technical Recommendations TR-06-1 and TR-06-2 and as such is free of any patent royalty payments