From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gDq/A6LHTWPmaQEAbAwnHQ (envelope-from ) for ; Mon, 17 Oct 2022 23:22:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oOMeA6LHTWPr6gAAG6o9tA (envelope-from ) for ; Mon, 17 Oct 2022 23:22:42 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BC3C5B27A for ; Mon, 17 Oct 2022 23:22:41 +0200 (CEST) Received: from localhost ([::1]:56110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okXZI-0001Wk-UW for larch@yhetil.org; Mon, 17 Oct 2022 17:22:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okXZ0-0001Wc-9V for guix-devel@gnu.org; Mon, 17 Oct 2022 17:22:22 -0400 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]:39709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okXYy-00045J-Py for guix-devel@gnu.org; Mon, 17 Oct 2022 17:22:22 -0400 Received: by mail-qk1-x731.google.com with SMTP id a5so7523432qkl.6 for ; Mon, 17 Oct 2022 14:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=P/sharMH9UmFsm5F/+c9obJAMzW7kvCdhF6X3maMaRQ=; b=moWGXvNlBopNROGKxxzDrWjPfDG68R5i8+ca0n1gOEq66UbKvWzU7zkElprwhO7a9m k8zjfQUY6bQMI6cSdqiYBQZi8tAMBeynt97ulxnttVeIbgAYRv8ytLl/ozcT8VUSeFNj AX9yFu9KIdFi5psLc5UFLcg3Mq4ELAkGYR+m/Qi/boB1SBcq3tro6bZdUuEJgeLU6mLa oCugVXiT1Iro7iZTZBFhcLSm8riT9GByVufLa4/JzZy9ayt57xAVyjIFmUthsKikOSuY 04OtJcgjJKJL7Wxk029NNcSnNxU19IthrZxXt8s1eb8qprttmBNqxPn0LJYB0ybmQ5/o Lulg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=P/sharMH9UmFsm5F/+c9obJAMzW7kvCdhF6X3maMaRQ=; b=EdOGFES3ET0fvmqP7OKODG54TPvj6k7a6WpoEwupG/f5rMKTZLSPFjKjS50UGz4sjd xogif//OOBv35lgYIBQfheXXE7m28oqvJOXn3kjtFsRCOb02CiVqYq+EuOG/+RB0qJaA mHo485tmeY/VCcHP0/krVGcjVVxyJMRM3D8yDHDBr8Kl1XZ5uSJdTV6ksIpmWRIgzgNr nWUVnA/rIsiMezk+UoaABSVfNCg+rcDQ85rkb8joGXbh5c6R8I/jyIx8CG3cTlUSZsJD s5ygW/Rvn/0+Oxy+Q7ees1xcFOMgFYIS5R/f2sgKnMcRQI9JQxF/ZBk0kuHhtcRL+dn6 Y9og== X-Gm-Message-State: ACrzQf38bmEkrXUvHh2lAQsWQvo3Xmg3LCC+1yXDEimGVNXjhUcEkEB7 5lZFbnrD+5o00JLsmXhDMpxVe8jWGYs= X-Google-Smtp-Source: AMsMyM76tYMRuMCXun16jQlTknolx82V7ej6cvpPOqI0fiplQkfQusefnXQbPYOdkuW0rp6odHstww== X-Received: by 2002:a05:620a:2953:b0:6ee:8874:f5b0 with SMTP id n19-20020a05620a295300b006ee8874f5b0mr8860130qkp.446.1666041735985; Mon, 17 Oct 2022 14:22:15 -0700 (PDT) Received: from hurd (dsl-154-51.b2b2c.ca. [66.158.154.51]) by smtp.gmail.com with ESMTPSA id bq12-20020a05620a468c00b006ee957439f2sm627682qkb.133.2022.10.17.14.22.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 14:22:15 -0700 (PDT) From: Maxim Cournoyer To: zimoun Cc: Tobias Geerinckx-Rice , Jonas Freimuth , Guix-devel Subject: Re: bug#58417: Installer script no longer works with `yes` utility References: <9e3dc221-9013-d58a-402b-696b117a99a6@posteo.de> <8735buwbjl.fsf@nckx> <86o7uimchs.fsf@gmail.com> <87ilkjz1jh.fsf@gmail.com> <87lepeoped.fsf@gmail.com> Date: Mon, 17 Oct 2022 17:22:14 -0400 In-Reply-To: <87lepeoped.fsf@gmail.com> (zimoun's message of "Mon, 17 Oct 2022 09:55:22 +0200") Message-ID: <87k04yxi0p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::731; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x731.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666041761; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=P/sharMH9UmFsm5F/+c9obJAMzW7kvCdhF6X3maMaRQ=; b=sE9Q5oUeGI1bhpJwFSnaB/HWccZ0wrEhdM1eMIeHY7pgCrX/b0uKuSQDJruFLHnkpDSuMB 9Lgjebtwk80YXF6WFB0MQuRx0es5icqc6n9HHvE3r4fJp/fqF9xyPz99AZ+SDb7qrpDMN3 ynkSFFhzyGgqS7sIyeSJf9J6xohoYG5aHWxki6gOY2gdc/YO9ufsROYw05BGt9yKOZHmzq Nr2GYVbXLWyHwDLV+1WuE4vIk6Sd/UGve4I9tfedrzYAWq9Zt7yKUYRaWMqShH8B3YyPy9 INSyqCUu8hqwOLKmlyRZnPBULCSA9MX6SOtScnuZtpVwO33jZRlx60/TOCLYOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666041761; a=rsa-sha256; cv=none; b=Ipg4Rud1B+nHj6UlhpKnvDXTY4nqL7Ns9yA9aLnd1VaD/L5BV6wkl6xM0pIAGCCFNQoQmw 75/3drr4hxbsISAUvirh0wf3ep/8Xi0fbP29TSRudOJQdqCbybJ6dW7JPRBdKh6JVUotkb azS6TUXi/bJnbW7m0tYjc2NTv36gaXWHsQcixevrIOywQIJVEFuhQ357fUI+dt3iDEGKUG djDYYRCdUEpSQl6BcmNDbiXKoVyBMVZ2TQcXrSWDSslViS1IzmTnjNVH4YpvfFU3YHspbs RNQc9dqDl2924WXrvnT9jYcVEBLeVuDQYlCbHkhppgxZiYNNcg/meeX/p1OBRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=moWGXvNl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=moWGXvNl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BC3C5B27A X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: Sx5IjliuiCpX Hi, zimoun writes: > Hi Maxim, > > On dim., 16 oct. 2022 at 21:22, Maxim Cournoyer wrote: > >> If I understood Tobias, they were not suggesting to make the >> non-interactive installation use case harder/impossible, just to change >> it from 'yes | ./install.sh' to 'yes "" | ./install.sh', which would >> give us the freedom to choose a default value of either yes or no for >> each question. > > Thanks for explaining. > > IIUC, is the point to have 'default | ./install.sh'? What do you mean by 'default | ./install.sh' ? I think Tobias' point was to have the ability for a newline (RET) to mean either YES or NO, compared to the current case where it always mean YES. "yes ''" does this: enter nothing then RET, repeatedly. -- Thanks, Maxim