From d959885b9109878acc427b9321e46d8c6d133d1a Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 25 May 2015 09:42:04 -0600 Subject: [PATCH] docs: update documentation about patch formatting, testing, etc v2: correctly escape < and > chars. Reviewed-by: Thomas Helland --- docs/devinfo.html | 104 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/docs/devinfo.html b/docs/devinfo.html index c7e4171a9cb..e068d87da13 100644 --- a/docs/devinfo.html +++ b/docs/devinfo.html @@ -124,12 +124,112 @@ src/mesa/state_tracker/st_glsl_to_tgsi.cpp can serve as examples.

Submitting patches

-You should always run the Mesa Testsuite before submitting patches. -The Testsuite can be run using the 'make check' command. All tests +The basic guidelines for submitting patches are: +

+ + + +

Patch formatting

+ +

+The basic rules for patch formatting are: +

+ + + + + +

Testing Patches

+ +

+It should go without saying that patches must be tested. In general, +do whatever testing is prudent. +

+ +

+You should always run the Mesa test suite before submitting patches. +The test suite can be run using the 'make check' command. All tests must pass before patches will be accepted, this may mean you have to update the tests themselves.

+

+Whenever possible and applicable, test the patch with +Piglit to +check for regressions. +

+ + +

Mailing Patches

+

Patches should be sent to the Mesa mailing list for review. When submitting a patch make sure to use git send-email rather than attaching