GNU bug report logs - #33134
[PATCH 0/1] guix-install.sh: Add ability to run it non-interactively.

Previous Next

Package: guix-patches;

Reported by: rsiddharth <s <at> ricketyspace.net>

Date: Wed, 24 Oct 2018 00:17:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33134: closed ([PATCH 0/1] guix-install.sh: Add ability to
 run it non-interactively.)
Date: Tue, 13 Jul 2021 12:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 13 Jul 2021 08:01:58 -0400
with message-id <874kcytoax.fsf <at> gmail.com>
and subject line Re: bug#33134: [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively.
has caused the debbugs.gnu.org bug report #33134,
regarding [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively.
to be marked as done.

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


-- 
33134: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33134
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: rsiddharth <s <at> ricketyspace.net>
To: guix-patches <at> gnu.org
Cc: rsiddharth <s <at> ricketyspace.net>
Subject: [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively.
Date: Tue, 23 Oct 2018 20:15:42 -0400
I want to be able to run the guix-install.sh non-interactively[1] like this:

   echo "yy" | guix-install.sh

   (One "y" for "Press return to continue..." prompt, the other "y" for
   "Permit downloading pre-built package binaries from the project's build
   farms? (yes/no)" prompt).

Currently, the `read` in welcome function reads both the "y". I updated it to
read just one character.

[1]: https://git.ricketyspace.net/propellor/tree/config.hs?id=0cddd47ef#n640

rsiddharth (1):
  guix-install.sh: Update welcome.

 etc/guix-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.19.1



[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: rsiddharth <s <at> ricketyspace.net>
Cc: 33134-done <at> debbugs.gnu.org
Subject: Re: bug#33134: [PATCH 0/1] guix-install.sh: Add ability to run it
 non-interactively.
Date: Tue, 13 Jul 2021 08:01:58 -0400
Hello,

rsiddharth <s <at> ricketyspace.net> writes:

> I want to be able to run the guix-install.sh non-interactively[1] like this:
>
>    echo "yy" | guix-install.sh
>
>    (One "y" for "Press return to continue..." prompt, the other "y" for
>    "Permit downloading pre-built package binaries from the project's build
>    farms? (yes/no)" prompt).
>
> Currently, the `read` in welcome function reads both the "y". I updated it to
> read just one character.
>
> [1]: https://git.ricketyspace.net/propellor/tree/config.hs?id=0cddd47ef#n640
>
> rsiddharth (1):
>   guix-install.sh: Update welcome.
>
>  etc/guix-install.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

The guix-install.sh saw some imrovements in v1.3.0 that makes it support
the non-interactive 'yes | sudo ./guix-install.sh' use case.  I think it
obsoletes this patch.

Closing, but feel free to send a new patch series if I missed anything.

Thank you,

Maxim


This bug report was last modified 3 years and 309 days ago.

Previous Next


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