diff options
author | 2008-10-21 14:26:59 +0000 | |
---|---|---|
committer | 2008-10-21 14:26:59 +0000 | |
commit | 85432b0bd0eb234d3aa513243496d05a9d52e394 (patch) | |
tree | 50f5e79103bc2cff09e86d27b1023f680e11c557 /HACKING | |
parent | * src/qemu_driver.c: cleanup patch for usb masstorage hotadd (diff) | |
download | libvirt-85432b0bd0eb234d3aa513243496d05a9d52e394.tar.gz libvirt-85432b0bd0eb234d3aa513243496d05a9d52e394.tar.bz2 libvirt-85432b0bd0eb234d3aa513243496d05a9d52e394.zip |
Document somme commit rules, and add application monitoring links to docs
* HACKING: update with some rules for commiters
* docs/apps.html docs/apps.html.in: add a section on monitoring
support
daniel
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 36 |
1 files changed, 34 insertions, 2 deletions
@@ -1,5 +1,5 @@ -Libvirt contributor guidelines -============================== + Libvirt contributor guidelines + ============================== General tips for contributing patches @@ -245,3 +245,35 @@ Of particular note: *DO NOT* include libvirt/libvirt.h or libvirt/virterror.h. It is included by "internal.h" already and there are some special reasons why you cannot include these files explicitly. + + + + Libvirt commiters guidelines + ============================ + +The AUTHORS files indicates the list of people with commit acces right +who can actually merge the patches. + +The general rule for commiting patches is to make sure it has been reviewed +properly in the mailing-list first, usually if a couple of persons gave an +ACK or +1 to a patch and nobody raised an objection on the list it should +be good to go. If the patch touches a part of the code where you're not the +main maintainer or not have a very clear idea of how things work, it's better +to wait for a more authoritative feedback though. Before commiting please +also rebuild locally and run 'make check syntax-check' and make sure they +don't raise error. Try to look for warnings too for example configure with + --enable-compile-warnings=error +which adds -Werror to compile flags, so no warnings get missed + +Exceptions to that 'review and approval on the list first' is fixing failures +to build: + - if a recently commited patch breaks compilation on a platform + or for a given driver then it's fine to commit a minimal fix + directly without getting the review feedback first + - similary if make check or make syntax-chek breaks, if there is + an obvious fix, it's fine to commit immediately +The patch should still be sent to the list (or tell what the fix was if +trivial) and 'make check syntax-check' should pass too before commiting +anything +Similary fixes for documentation and code comments can be managed +in the same way, but still make sure they get reviewed if non-trivial. |