From 141360b5b257715fdca2db4fc106b4220788ae06 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 3 Sep 2014 10:41:13 +0200 Subject: doc: Mention 'guix lint' and '--list-dependent' in 'HACKING'. * HACKING (Submitting Patches): Mention 'guix lint' and 'guix refresh --list-dependent'. --- HACKING | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/HACKING b/HACKING index 9e47b9703b..0231c7d84d 100644 --- a/HACKING +++ b/HACKING @@ -89,6 +89,13 @@ in the form of patches as produced by ‘git format-patch’ sent to guix-devel@gnu.org. Please write commit logs in the [[http://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs][GNU ChangeLog format]]; you can check the commit history for examples. +Before submitting a patch that adds or modifies a package definition, please +run ‘guix lint PACKAGE’, where PACKAGE is the name of the new or modified +package, and fix any errors it reports. In addition, please make sure the +package builds on your platform, using ‘guix build’. You may also want to +check that dependent package (if applicable) are not affected by the change; +‘guix refresh --list-dependent PACKAGE’ will help you do that. + When posting a patch to the mailing list, use "[PATCH] ..." as a subject. You may use your email client or the ‘git send-mail’ command. -- cgit v1.2.3