From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QKnbKwNb1mRv9QAASxT56A (envelope-from ) for ; Fri, 11 Aug 2023 18:00:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eEDkKwNb1mRUTgAAauVa8A (envelope-from ) for ; Fri, 11 Aug 2023 18:00:03 +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 28B924B91A for ; Fri, 11 Aug 2023 18:00:03 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=r2hogurZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691769603; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DoZpFf3FRG+nvgohbeiINeUUgBGW69NUymC9BDutTi8=; b=aO44Z9k+uuF+yar3ZPne+5a3iBV46awXZSUf/WZvBoG3d+kId2/AUkIKLzUs0c2QVvU6Hv BDBXYOfPpwX3Xxd/zdZWI+V5QblwKlzWGOIAwcwOi7EHguMwTigEoxSQvvgKATgOsQA6bV vKoY1YNDZMjf0j5Zl9vdYjkGfp+Ww/lNsYZCmoC2iEU02Kbto0Q6vFU97aNZYa+LqI+vww W2SXEqU8z2Iq5To9+8yK7yaf/pOmkVEedZnIs0Jix9J+4RnAV5ybIo7sVYaq3wPRu39tt2 GwcTZbKy+VvAiZ2TzlDznbHw06DpNWogYC+/XnP4lxBA0/VJ/IoDK9JsESTw7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=r2hogurZ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691769603; a=rsa-sha256; cv=none; b=uJ6KIvj1begoEA9QsA1r7flpUuk6i/4LG73mHGA6zkASf+sGGEPAKWO8ULJiptOqcaXbmr iShmYX6iILrXFX0H2NtgsvtInoMRhCAQRGJKcDB53ryA2HeiWUwXTIrtDEn5y/51rLUEZU c5SnkyLapbC/cjvcQv133hNZa6tqBsLrNsIFDcp9F/2g0x8lBCLq76LGcKKxYuwVHFLL4Z rx9dkXrrvfTTsGgqs3Ej43VbniItzYnAykENkPG1s6yiHSZ3Lr12aM7VagMZGnkMXQFKhY KXxA5qDhCOx1vFym3Hf0JXNfICubLrT/cyGNf1aO1azzVwcxEjwmvEnpXrT1Zg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUU7U-0005tq-Cw; Fri, 11 Aug 2023 11:32:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUU7S-0005tI-Rz for guix-patches@gnu.org; Fri, 11 Aug 2023 11:32:06 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUU7S-00029g-J3; Fri, 11 Aug 2023 11:32:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUU7O-0002lt-OY; Fri, 11 Aug 2023 11:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65229] [PATCH 0/2] Add '-q' for 'pull' and 'time-machine'; support loading from pipes Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: mail@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Fri, 11 Aug 2023 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65229@debbugs.gnu.org Cc: maurice.bremond@inria.fr, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.169176790210624 (code B ref -1); Fri, 11 Aug 2023 15:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Aug 2023 15:31:42 +0000 Received: from localhost ([127.0.0.1]:47788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUU73-0002lI-OD for submit@debbugs.gnu.org; Fri, 11 Aug 2023 11:31:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUU71-0002l2-8c for submit@debbugs.gnu.org; Fri, 11 Aug 2023 11:31:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUU6t-0005bQ-Pf for guix-patches@gnu.org; Fri, 11 Aug 2023 11:31:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUU6s-0001xd-Bj; Fri, 11 Aug 2023 11:31:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=DoZpFf3FRG+nvgohbeiINeUUgBGW69NUymC9BDutTi8=; b=r2hogurZCx4mAN Ihg2rZcrQPhacZKiJtc8KNo6nu+evF2WULbwpvafD6mHdIjQNlKb+s/DkipCSkVsoI6WsGogWQtxF GGeR7wDvpBbD/sctECr1K9LLG6WV6Hk8lph1RPxCESlSUNSyAP5XWIlouAD+t4vuyB78iIz7NAG7Q sbmiv7Hh6f6ioy9Bk4CT4Ebe9vb0ykARwY2f4YoWcn9e122lqSS7ZtpJ/YTVwKVU8ijWcAQSfAxoH 31nyXgcjkhcvpsrm3f5zhELMSUA7W1ZQmcbzjr+OTuVmemMayzgtTVahOscmXByyYSOwsehZAFaeT fr2x/kn52Dgc1XtP5NsQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 11 Aug 2023 17:31:06 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 28B924B91A X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -4.38 X-Migadu-Spam-Score: -4.38 X-TUID: zybXsBgtU122 Hello! These patches address two related issues: • The first one adds ‘-q’ to ‘pull’ and ‘time-machine’ to instruct them to ignore the user/system ‘channels.scm’ file. That way, a command like the following is guaranteed to have the same semantics regardless of available config files: guix time-machine -q --commit=v1.2.0 -- build hello This issue had been raised in . • The second one lets users do things (in Bash) like: guix time-machine -C <(echo %default-channels) -- … Feedback welcome! Ludo’. Ludovic Courtès (2): pull, time-machine: Add '-q' to ignore channel files. ui: 'load*' accepts /dev/fd/N files pointing to a pipe. doc/guix.texi | 30 ++++++++++++++++++++++-------- guix/scripts/pull.scm | 14 ++++++++++++-- guix/scripts/time-machine.scm | 7 ++++++- guix/ui.scm | 16 +++++++++++++++- tests/guix-build.sh | 9 ++++++++- 5 files changed, 63 insertions(+), 13 deletions(-) base-commit: 56fddefc6de3b0c1f2ccb9559d86ba08d2e429b9 -- 2.41.0