doc/cvs-commit-rules.txt
736a8194
 Kamailio git commit rules
 =========================
56d9a84b
 
88cde4d6
 1. Changing other people's code:
 --------------------------------
736a8194
  - send a patch to the code/module mantainer and/or sr-dev 
    (don't commit changes to code you don't own if you don't have the mantainer's approval)
56d9a84b
 Exceptions:
  a. compilation (this includes warning) fixes
  b. bug fixes
736a8194
  c. API changes (some external functions definitions change)
a9fae28b
  d. small changes due to a new release in the very near future (allowed only for the release manager)
56d9a84b
 
 2. Code requirements
88cde4d6
 --------------------
56d9a84b
 2.1 Unstable branch:
736a8194
  - the code must compile (at least on one architecture). If the code does not compile, 
    but you still want to commit it, comment it out (#if 0 ... #endif)
56d9a84b
  - the code should compile without warnings (with -Wall) (exceptions: very difficult to avoid warnings)
736a8194
  - follow Kamailio coding style
56d9a84b
 
 2.2. Stable branch (everything for unstable branch +)
88cde4d6
 ------------------------------------------------------
df264708
  - the code should compile on all the architectures (this currently includes
56d9a84b
    linux, freebsd, netbsd, openbsd, solaris >= 8; x86, ultrasparc, strongarm;
df264708
    gcc 4.x, icc, sun cc >=5.3). It should also compile on gcc 2.95 and 3.x.
56d9a84b
  - the code must be tested or the change trivial enough
df264708
  - the code should compile without warnings on all the arhitectures (with some exceptions)