GNU bug report logs - #65229
[PATCH 0/2] Add '-q' for 'pull' and 'time-machine'; support loading from pipes

Previous Next

Package: guix-patches;

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

Date: Fri, 11 Aug 2023 15:32:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: maurice.bremond <at> inria.fr, Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH 0/2] Add '-q' for 'pull' and 'time-machine';
 support loading from pipes
Date: Fri, 11 Aug 2023 17:31:06 +0200
Hello!

These patches address two related issues:

  • The first one adds ‘-q’ to ‘pull’ and ‘time-machine’ to
    instruct them to ignore the user/system ‘channels.scm’ file.
    That way, a command like the following is guaranteed to have
    the same semantics regardless of available config files:

      guix time-machine -q --commit=v1.2.0 -- build hello

    This issue had been raised in
    <https://issues.guix.gnu.org/63726>.

  • The second one lets users do things (in Bash) like:

      guix time-machine -C <(echo %default-channels) -- …

Feedback welcome!

Ludo’.

Ludovic Courtès (2):
  pull, time-machine: Add '-q' to ignore channel files.
  ui: 'load*' accepts /dev/fd/N files pointing to a pipe.

 doc/guix.texi                 | 30 ++++++++++++++++++++++--------
 guix/scripts/pull.scm         | 14 ++++++++++++--
 guix/scripts/time-machine.scm |  7 ++++++-
 guix/ui.scm                   | 16 +++++++++++++++-
 tests/guix-build.sh           |  9 ++++++++-
 5 files changed, 63 insertions(+), 13 deletions(-)


base-commit: 56fddefc6de3b0c1f2ccb9559d86ba08d2e429b9
-- 
2.41.0





This bug report was last modified 1 year and 281 days ago.

Previous Next


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