GNU bug report logs - #34625
[PATCH] Documentation: Update `guix challenge` diffing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: mikadoZero <mikadozero@HIDDEN>; Keywords: patch; dated Sat, 23 Feb 2019 01:17:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Feb 2019 01:16:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 22 20:16:49 2019
Received: from localhost ([127.0.0.1]:48691 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gxLvt-0006S5-3e
	for submit <at> debbugs.gnu.org; Fri, 22 Feb 2019 20:16:49 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40377)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mikadozero@HIDDEN>) id 1gxLvp-0006Rq-UU
 for submit <at> debbugs.gnu.org; Fri, 22 Feb 2019 20:16:48 -0500
Received: from lists.gnu.org ([209.51.188.17]:49225)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mikadozero@HIDDEN>)
 id 1gxLvk-0008G8-Ff
 for submit <at> debbugs.gnu.org; Fri, 22 Feb 2019 20:16:40 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54752)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mikadozero@HIDDEN>) id 1gxLvj-0007wV-D6
 for guix-patches@HIDDEN; Fri, 22 Feb 2019 20:16:40 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mikadozero@HIDDEN>) id 1gxLvi-0008Ex-Gx
 for guix-patches@HIDDEN; Fri, 22 Feb 2019 20:16:39 -0500
Received: from forward103j.mail.yandex.net ([2a02:6b8:0:801:2::106]:35121)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mikadozero@HIDDEN>)
 id 1gxLvg-0007uT-2t
 for guix-patches@HIDDEN; Fri, 22 Feb 2019 20:16:38 -0500
Received: from mxback14o.mail.yandex.net (mxback14o.mail.yandex.net
 [IPv6:2a02:6b8:0:1a2d::65])
 by forward103j.mail.yandex.net (Yandex) with ESMTP id E0354674067C
 for <guix-patches@HIDDEN>; Sat, 23 Feb 2019 04:16:10 +0300 (MSK)
Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net
 [2a02:6b8:0:1a2d::25])
 by mxback14o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7XRiV8AcOP-GAVupvbe;
 Sat, 23 Feb 2019 04:16:10 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail;
 t=1550884570; bh=OiyYC60Mrn+OmPc3hDAlBQWL7+/oYDHV6+gJsQjiDk4=;
 h=Subject:To:From:Date:Message-ID;
 b=U1ySGFP0c2j9sS4S2NjOgHK3YU379ymBMXEwhanZsfIUWqQg8drDU/Y5temBuzwxZ
 VENVEP+xygwGpMN8Swe0m4XYv+D9e+Drm3wWzPB6ISHb8M8dYvyEUvlHu33Z+huAII
 n2Z5LG/qn+rkxwqnEl+pQAuYEX0B3pN0Wa3X8kC8=
Authentication-Results: mxback14o.mail.yandex.net;
 dkim=pass header.i=@yandex.com
Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id
 m0lEkBoub6-G9RuZ262; Sat, 23 Feb 2019 04:16:09 +0300
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client certificate not present)
Date: Fri, 22 Feb 2019 20:29:31 -0500
From: mikadoZero <mikadozero@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] Documentation: Update `guix challenge` diffing
Message-ID: <20190223012931.GA17575@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="zYM0uCDKw75PZbzx"
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2a02:6b8:0:801:2::106
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Attached is a patch that updates the manual sections `Invoking guix challenge` and `Invoking guix archive`.  The update involves changing a command in both sections to one that I verified worked as part of my submission of `guix challenge` diffs for bug#34597.  The commands that are replaces did not work for me.  There is also a cross reference added to the `Invoking guix challenge` in the relevant part of `Invoking guix archive`.

--zYM0uCDKw75PZbzx
Content-Type: text/x-diff; charset=iso-8859-1
Content-Disposition: attachment; filename="0001-Documentation-Update-guix-challenge-diffing.patch"
Content-Transfer-Encoding: quoted-printable

From ea59d81de86fd5179eebf9782fbe66213ed59397 Mon Sep 17 00:00:00 2001
From: mikadoZero <mikadozero@HIDDEN>
Date: Fri, 22 Feb 2019 18:24:20 -0500
Subject: [PATCH] Documentation: Update `guix challenge` diffing.

Add /gzip/ part into url which has the benefit of matching the output of
`guix challenge`.  Change the commands to include gunzip in the pipeline =
as
they are working on gzipped files.  Add reference to `guix challenge` in =
`guix
archive` section where talking about challenging.
---
 doc/guix.texi | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 9fb5cff06..43c12cd72 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -58,6 +58,7 @@ Copyright @copyright{} 2018 G=E1bor Boskovits@*
 Copyright @copyright{} 2018 Florian Pelz@*
 Copyright @copyright{} 2018 Laura Lazzati@*
 Copyright @copyright{} 2018 Alex Vong@*
+Copyright @copyright{} 2019 mikadoZero@*
=20
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -4204,8 +4205,8 @@ served by @code{@value{SUBSTITUTE-SERVER}} to @file=
{/tmp/emacs}:
=20
 @example
 $ wget -O - \
-  https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-emacs-24.5 \
-  | bunzip2 | guix archive -x /tmp/emacs
+  https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-emacs-24.5 \
+  | gunzip | guix archive -x /tmp/emacs
 @end example
=20
 Single-item archives are different from multiple-item archives produced
@@ -4215,7 +4216,8 @@ and they do @emph{not} embed a signature.  Thus thi=
s operation does
 unsafe.
=20
 The primary purpose of this operation is to facilitate inspection of
-archive contents coming from possibly untrusted substitute servers.
+archive contents coming from possibly untrusted substitute servers
+(@pxref{Invoking guix challenge}).
=20
 @end table
=20
@@ -9559,8 +9561,8 @@ To find out what is wrong with this Git binary, we =
can do something along
 these lines (@pxref{Invoking guix archive}):
=20
 @example
-$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/@dots{}-git-2.5.0 \
-   | guix archive -x /tmp/git
+$ wget -q -O - https://@value{SUBSTITUTE-SERVER}/nar/gzip/@dots{}-git-2.=
5.0 \
+   | gunzip | guix archive -x /tmp/git
 $ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git
 @end example
=20
--=20
2.20.1


--zYM0uCDKw75PZbzx--




Acknowledgement sent to mikadoZero <mikadozero@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#34625; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.