From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wNEcBl6V2F8pPQAA0tVLHw (envelope-from ) for ; Tue, 15 Dec 2020 10:52:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4B3iAV6V2F9pHAAAbx9fmQ (envelope-from ) for ; Tue, 15 Dec 2020 10:52:14 +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 18F0A9403D6 for ; Tue, 15 Dec 2020 10:52:12 +0000 (UTC) Received: from localhost ([::1]:41494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp7wA-0003uZ-D5 for larch@yhetil.org; Tue, 15 Dec 2020 05:52:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp7w2-0003uR-JV for help-guix@gnu.org; Tue, 15 Dec 2020 05:52:02 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:39535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kp7w0-0007A1-9Y for help-guix@gnu.org; Tue, 15 Dec 2020 05:52:02 -0500 Received: by mail-wr1-x429.google.com with SMTP id c5so15732161wrp.6 for ; Tue, 15 Dec 2020 02:51:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:date:message-id:mime-version; bh=HfYP2AkJuxQt8kvDu4O2bdT2TH4eYEx53X7bTES2p6A=; b=kg0Z/uh5hbji4QT7R9HQ+Z5iPw0j4uqT1f5MsB6YbdeZCw/hcpeZ3pO/Z7/ZV+jMef /gEB9GwNsKcKECinXz8waZKvTXr1xKrDVYq0LYHthLKWM+FpHFnIIQDb7oVgVYB+7eN+ XAfcw7pplGxQ1YTzImfmFvBHRymCA0/jFLYUm3mUB/Z5w2lCQULZzbQGLCy01m8+LkBD v4xsvdHUAsB7OUIArhHhf0BHo33iywAH0QWmO+Dk0CeLpBDheztqj+S47unIGqhAJuwh djCfEB+og0iGQEZqfDJZoRZyeZD2vjouwcwyXwrZl78gYBVk4JmW2j4lW2deE/llI34y WWDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=HfYP2AkJuxQt8kvDu4O2bdT2TH4eYEx53X7bTES2p6A=; b=gY95rv2f8e12kFt4KvBdLgTsTQrkGw5s/JohSuNpVGYftvvnStTRYSYlMPzhWL9nAj hZ4PF7aMINJqrnMql8RfloDY+b5b1YcumWD6+LrTrDHkJsmv0S/09GxHnQfiDovxb58R 9XksokHfhUqblIcOvKdbl8SSZM0wA9AGgx2+BXYYQfHBs1jxIEeas/ND4wM8X7X6OxeU NgUUyAbS8EMHTcihy1mLobkriG7ylz6/BbBWBT3+h7NG+tAp2Xvve9Njc330fGb8F4GK V1lGkbnDTUlpKAdtbXAqt9YRBCHmitDHyFFszyPxToNyOMdkVnl7ejTuiCHqG4v5eXa1 /x/w== X-Gm-Message-State: AOAM530cr9ldBP4wE7jAk1rBU837aCRgwrf5Sv51bdNugAU2iwr6WI/0 A7LYPjpXwxG6sw3K+2fTj5IrzuXaKtUF62E8 X-Google-Smtp-Source: ABdhPJy1dIDXy5OqX36S0zRDOfsPdRggHkd9XEVFYgxxD5rlp56JCIL/rCK38KVImCGFeIBtGVxHFg== X-Received: by 2002:a5d:4987:: with SMTP id r7mr8961997wrq.352.1608029517720; Tue, 15 Dec 2020 02:51:57 -0800 (PST) Received: from phil-XPS-13-9360 (host-78-147-225-8.as13285.net. [78.147.225.8]) by smtp.gmail.com with ESMTPSA id r16sm39298138wrx.36.2020.12.15.02.51.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Dec 2020 02:51:56 -0800 (PST) User-agent: mu4e 1.2.0; emacs 26.3 From: Phil To: help-guix@gnu.org Subject: Disable progress in stdout Date: Tue, 15 Dec 2020 10:51:55 +0000 Message-ID: <85eejrxrxw.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=2a00:1450:4864:20::429; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x429.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=kg0Z/uh5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 18F0A9403D6 X-Spam-Score: -2.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7meZa8uKnlQ8 Hi all, When running guix from a script the stdout contains various things that should be disabled unless running interactively - you end up with a log of stdout containing visual noise. The -v0 switch doesn't seem to completely quell interactive feedback, and my aim is not for silence, just for appropriate feedback when not running manually from the console (i.e. automated via script). Some other command-line tools have a --progress flag or similar to disable this - is there an equivalent in Guix? Examples of unhelpful logging when redirecting to file: [K100% [#########################################################################] [K100% [#########################################################################] [K100% [#########################################################################] substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 0.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 12.5% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 25.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 37.5% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 50.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 62.5% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 75.0% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 87.5% substitute: [Kupdating substitutes from 'https://ci.guix.gnu.org'... 100.0% Thanks, Phil.