Subject: bug#65229: closed (Re: bug#65229: [PATCH 0/2] Add '-q' for 'pull' and 'time-machine'; support loading from pipes)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 17 Aug 2023 17:11:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
65229: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65229
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#65229: [PATCH 0/2] Add '-q' for 'pull' and 'time-machine'; support loading from pipes
From: Ludovic Courtès <[email-masked]>
To: Simon Tournier <[email-masked]>
Cc: [email-masked]
Date: Thu, 17 Aug 2023 19:10:05 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Simon Tournier <[email-masked]> skribis:

> On Thu, 17 Aug 2023 at 12:17, Ludovic Courtès <[email-masked]> wrote:
>
>>   • Document the <(echo %default-channels) trick.
>
> LGTM!

Pushed as 9c8098424b5be3abf21144c74162ec39c0c2e799, thanks!

Ludo’.

Subject: [PATCH 0/2] Add '-q' for 'pull' and 'time-machine'; support loading from pipes
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: [email-masked], Ludovic Courtès <[email-masked]>
Date: Fri, 11 Aug 2023 17:31:06 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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