File: 080_contributing.md

package info (click to toggle)
yquake2 8.20%2Bctf1.09%2Bdfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 7,964 kB
  • sloc: ansic: 176,742; makefile: 1,012; sh: 51
file content (32 lines) | stat: -rw-r--r-- 1,622 bytes parent folder | download | duplicates (5)
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
# Contributing Code

You want to contribute code to Yamagi Quake II? That's good! We're
always interested in contributions, as long as they're in the scope of
our little project. It doesn't matter if you're sending new features,
bugfixes or even documentation updates.

As a general note: **Ask before writing code!** Nobody was ever hurt for
asking if his or her idea is in scope for Yamagi Quake II. And an early
"no" is always better then rejections after having put tens of hours
into the idea.

Some rules to follow:

* Use GitHub! Sign up for an account, fork our repository and send a
  pull request after you're satisfied with your work. We won't accept
  patches sent by email or - even worse - as pastebin links.
* Create a history of small, distinct commits. Several small commits are
  always better then one big commit. They make your changes more
  understandable and ease debugging.
* Never ever add new dependencies. We won't accept code that add new
  dependencies. If in doubt, because you really need that nice little
  library, ask.
* Make sure that your code is compiling without warnings with at least
  current versions of GCC and Clang. Also make sure that it's working on
  both unixoid platforms and Windows.
* Don't do unnecessary cleanups. Yes, your linter or sanity checker may
  complain. But that's your problem and not ours. Cleanups often bring
  next to no advantage, Quake II has always been a mess and it'll stay a
  mess until the sun collapses. And cleanups are hard to test, often
  introduce new bugs and make debugging harder.
* Stick to the code style of the file you're editing.