From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yJXOD2VdU2TwWQEASxT56A (envelope-from ) for ; Thu, 04 May 2023 09:23:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GDbAD2VdU2QG/AAAauVa8A (envelope-from ) for ; Thu, 04 May 2023 09:23:17 +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 0789030D16 for ; Thu, 4 May 2023 09:23:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puTIt-0000cc-Im; Thu, 04 May 2023 03:23:03 -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 1puTIs-0000ZJ-L3 for bug-guix@gnu.org; Thu, 04 May 2023 03:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puTIs-0002cF-CU for bug-guix@gnu.org; Thu, 04 May 2023 03:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puTIr-0007Lg-RP for bug-guix@gnu.org; Thu, 04 May 2023 03:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62656: broken guix time-machine + software-heritage Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 May 2023 07:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62656 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier Cc: Nicolas Graves , 62656@debbugs.gnu.org Received: via spool by 62656-submit@debbugs.gnu.org id=B62656.168318495328192 (code B ref 62656); Thu, 04 May 2023 07:23:01 +0000 Received: (at 62656) by debbugs.gnu.org; 4 May 2023 07:22:33 +0000 Received: from localhost ([127.0.0.1]:48320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puTIO-0007Kd-RB for submit@debbugs.gnu.org; Thu, 04 May 2023 03:22:33 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:48667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puTIM-0007KO-CQ for 62656@debbugs.gnu.org; Thu, 04 May 2023 03:22:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=rCGtpmofLKBKc2DafKJw8zuCI8KxPG0dkWQPxx7yC8w=; b=aQaZr3Fd1dnKn6w0eGCdBTBIeICP2Dt4HoBcpPpE5colxI5wsZkRyaj3 s6B5XxrrEUK43EwGFiDzwwf+u9DRTwomNoFBnfauiGWBmHqGotexghNqV 2K5ZjSGd/Aes75D8iDfB3cX8dKJcgLORadNDbNaEF3cbPr7tRAi/5WoUd 4=; X-IronPort-AV: E=Sophos;i="5.99,249,1677538800"; d="scan'208";a="106179655" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2023 09:22:23 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878rf8hch7.fsf@ngraves.fr> <87pm7rx98e.fsf@gnu.org> <87edo49if5.fsf@gmail.com> <87pm7j9o29.fsf@inria.fr> <86edny1uky.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 15 =?UTF-8?Q?Flor=C3=A9al?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Ver =?UTF-8?Q?=C3=A0?= soie X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 04 May 2023 09:22:23 +0200 In-Reply-To: <86edny1uky.fsf@gmail.com> (Simon Tournier's message of "Tue, 02 May 2023 20:01:17 +0200") Message-ID: <87bkj0v9w0.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683184997; a=rsa-sha256; cv=none; b=Ff05dyWp24EIcFtoBNnHasDRn5LP0NrTs84noi4agtW+xybEJY1k58srAtcknnC9sOiKs1 B+s4jb+2rp9IgvEUWn26zSTRav0g9TaYxpg7WY9E4jff7wwoL5wsWKl2jhVg0iKbsteT67 hsnfuLtaE14bYEMpl/YJd+a1zdCM7exdeaMxTiRiZ83umH6ecPKqk0WG/Oi6510wAqJV7W cBZHhfDCBHdgD6P0zhdKRPndFIMsdI9E+Jz/AJhxK3zor8VXSU2XqDow3vc9l1q3saKj6B UbaoCF8e6pbE1XJqC+co2bBQj5rYfUz9Qnt0Nhl5JhzkiDuFfBeSQhfT2c0MeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=aQaZr3Fd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683184997; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rCGtpmofLKBKc2DafKJw8zuCI8KxPG0dkWQPxx7yC8w=; b=RniNhXImYvln945et2MZ5BCxx6KxlbhyPgKk0Nru4cZ7G4RLn6o/S323D+/s4t6B/9YIqa GuKxHfLrFKw3B9oR+m3tmFvwyfkHy0LefQQmcZrbe1YQ1vd6zEaxHxJHyGAVoEjPTOAe38 nPwLciBEwkok2ysWsndVNuEqVEqRQ7SYcFFXgSMRG5KRbzvF2pKUGyF1dr8VyzOJOJAUWp lU0JS3AJWCf62FEJV2SVnARiYrZSl2xzJnHo7fEJbSn1i/AU1Ti1Qn70sUiPFt3arzZ48e leWHVQj2IWdq8hunFndY+EgYMPSUgz9i+zl/P2ypWnpn50nYfqbYw2oZc7t5tA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=aQaZr3Fd; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.09 X-Spam-Score: 7.09 X-Migadu-Queue-Id: 0789030D16 X-TUID: kN9G/sKuTz2A Hi, Simon Tournier skribis: > On Tue, 02 May 2023 at 09:42, Ludovic Court=C3=A8s wrote: > >>> Somehow, we could tweak =E2=80=99clone-from-swh=E2=80=99 from (guix git= ) to use 'flat >>> instead of 'git-bare. However, I am unsure the other tweaks it would >>> require since a Git repository is somehow expected. >> >> Yeah, =E2=80=98clone-from-swh=E2=80=99 is really cloning, so it needs = =E2=80=98git-bare=E2=80=99. >> Generally, in the case of channels, we need a full clone, not just a >> revision. Various bits of the machinery expect the clone: (guix >> describe), (guix channels), and so on. > > Even if the bug on SWH would be fixed, at the rate the Guix repo is > growing, it would be impractical to cook the whole Guix repo. Falling back to SWH to fetch channels is something we expect to be rare, though. > And it appears to me weird when we, most of the time, need a very > restricted set of commits. > > We could imagine to locally create a new repo (git init) and only add > the content of the commit specified by =E2=80=9Cguix time-machine=E2=80= =9D. To do that we=E2=80=99d need to say goodbye to the features I mentioned abo= ve. > PS: Just some numbers backing the rate of growing: > > $ git log --oneline | wc -l > 114457 > > $ git log --oneline --before=3D2019-05-01 | wc -l > 43845 > > $ git log --oneline --after=3D2019-05-01 | wc -l > 70612 > > > 1. We are cooking 43845 commits of the history that are useless because > unreachable with the time-machine. They pre-date the introduction > of the inferiors =E2=80=93 yes, we could refine and consider v0.15 in= stead > of v1.0.0. :-) > > 2. The first commit is from 2012. Over the first 7 years, 38% of the > history had been produced. In less than 4 years, we have produced > 62% of the history! Yeah, that=E2=80=99s cool! > > Basically, from now to less than 5 years, we will generate the same > number of commits as over the past 10 years. Heh, insightful figures! Ludo=E2=80=99.