From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YGwJAo4D3WREOgAASxT56A (envelope-from ) for ; Wed, 16 Aug 2023 19:12:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KIYoAY4D3WQwHAAAG6o9tA (envelope-from ) for ; Wed, 16 Aug 2023 19:12:46 +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 952735186F for ; Wed, 16 Aug 2023 19:12:45 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=M25ch845; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692205965; 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-cc: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=B0L2nnZOGIiq71bBoX76VsEuIZKQklxfNGnXbsqwK04=; b=Y9tR/O5odZdAeFHX55dMCAd6tks0MHKvuLJrTCFM2lXojNfbxScN5xGxUPrgu1vKaldhMM gGEJ0PRO0p4VdumLnULD2cw+P6cbZRiuRy0NfytgG+yQEE5BIjgGi12eeWiRs8uacInMvR g62tuyPOXTrTnmf7dSuj+REiJh1Nkma+WE0U4ftgCFCIk7R7R/us7xe2gewq1dHX7zvDcj /RpBnRN7zP9jSY2FDiDgm5rzNksBSgKBKk2Oft7C9IFgkVtw9pf5Jw3QaL66rBgDORdTRj Z1h1HwTeGsjOXvANvy9iI9G1J/Ttju9ZHfPKOOiz7VTA444+uNwRDsPbWtX+Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=M25ch845; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692205965; a=rsa-sha256; cv=none; b=BPP0FrihU7v6A3MqVpfY94F2vJ9RskbrDXqKPcsIbaa8BSScnwSUz5p+QnhSo9S/BYOBcv GnGVEAZ9cw0ud1knY0MI8nX96OxIlGlc4kPT9BNKgwIxCHCcNspe+g+5E082UyF3WMHRuF bC5dobrWSSRREd5S5r/Y1b8E9fHixVqy62e1Ghd+mhG92Rj4av+qti+iO1XhX6cSbWM4eS MAiNU4ccDiAfLYzi0X2y0gt/QrfcOVwZqzrr5eC9ALmVcNWCnuHYbHwWzlLvr02LPgnk1e KRPAbl+LsPLOt/ZFiMR5CJQ3AAa3lGFjicoAXwiaPtfy1l/puq3B8aM6EwUASw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWK4N-0001RO-H1; Wed, 16 Aug 2023 13:12:31 -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 1qWK42-00018q-Ly for guix-patches@gnu.org; Wed, 16 Aug 2023 13:12:14 -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 1qWK41-0006UL-1H for guix-patches@gnu.org; Wed, 16 Aug 2023 13:12:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWK40-0005Sz-TE for guix-patches@gnu.org; Wed, 16 Aug 2023 13:12:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65229] [PATCH 1/2] pull, time-machine: Add '-q' to ignore channel files. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Aug 2023 17:12:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65229 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 65229@debbugs.gnu.org Cc: Josselin Poiret , Tobias Geerinckx-Rice , maurice.bremond@inria.fr, Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Ricardo Wurmus , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 65229-submit@debbugs.gnu.org id=B65229.169220591420762 (code B ref 65229); Wed, 16 Aug 2023 17:12:08 +0000 Received: (at 65229) by debbugs.gnu.org; 16 Aug 2023 17:11:54 +0000 Received: from localhost ([127.0.0.1]:41938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWK3m-0005Oo-2L for submit@debbugs.gnu.org; Wed, 16 Aug 2023 13:11:54 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:38189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWK3b-0005Mn-GS for 65229@debbugs.gnu.org; Wed, 16 Aug 2023 13:11:45 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3159b524c56so1056860f8f.1 for <65229@debbugs.gnu.org>; Wed, 16 Aug 2023 10:11:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692205898; x=1692810698; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=B0L2nnZOGIiq71bBoX76VsEuIZKQklxfNGnXbsqwK04=; b=M25ch8456pMPSnB+E83yuJ81hNGaN0zz1GMAK3M81cdrwcq6AyYeUpixsxx1T6Km88 12HxNuQRTFpMZQZdpeoFdQxHF//2Bz73ve0JGDUqldS4+xcO9D7SlCQRgKLEV9Ux4v1C y+mxqA6sOQFthtPhT6i4yfKTEJQtWQ/k9OVg/lbYfDaETG8RqKA0c/HKZVi052vYU3Or uK1w0FoDrteBOzKC5cQmy1x2QmOVxqA/45JTJsd6R5lo1ip66+sGMB1WN3NvvpX6bb88 dQskydC3yEkAvUMuepw+1dLSnKvH67dkdhSIc3H6SjDUxAgx2RK2VxIdzLXvgX15xapc Sdww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692205898; x=1692810698; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B0L2nnZOGIiq71bBoX76VsEuIZKQklxfNGnXbsqwK04=; b=Ea/E9p0xHL9bBq6ocn+L7dwKPoM+jbOwS5QebFuc0ISGn9+Y9V1/xFO/IyHftl6nPo vs0+qm0xrqazgyZPFas5VbsAq5aEP9zAk5dW8LA2azjZOO8QxqUniZxRWW4vCz0Pv1DH K9BKj7Xs2jIhGb1tfcAkjUjeok6QbaOUa9/YxGdOooMlrQ5yioAB7FkLaH7VDVcKJAWB 3Vpeh0mHYHxUu+Rm1yxr+zDHNflQjcfDPd0HgBLSgbkC6b42O3xb8DCi8s6miOFY6j2m z9W4o0pWAZpph6ui+LZlzxs7G1mQF7TW6cNB8fy1CuiyHDqb1Soa+11gORjG7wHiy+cw nMAQ== X-Gm-Message-State: AOJu0Yw+7+DL7aOSKfFmND0leWFcCkUIHPjw30P5xUMtpuLpxzc9UzdN YbTN+WNLWZncW+ly8bVSWuQ= X-Google-Smtp-Source: AGHT+IE0Ll1xtt5Fxi00yoBZRak4WJmRnniXmbsPkRgOG2vZPt7sRQAtoeFbT6DFlsYLeYtUQvh2Qg== X-Received: by 2002:adf:ea8a:0:b0:317:5f35:8540 with SMTP id s10-20020adfea8a000000b003175f358540mr1975840wrm.3.1692205897910; Wed, 16 Aug 2023 10:11:37 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id k1-20020a05600c0b4100b003fa95f328afsm24821094wmr.29.2023.08.16.10.11.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 10:11:37 -0700 (PDT) From: Simon Tournier In-Reply-To: <87edk3gn2g.fsf@gmail.com> References: <0ee5ee05ea81374342740f06915e9dadb1a92a63.1691767568.git.ludo@gnu.org> <87edk3gn2g.fsf@gmail.com> Date: Wed, 16 Aug 2023 15:43:42 +0200 Message-ID: <874jkzgl0x.fsf@gmail.com> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 2.81 X-Migadu-Queue-Id: 952735186F X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 2.81 X-TUID: 4N3/f8iH1Qva Re, On Wed, 16 Aug 2023 at 14:59, Simon Tournier wrote: > Well, I would keep the previous example because the behaviour appears to > me more prone-error. I mean, by default, there is no channels.scm file > under ~/.config/guix/ or /etc/guix, therefore an explanation of the > behaviour without any option at all appears to me worth. Moreover, > since there is no channels.scm file by default, i.e., the default is > %default-channels, it appears to me weird to explain the specific > behaviour (without any option and reaching new revision) using an option > turning off the channels.scm file. Somehow, I would keep something like [1]: --8<---------------cut here---------------start------------->8--- Similarly as @command{guix pull}, the absence of any options means that either the user's @file{~/.config/guix/channels.scm} file, or either the system-wide @file{/etc/guix/channels.scm} file, or either the built-in default channels specified in the @code{%default-channels} will be honored, in that order. The command @example guix time-machine -- build hello @end example will thus build the package @code{hello} as defined by the previous @dfn{channels} file (@pxref{Channels}). In general, it builds a newer revision of Guix than you have installed. Time travel works in both directions! --8<---------------cut here---------------end--------------->8--- 1: https://yhetil.org/guix/87r0qyrlm0.fsf@gmail.com Cheers, simon