From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MIRTEWhQUWR4XwAASxT56A (envelope-from ) for ; Tue, 02 May 2023 20:03:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iEc4EWhQUWRP8AAAauVa8A (envelope-from ) for ; Tue, 02 May 2023 20:03:20 +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 DF80E2FFE2 for ; Tue, 2 May 2023 20:03:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptuLA-0008Rp-Sc; Tue, 02 May 2023 14:03:04 -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 1ptuL8-0008RS-Jg for bug-guix@gnu.org; Tue, 02 May 2023 14:03: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 1ptuL8-00062X-AZ for bug-guix@gnu.org; Tue, 02 May 2023 14:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ptuL8-0004C0-6C for bug-guix@gnu.org; Tue, 02 May 2023 14:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62656: broken guix time-machine + software-heritage Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 May 2023 18:03:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Nicolas Graves , 62656@debbugs.gnu.org Received: via spool by 62656-submit@debbugs.gnu.org id=B62656.168305054816056 (code B ref 62656); Tue, 02 May 2023 18:03:02 +0000 Received: (at 62656) by debbugs.gnu.org; 2 May 2023 18:02:28 +0000 Received: from localhost ([127.0.0.1]:45000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptuKa-0004At-Ft for submit@debbugs.gnu.org; Tue, 02 May 2023 14:02:28 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:38279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptuKY-0004Ae-9y for 62656@debbugs.gnu.org; Tue, 02 May 2023 14:02:27 -0400 Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-306287a7b76so620057f8f.1 for <62656@debbugs.gnu.org>; Tue, 02 May 2023 11:02:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683050540; x=1685642540; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lJyTZrWa6i1PKsPMi4AM4H2dTfSsCrE+MqIiJFrz8Cs=; b=fCYi1bg+DXxMyTs84eZjKr6W7uVDH1VfdtgNT/2PN7djuORvMDLnk+fjUhnkgjem2K FfVCufeYXVEIKo/KWRqkZJRzMKPRXdJ6GK7puxIdx5liQhUlVEfMcyip2InKiBFaOJ6O qGoKdHGn7pq2Ls4XpRCbAqHWdvhq/lpm9EPfCPB5HHmCjrXtPgSL/ndjuCSiKw0Xfhcm mnBO+3QFcGsKg0H0V5tyeZL/6aYj9C9WbTw8NC57hfyTGJtWciApYH9LDyJAEWX19Uq6 tZKp8HTCPs6ma1PPh9THTI844rEfZXrCcPYPi9hRMIOPKoaWKo/M0NH2Quvkw+oFWF4E ibFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683050540; x=1685642540; h=content-transfer-encoding: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=lJyTZrWa6i1PKsPMi4AM4H2dTfSsCrE+MqIiJFrz8Cs=; b=bADtWGhK115P6iOYaYkGzdDDWjDcbZZl8tXeV6C4WV9UQ4SVLitGKgyv8XbfCRUgsr dSBNPnZm7Gq0OZ8t5a7Wclu22u6DYtbzz4otBk91gsXi1SgRHVHV8o6KCCqmuLd6zPuq lriJof0mdeKJbZ74eDGESOoGPfVTQoeckeV+mdZeggZ7xy4oSrzSA6uUjVR3pMV8OK6L 3zmS1OB9F4i5TNN8h3LIpq2Rd5r4if4x7l/Cf2g/xEId+TqygDhBt5YesW81tF+5EIwq jhDEDblBrYJkctSjOeFi4ml9/yuZNYJvAFkvrN6iy8Nd1Z4L/uU5EH35hJfC5CCCMp0+ f6VQ== X-Gm-Message-State: AC+VfDw5IdRrQJzGbVktao0wP9qZMObs7V21x8f8Fg1dsXN7aIuhqwAF YJMGKNdnoBMVQR4lXU5LCWk= X-Google-Smtp-Source: ACHHUZ4a/R6BQDuWZ96gUrdNSLCcNco6n2jqwLz4SCVa9OBspP0ipJO6VEp6jRZ9hE3e8CUc+YBx2g== X-Received: by 2002:a5d:6309:0:b0:306:343c:c409 with SMTP id i9-20020a5d6309000000b00306343cc409mr2096883wru.0.1683050540294; Tue, 02 May 2023 11:02:20 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z18-20020adfe552000000b002f3e1122c1asm31664748wrm.15.2023.05.02.11.02.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 11:02:19 -0700 (PDT) From: Simon Tournier In-Reply-To: <87pm7j9o29.fsf@inria.fr> References: <878rf8hch7.fsf@ngraves.fr> <87pm7rx98e.fsf@gnu.org> <87edo49if5.fsf@gmail.com> <87pm7j9o29.fsf@inria.fr> Date: Tue, 02 May 2023 20:01:17 +0200 Message-ID: <86edny1uky.fsf@gmail.com> 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=1683050600; a=rsa-sha256; cv=none; b=X4D+v+DE5rpC+/RLVayn+9LShtmqe6XwRmtr2IGcTl2qkN0/8J2V4c9qEiTJ+bPDttBk2R XMZemFzo5JdN7E/2w6uFAzZPDC0rhmE6opUUBfJJICl30wciMgh1UO1TsHdp1POHtKsUpW JpTrnom8tXZc8PqbOJmJNviYcltV8+fFH5Cxeiv5f9DAktVZXzTZia8BOylYDUz/l1syH3 ak66VW5OxMiTL2z4PgmoW1ivcbLgtMokfkYAfJv9lQOvSkh9yPsE5rRehzQGcX9xw7XXWc /osCblu72pur+TwYFb+VP4E552B9U7KHKnY/gCnsgceBBpuOsYSinx8Iy3PQBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=fCYi1bg+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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=1683050600; 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=lJyTZrWa6i1PKsPMi4AM4H2dTfSsCrE+MqIiJFrz8Cs=; b=rZ5ROFM/Emz71RW0lE0O2zu6i/JxpT2iA6H2mhWljlJij4NGKKN++GSS54jno7u5lDka6V 3w84QDxUtocRPeNCiFiMIilYRvxNfWEXZhaQOHPnZ6nYMf+3hECDNr7eC941knMHguHsvJ gsfcg5093sbVg31ib6GFB9MymQQIzLMOdK3yQsvoPY+E847DV+anucPjZcIAFPfDPfp5Rd zsh4NjRlP0aQOHvofVA5jiMM5peGgK0h/FQ7p6gh3QotJ7+wMA7oQN/tJIdPwoRaQZ8pet QXLZ8CyuaWNbcLsRLJ8Fc3B1Ul9MxqBgn1Uuh8DHAwZwoiuLGxyq1tsVW08IRA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=fCYi1bg+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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.30 X-Spam-Score: 7.30 X-Migadu-Queue-Id: DF80E2FFE2 X-TUID: DsKphLAlW/Jb Hi, 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. 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. Cheers, simon 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 inst= ead 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. =20=20=20=20