From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35621: Simplify comparing guix challenge results Date: Wed, 08 May 2019 15:04:31 +0200 Message-ID: <87o94dw10g.fsf@gnu.org> References: <87sgtqxhwi.fsf@yucca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOMFr-0003ar-Qb for bug-guix@gnu.org; Wed, 08 May 2019 09:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOMFq-00011O-Tt for bug-guix@gnu.org; Wed, 08 May 2019 09:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOMFq-00011E-Qp for bug-guix@gnu.org; Wed, 08 May 2019 09:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hOMFq-0003bs-G7 for bug-guix@gnu.org; Wed, 08 May 2019 09:05:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87sgtqxhwi.fsf@yucca> (Vagrant Cascadian's message of "Tue, 07 May 2019 11:02:05 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Vagrant Cascadian Cc: 35621@debbugs.gnu.org Hi! Vagrant Cascadian skribis: > What about an argument to "guix challenge" that handles the downloading > and unpacking to a temporary directory, and possibly another that also > runs a comparison tool against the results. Maybe something like: > > $ guix challenge --download-differences > /tmp/git-XXXXX/SUBSTITTE-X/...-git-2.5.0 > /tmp/git-XXXXX/SUBSTITUTE-Y/...-git-2.5.0 > /gnu/store/...-git-2.5.0 > > Downloads and unpacks the substitutes, and outputs the resulting > directories. > > > $ guix challenge --download-differences --compare-with=3D"diffoscope ..= ." > > This would do the above, plus run diffoscope on the directories > ... though I think diffoscope can only compare between two things at a > time... so that might get difficult if many substitutes return results. Sounds like a good idea. Perhaps =E2=80=98--compare-with=E2=80=99 is actua= lly enough (it would also download things), dunno. Ludo=E2=80=99.