all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 38518@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#38518] [PATCH 0/7] 'guix challenge' can diff archives directly
Date: Sat,  7 Dec 2019 22:42:30 +0100	[thread overview]
Message-ID: <20191207214230.25653-1-ludo@gnu.org> (raw)

Hello Guix!

Here’s a gift brought from the R-B Summit in Marrakesh!  :-)
These changes allow ‘guix challenge’ to directly show the list
of changed files, or to invoke ‘diffoscope’ on the differing
store items.  The new ‘--diff’ option allows users to choose
the diff mode.

The default now looks like this:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix challenge guile --substitute-urls="https://bayfront.guix.info https://ci.guix.gnu.org"
/gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6 contents differ:
  no local build for '/gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6'
  https://bayfront.guix.info/nar/lzip/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6: 1pzzanrfpjmmm6qbgw03qnjmj9zvd4af8sqk44y3m3k36l0dxgwq
  https://ci.guix.gnu.org/nar/lzip/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6: 1qhxajxihs3gm4ny61hq9zjnssp8azzsxflk9wq4l8g2l3zicp52
  differing files:
    /lib/guile/2.2/ccache/srfi/srfi-27.go
    /lib/guile/2.2/ccache/srfi/srfi-19.go
    /lib/guile/2.2/ccache/srfi/srfi-18.go
    /lib/guile/2.2/ccache/ice-9/vlist.go
    /lib/guile/2.2/ccache/ice-9/suspendable-ports.go

1 store items were analyzed:
  - 0 (0.0%) were identical
  - 1 (100.0%) differed
  - 0 (0.0%) were inconclusive
--8<---------------cut here---------------end--------------->8---

Feedback welcome!

Ludo’.

Ludovic Courtès (7):
  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".

 doc/guix.texi               |  60 +++++++++-
 guix/progress.scm           |  31 +++++
 guix/scripts/archive.scm    |  45 +++++++-
 guix/scripts/challenge.scm  | 220 ++++++++++++++++++++++++++++++++++--
 guix/scripts/substitute.scm |  36 +-----
 guix/serialization.scm      | 152 +++++++++++++------------
 guix/tests/http.scm         |   6 +-
 tests/challenge.scm         |  96 +++++++++++++++-
 tests/guix-archive.sh       |   7 +-
 tests/nar.scm               |  74 ++++++++++++
 10 files changed, 606 insertions(+), 121 deletions(-)

-- 
2.24.0

             reply	other threads:[~2019-12-08  2:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 21:42 Ludovic Courtès [this message]
2019-12-08 11:20 ` [bug#38518] [PATCH 0/7] 'guix challenge' can diff archives directly zimoun
2019-12-08 11:34   ` Ludovic Courtès
2019-12-08 11:48     ` zimoun
2019-12-08 11:26 ` [bug#38518] [PATCH 1/7] serialization: Add 'fold-archive' Ludovic Courtès
2019-12-08 11:26   ` [bug#38518] [PATCH 2/7] guix archive: Add '--list' Ludovic Courtès
2019-12-08 11:26   ` [bug#38518] [PATCH 3/7] challenge: Report the best narinfo URI Ludovic Courtès
2019-12-08 11:26   ` [bug#38518] [PATCH 4/7] serialization: Remove unused procedure Ludovic Courtès
2019-12-08 11:26   ` [bug#38518] [PATCH 5/7] progress: Add 'progress-report-port' Ludovic Courtès
2019-12-08 11:26   ` [bug#38518] [PATCH 6/7] challenge: Add "--diff" Ludovic Courtès
2019-12-08 11:26   ` [bug#38518] [PATCH 7/7] challenge: Support "--diff=diffoscope" Ludovic Courtès
2019-12-12 17:21 ` bug#35621: [bug#38518] [PATCH 0/7] 'guix challenge' can diff archives directly Ludovic Courtès
2019-12-12 17:21   ` bug#38518: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191207214230.25653-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=38518@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.