guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#58417: Installer script no longer works with `yes` utility


From: zimoun
Subject: Re: bug#58417: Installer script no longer works with `yes` utility
Date: Tue, 11 Oct 2022 20:38:55 +0200

Hi Tobias,

On Tue, 11 Oct 2022 at 18:26, Tobias Geerinckx-Rice <me@tobias.gr> wrote:
> Jonas Freimuth 写道:

>> bash -c 'yes | bash guix-install.sh'
>
> While this happens to work (again) now, that doesn't mean it 
> always will or should be considered supported.
>
> We should reserve the right to ask future questions to which the 
> safe/sane/common answer is ‘no’, without phrasing it awkwardly 
> just to make an unthinking stream of ‘y’s happy.
>
>   $ guix-install.sh
>
>   Would you like to NOT enable the Cool Experimental Feature? 
>   (DANGER) [Y/n]

Personally, I am always confused by the negative form of a question. :-)


> Conversely, I'd like to add a comment that does commit to always 
> keeping ‘yes '' | bash guix-install.sh’ working, assuming there 
> was no other input or detected issues.  Also nice for humans in a 
> hurry.
>
> Does that seem unreasonable to anyone?

>From my point of view, it could nice to have a way to run the
installation script without any human action.  For instance, install
Guix in some GitHub/Gitlab CI.


Cheers,
simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]