From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0EaFMZ7A8V4SWQAA0tVLHw (envelope-from ) for ; Tue, 23 Jun 2020 08:43:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gIxcLZ7A8V7yZQAA1q6Kng (envelope-from ) for ; Tue, 23 Jun 2020 08:43:10 +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 7325D9400C1 for ; Tue, 23 Jun 2020 08:43:10 +0000 (UTC) Received: from localhost ([::1]:47116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jneWL-0003Ls-FO for larch@yhetil.org; Tue, 23 Jun 2020 04:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jneWE-0003Ld-0h for bug-guix@gnu.org; Tue, 23 Jun 2020 04:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jneWD-0003hg-Mz for bug-guix@gnu.org; Tue, 23 Jun 2020 04:43:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jneWD-0002ao-IK; Tue, 23 Jun 2020 04:43:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41908: guix time-machine fails; XXXX is not related to introductory commit of channel 'guix' Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 23 Jun 2020 08:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41908 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 41908-done@debbugs.gnu.org id=D41908.15929017579931 (code D ref 41908); Tue, 23 Jun 2020 08:43:01 +0000 Received: (at 41908-done) by debbugs.gnu.org; 23 Jun 2020 08:42:37 +0000 Received: from localhost ([127.0.0.1]:35410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jneVo-0002a6-W3 for submit@debbugs.gnu.org; Tue, 23 Jun 2020 04:42:37 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:52127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jneVl-0002Zs-U2 for 41908-done@debbugs.gnu.org; Tue, 23 Jun 2020 04:42:35 -0400 Received: by mail-wm1-f65.google.com with SMTP id 22so1313320wmg.1 for <41908-done@debbugs.gnu.org>; Tue, 23 Jun 2020 01:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=q91j/LSPt6N0kdNgwV0dGyTi+IQ0dVd3LcG9gzJ17Ig=; b=KjXdjfPajByR3RbK4O0axRc+B6tDewIVH3am5jjw/2v91pe7Jr/CdY1iznFm93k4rY gU1cuRqOaAKNQZQT/q+Bs17plk+O5LRY+Xia4QWZw4Q8OT+jb7QbDnOnzlqbCLU8JRxO Slz4kF9fGxFNzHsl3JRGSoJMozYLDtfXXG2GqCBhS62kaqyCHcnzCpcxEWFGegtV8gp2 auH9m0xg8m2+CsgNsXKLhGQwT6cXR22dAlHae78pYVohU1jou29U2fRcaoFGIjcfZcWr eFHDnw4rgTZ9kdT4SL8npFu/oQXC5cQ/B/vLVwJ81I3hXY8Y0KxUgAeLEOYHBVhNPRWj WHtg== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=q91j/LSPt6N0kdNgwV0dGyTi+IQ0dVd3LcG9gzJ17Ig=; b=joQz9NK/d3ZQCzPyYrwwckLLn2PQJDqbP0urNKUAfmv4EO41Rsy4LIFD/JIpN98bbt BKxBgKQOIDloS7RdHI8LwRjYk/PJUpW0d6s165E2UDSohobdR+BKEXBNlUSmNYWX+bA8 kOg0d+1faZOwqo/ttzISIEa3yWjmtdmor8bSQhS1Y2C79jVmqdCI3Dynt7jMVncGtPgN KQ0fzt88s4qrAo3E2I5upLTvMwoLEOYCdjzYHVKcLhbhJz55xGeZYjN6MKrhUK66knGk 03tEeB+iCHm2sMJEQN58bvnYRHjRXf+xXyBMy0xb1urslh6BfpzVTrB4StWQLZ+qgobA Tx8w== X-Gm-Message-State: AOAM532cYqoUeu2VOYfuB7H4JgIveJ7eZ1UwxIx+bH1VRAvaxC7urh0L o5tGiPzBiTmaNLpZ/uQZncMItkCAlRM= X-Google-Smtp-Source: ABdhPJzQgyoD41o36uHr89oL3/EXSyRbynopMSpCee2ySEPSbiHhh2bzvFDCXLaW4Zr3UkyS0GgCNQ== X-Received: by 2002:a1c:2cd7:: with SMTP id s206mr21976086wms.109.1592901747412; Tue, 23 Jun 2020 01:42:27 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id r7sm2592840wmh.46.2020.06.23.01.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2020 01:42:26 -0700 (PDT) From: zimoun In-Reply-To: <87d05q5j4w.fsf@gnu.org> References: <87blli11pi.fsf@gnu.org> <87366qeovy.fsf@gnu.org> <875zbka0h6.fsf@gnu.org> <86imfjsco3.fsf@gmail.com> <87d05q5j4w.fsf@gnu.org> Date: Tue, 23 Jun 2020 10:42:25 +0200 Message-ID: <86d05qrx5a.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41908-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=KjXdjfPa; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: t06pdAeRstuH Hi Ludo, On Tue, 23 Jun 2020 at 09:35, Ludovic Court=C3=A8s wrote: > Hi Simon, > > zimoun skribis: > >> $ /tmp/c/bin/guix time-machine --commit=3D36640207c9 -- help >> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu= .org/git/guix.git'... >> Usage: guix COMMAND ARGS... >> >> $ cat ~/.cache/guix/authentication/channels/guix >> ;; List of previously-authenticated commits. >> >> ("41a2d6a8b9294a6eb8e97aaefd569e755f5f461e" >> "e70e097882699865f63eabc5fb29b4fe4468a97b") >> >> >> However, the commit 36640207c9 is not considered as authenticated, >> right? So, the older authenticated commit is the first commit used by >> time-machine, right? > > Note that it=E2=80=99s the closure of the commits listed in the cache tha= t=E2=80=99s > considered authenticated. So not every commit is listed. > > Does that make sense? Just to be sure to understand: 1- * 41a2d6a8b9 (newer) 2- * e70e097882 (between) 3- * 36640207c9 (older) 4- * xxxxxxxxxx (first authenticated commit) >From a fresh cache, a) if #2 is authenticated, because it is descendant of #4, it is stored and all the commits between (closure), i.e., #3 should be considered as authenticated. b) then if #1 is authenticated, because it is a descendant of the last authenticated i.e. #2, it is stored in the cache. c) now let try #3. It is considered authenticated because in the closure of #4 and #2. Yes it makes sense. All is good. :-) (And the assumption is: if Guix does not raise then it means that the commit is authenticated.) Cheers, simon