GNU bug report logs - #35621
Simplify comparing guix challenge results

Previous Next

Package: guix;

Reported by: Vagrant Cascadian <vagrant <at> reproducible-builds.org>

Date: Tue, 7 May 2019 18:03:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35621: closed (Simplify comparing guix challenge results)
Date: Thu, 12 Dec 2019 17:22:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 12 Dec 2019 18:21:43 +0100
with message-id <87o8wd5ujc.fsf <at> gnu.org>
and subject line Re: [bug#38518] [PATCH 0/7] 'guix challenge' can diff archives directly
has caused the debbugs.gnu.org bug report #35621,
regarding Simplify comparing guix challenge results
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35621: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35621
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vagrant Cascadian <vagrant <at> reproducible-builds.org>
To: bug-guix <at> gnu.org
Subject: Simplify comparing guix challenge results
Date: Tue, 07 May 2019 11:02:05 -0700
[Message part 3 (text/plain, inline)]
I'd like to see a simpler process for comparing challenge results
producing differences.

While the manual documents how to compare a failing challenge result

  $ wget -q -O - https://ci.guix.info/nar/…-git-2.5.0 \
     | guix archive -x /tmp/git
  $ diff -ur --no-dereference /gnu/store/…-git.2.5.0 /tmp/git

To check "git", you need to run "guix challenge git" and if the results
are inconclusive, manually cut-and-paste the correct URL(s) from the
challenge output and manually download it and unpack with guix archive,
and then run a comparison utility...

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="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.


live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 38518-done <at> debbugs.gnu.org, 35621-done <at> debbugs.gnu.org
Subject: Re: [bug#38518] [PATCH 0/7] 'guix challenge' can diff archives
 directly
Date: Thu, 12 Dec 2019 18:21:43 +0100
Hi,

Ludovic Courtès <ludo <at> gnu.org> skribis:

>   serialization: Add 'fold-archive'.
>   guix archive: Add '--list'.
>   challenge: Report the best narinfo URI.
>   serialization: Remove unused procedure.
>   progress: Add 'progress-report-port'.
>   challenge: Add "--diff".
>   challenge: Support "--diff=diffoscope".

Pushed!

Ludo’.


This bug report was last modified 5 years and 221 days ago.

Previous Next


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