diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-20 00:55:09 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-20 00:57:36 +0200 |
commit | d23c20f1d054935d4d865adfbfb5777c512444e1 (patch) | |
tree | 6e51977778282a331a26485573cda6c5561b2c16 /doc/contributing.texi | |
parent | ea0c6e0507a6997f12a4f29d0445b51cf53bd81e (diff) | |
download | guix-d23c20f1d054935d4d865adfbfb5777c512444e1.tar.gz guix-d23c20f1d054935d4d865adfbfb5777c512444e1.tar.xz |
Add 'guix challenge'.
* guix/scripts/challenge.scm, tests/challenge.scm: New files.
* Makefile.am (MODULES): Add the former.
(SCM_TESTS): Add the latter.
* doc.am (SUBCOMMANDS): Add 'challenge'.
* doc/guix.texi (Substitutes): Add xref to 'guix challenge'.
(Invoking guix challenge): New node.
* doc/contributing.texi (Submitting Patches): Add note about using 'guix
challenge'.
* po/guix/POTFILES.in: Add guix/scripts/challenge.scm.
Diffstat (limited to 'doc/contributing.texi')
-rw-r--r-- | doc/contributing.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi index b2d097dd62..245ce9b1c4 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -234,6 +234,17 @@ For important changes, check that dependent package (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh}). +@item +Check whether the package's build process is deterministic. This +typically means checking whether an independent build of the package +yields the exact same result that you obtained, bit for bit. + +A simple way to do that is with @command{guix challenge} +(@pxref{Invoking guix challenge}). You may run it once the package has +been committed and built by @code{hydra.gnu.org} to check whether it +obtains the same result as you did. Better yet: Find another machine +that can build it and run @command{guix publish}. + @end enumerate When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as a |