From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YMUUFhKB7WA+nQAAgWs5BA (envelope-from ) for ; Tue, 13 Jul 2021 14:03:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AKPhERKB7WATfAAAbx9fmQ (envelope-from ) for ; Tue, 13 Jul 2021 12:03:30 +0000 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 C3B7B2DFA9 for ; Tue, 13 Jul 2021 14:03:29 +0200 (CEST) Received: from localhost ([::1]:37378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3H8K-00029d-SO for larch@yhetil.org; Tue, 13 Jul 2021 08:03:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3H7v-00027q-7Y for guix-patches@gnu.org; Tue, 13 Jul 2021 08:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3H7u-0007sA-Uf for guix-patches@gnu.org; Tue, 13 Jul 2021 08:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m3H7u-0004x8-Li for guix-patches@gnu.org; Tue, 13 Jul 2021 08:03:02 -0400 Subject: bug#33134: [PATCH 0/1] guix-install.sh: Add ability to run it non-interactively. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Tue, 13 Jul 2021 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33134 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: rsiddharth Cc: 33134-done@debbugs.gnu.org Mail-Followup-To: 33134@debbugs.gnu.org, maxim.cournoyer@gmail.com, s@ricketyspace.net Received: via spool by 33134-done@debbugs.gnu.org id=D33134.162617774518947 (code D ref 33134); Tue, 13 Jul 2021 12:03:02 +0000 Received: (at 33134-done) by debbugs.gnu.org; 13 Jul 2021 12:02:25 +0000 Received: from localhost ([127.0.0.1]:39618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3H7J-0004vX-7V for submit@debbugs.gnu.org; Tue, 13 Jul 2021 08:02:25 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:33346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m3H7H-0004v3-J3 for 33134-done@debbugs.gnu.org; Tue, 13 Jul 2021 08:02:24 -0400 Received: by mail-qt1-f170.google.com with SMTP id w13so16442423qtc.0 for <33134-done@debbugs.gnu.org>; Tue, 13 Jul 2021 05:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Sm4wAMv4tiE/JtOmfNJBjDxvcbqLw+qhvX2be4ncZg4=; b=M0ssaG+eJTqyxQlopPqfPiTR70plXuDaeHtDNtxbrIl0mc8aMT61+IUhCO4Xcucbkw GbuCjyYIxiMEpWlGX75Hbnh0jmtTU7qSyxspqtf2iAFo32n2IBc86Rey1RRJQh5/6FIE A/mXii2YZJsuz8Vkkih0gOAqd8U6hHFCFq6PAUnw3Lv5oD+vLlqLsSeKtBj9UpjttL5Q qDj2QQuU5L3Q8P9T+3ib4EcDYUwfVLfhi3Iq8c+O11+0pH86nzfwmZT8m7Q9GMoHKK7j ko9gTOqG4TQNoUVTb7CA0c6zxpA6MaKAoEbjBg4xv7fduYJUu9l5Pxzl7LbpaBTkmybG QA8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Sm4wAMv4tiE/JtOmfNJBjDxvcbqLw+qhvX2be4ncZg4=; b=F9RpMPrMM3LGmNGk5y/t+kMiB3KIZP0Pd3/6qZIg/Y3ruSho5sslVMOxWdg8gK16vg 0fLagG8eixgw5Miepv28qlPlxxFBjV+mLMo3ttW07hhJ9jw7Fogq2bKOMOjuQbpin7wg Scgv1Mk2BS+7IgqR8iku6cKWD4I/r3TGoADlhBZqVrmNku9Do2GVaYSuR+olT0gpN6wF dH/AKTS9wg8ZSmiu5Q/4mxby8CgPTtM3pajV1Ui9+gEn0/IBaixocz0L9DNc90CkxQSd dG7gNPH0iOGvkVUcWI58IeXIqLqnhIcxGP+ZQz+R8Kw6u0cOB9xHViEEwwJTd7cL04io 8drA== X-Gm-Message-State: AOAM5324S1mG+0y2nxquVfaQBymOssvmPoUDByjP6FJRXlGXf4XncGGy XBi/sCwHuRQ0UTbAVxFFWxg7wPZS1wQOKg== X-Google-Smtp-Source: ABdhPJxa1rc50mw0WgzjlxVLPFZFEPq4yDfvyqxzgyvMtSsAK446ya9uYvsLKvvXNbd+8vcG4o8vSw== X-Received: by 2002:ac8:7c8c:: with SMTP id y12mr3706107qtv.340.1626177737819; Tue, 13 Jul 2021 05:02:17 -0700 (PDT) Received: from hurd (dsl-10-136-19.b2b2c.ca. [72.10.136.19]) by smtp.gmail.com with ESMTPSA id i21sm6688771qti.45.2021.07.13.05.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jul 2021 05:02:17 -0700 (PDT) From: Maxim Cournoyer References: <20181024001542.16368-1-s@ricketyspace.net> Date: Tue, 13 Jul 2021 08:01:58 -0400 In-Reply-To: <20181024001542.16368-1-s@ricketyspace.net> (rsiddharth's message of "Tue, 23 Oct 2018 20:15:42 -0400") Message-ID: <874kcytoax.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626177809; 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:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Sm4wAMv4tiE/JtOmfNJBjDxvcbqLw+qhvX2be4ncZg4=; b=bG8nB3TkpXhQXLG90j0yrfS+hKtqvy6jXfN+HyEWoDPdetOX6MEWD51Ci3PjxDDkJFlrA8 dm7le39qZtUBLJD1IqDHnB+m7yd3QJYuPQ0OP1YrMI8X/g2AVsKdVMA0uxCpcTpa7Dhsfa 7wJ1J2W2y3JrcVE0XZS7aM/wTNNJNBatL6ESXU29Edw85O+4Hf7L7nsj0bYs/8YEgQ1xpd Zm2AniC1n9AXr+s6ILy3th8ynvOrT6vRnv/8CM7HXVx23Mr+fVclDAylbn/IydfD3FTxZM I/ZYAvX7o8qz7irKLE34wZQpN7m7eBHm2IKNG/aRc4+rYoAhenUGl/ZvZ9+ihw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626177809; a=rsa-sha256; cv=none; b=tVRBgjhNDeq8bctk+GXeNAQlc1ikd/T6nu1gEHki1eOs0kY39K6YStRsv9yt+7FyveFAoF 4wBdFTd7HD+sqnjH8MteYMdQ9LP/B56DsSMOMR22qeX9GGYgHEKYxnafYWUZR2d1OBdI89 CyoVlMldviPl6XxT/DkEGdq3+GgBmnzPEkm4kHSp5QsviqRZkeC41brytK/9kaGV0j/fSs wwOL7eyJ1ctNWDMTT985hM2iqtZ6L4X1isCwy0EeRNWtnBOWRF16QOE0hnnrzNXT7n3pf0 z+ffQN1f0Nnn09DPcf+xmsPbwOb6bVvOq41s9WrKvQkUqiZ7+BIM2vG1TSZflw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=M0ssaG+e; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=M0ssaG+e; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C3B7B2DFA9 X-Spam-Score: 0.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: NNCluHVlLC66 Hello, rsiddharth 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