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 YIa3B+NeJ2V/VQEAG6o9tA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 04:50:11 +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 YIa3B+NeJ2V/VQEAG6o9tA (envelope-from ) for ; Thu, 12 Oct 2023 04:50:11 +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 B24C252AEE for ; Thu, 12 Oct 2023 04:50:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VyAJMAio; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697079010; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=qDFlAJJjouGwwLSL9KA3dYgCcwwL8Jh0WuZy8NWlQBE=; b=p8F/cIO1bA9hiC7CpQ5UpbGy3zOF1/TB/2n2I+wuLYeXptvj0szqxuPUEmDUUciwTpruaC OUU7ajyUdtoy+hd9h2O3DYqewxr7DF4TDzU8dM4oHYtQq3BUGFzXEd7l5r4VA4BaY1pAw3 KP2yUviDQa+Dnxblv3VkDxkjUHowOulWc90GTyt9+B5znoOfsRsGGj2ZFfoHigiT0rbuWb YBRxidCQg3sr/Fggbyd3L58hf/ZSL+q6Q4wheGucOkHf94t/ZZrK3MyKI8ZnDvkWZ6JUjv LdtO9GjYa8FzQCCQYcHU2WbWUDCjiLFSwmsxJkMyR/eU2qy2YVEea/oOaC65gQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697079010; a=rsa-sha256; cv=none; b=jjzTHIaDSGiHMeO+DENAcUrYHqLFCQr/QMtxhD0DlsLovPDq43OYn2hB4d3gPym1LG51kF Fz4fOY5bCGYNhQ6+wKKVkTYIWD35MyPwsXrtxaYfwk/iYlTzT3v+6QaSut3Xi+Qu9wh+ca uDuwRm0djoZzeoaK5Oi/LWYMgRC5MYm1pZMPLsSIislYa4Nee7EYC9bo/O1zI++j7hX5kA BV9dRIeitLQY66TBAdyJT8QwZo4cXXM1LLD+3O+4zs6MoDO5o8ejK5AsIDsmmz82XQmK2X 9+oFKLhmKhkKkUejNKCxZ5cOJJlJ+IvL8PlsRumt+Pq488axPGlFiABq/LXczA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=VyAJMAio; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqllg-0007kg-K4; Wed, 11 Oct 2023 22:49:44 -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 1qqlle-0007k0-O5 for guix-patches@gnu.org; Wed, 11 Oct 2023 22:49:42 -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 1qqlle-0001ur-Fd; Wed, 11 Oct 2023 22:49:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqllx-0003eT-Rl; Wed, 11 Oct 2023 22:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66436] [PATCH 0/2] Add support for Git Large File Storage (LFS). References: <19f82d9bbef649c750ad067d23ebbaee6f9ae494.1696942467.git.maxim.cournoyer@gmail.com> In-Reply-To: <19f82d9bbef649c750ad067d23ebbaee6f9ae494.1696942467.git.maxim.cournoyer@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, ludo@gnu.org, guix@cbaines.net, dev@jpoiret.xyz, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Thu, 12 Oct 2023 02:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66436 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66436@debbugs.gnu.org Cc: Maxim Cournoyer , Maxim Cournoyer , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-Xcc: Maxim Cournoyer , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines , Josselin Poiret , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by 66436-submit@debbugs.gnu.org id=B66436.169707897813973 (code B ref 66436); Thu, 12 Oct 2023 02:50:01 +0000 Received: (at 66436) by debbugs.gnu.org; 12 Oct 2023 02:49:38 +0000 Received: from localhost ([127.0.0.1]:40293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqllW-0003d7-1W for submit@debbugs.gnu.org; Wed, 11 Oct 2023 22:49:38 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:58678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqllQ-0003ci-EN for 66436@debbugs.gnu.org; Wed, 11 Oct 2023 22:49:32 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-77412b91c41so31616085a.1 for <66436@debbugs.gnu.org>; Wed, 11 Oct 2023 19:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697078940; x=1697683740; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qDFlAJJjouGwwLSL9KA3dYgCcwwL8Jh0WuZy8NWlQBE=; b=VyAJMAioSHVdBDJtQWnxdbhDTHorIOaz+raSpxXL6DYKa4Ikv9gnCyLwOEPCnjAD5E SkskZyagQ6SeVyjFEk/+8H5ZFfhl3Hdx4mGUh5ZT3a4l2aZ7PTU8PMJzxOP8ghOH+7wI gLwJOAbXAKvi0XIuQ1dzeoB1hdMwWYoD+LFCtly4lGwILNFUUEi1m/Lkqr9wjWk9rMX5 Er2YxgqUrPF6yAyPP/hZTTh89CwVG6mZvJJUA3XMABQwxBGHhJUPAmrh0HSaqFDBibbM MkBS7Ti6gR6NtEVJBJrDDgkH7P4p7rb9UoX4Ciqacc7vlSFSqDM/sm9YQj5S7wuGQAMK V65A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697078940; x=1697683740; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qDFlAJJjouGwwLSL9KA3dYgCcwwL8Jh0WuZy8NWlQBE=; b=aMwJN4ppby0Waf7Dba62+PSP6LqlKy1Bza5NCNXdGRG+FzULu3y6Y/Ruq0GGc5E0vM PbzKrpYgKmbwiI0ODphXPAZ/M93/JAP0Ph/W3qjY1qpxduv4dd3kiBzlNDLLvchIIoVa EFrJX14esg7k0uMk33IDqfdr+okP1gJIHsIe5hnzfI/aZwP2ua5xImuDTq+Sx7Se1M4Z EsQiOMr+zXP+jNsrDRUdgehjwzG4hGsZBvaCiMpRTEQWSpb8jyua+FT1D+2VdoOIE3Hw MhCve42NmYZWl9LBLxGr0Thbe1GD6QXYgXxRto4owxm8+eXcsG+CewuH1dnrWaQGsrFY OD+Q== X-Gm-Message-State: AOJu0YzH50RCooFZr7MzrM+azdqco4XLVAF9hQitOLWgkwQl4hZm2DAI EWOQpl+iNDAQUiV1ZaEcbOjq6Dxvt8E= X-Google-Smtp-Source: AGHT+IHxana2FPKcEwfqrwRSPHX6SeHYjKf4MFVAvAPB5E07DPWAHZF1MSnbyji0DGCy3JsXWtnutw== X-Received: by 2002:a05:620a:813:b0:775:74e3:6d50 with SMTP id s19-20020a05620a081300b0077574e36d50mr21043212qks.77.1697078940162; Wed, 11 Oct 2023 19:49:00 -0700 (PDT) Received: from localhost.localdomain (dsl-10-128-66.b2b2c.ca. [72.10.128.66]) by smtp.gmail.com with ESMTPSA id f10-20020a05620a15aa00b007659935ce64sm5671657qkk.71.2023.10.11.19.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 19:48:59 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 11 Oct 2023 22:48:40 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 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-Spam-Score: 4.80 X-Migadu-Queue-Id: B24C252AEE X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 4.80 X-TUID: fVg96d+SgUjB While updating orcus to its latest version (0.19.0), I stumbled on a test a failure, which ended up being caused by the lack of test files in the repository checkout. These files are stored using the LFS extension in the repo; when not using LFS, empty text stubs with some metadata are left in their place. I've opted to keep the dependency on git-lfs optional for now for the daemon. The git in-band downloader will only add the git-lfs dependency when the git-reference object has its lfs? field set to true. Maxim Cournoyer (2): gnu: git-lfs: Patch /bin/sh references. git-download: Add support for Git Large File Storage (LFS). configure.ac | 10 ++++++ doc/guix.texi | 9 +++++ gnu/packages/version-control.scm | 5 +++ guix/build/git.scm | 18 +++++++--- guix/config.scm.in | 4 +++ guix/git-download.scm | 58 ++++++++++++++++++++----------- guix/scripts/perform-download.scm | 3 ++ guix/self.scm | 10 +++++- 8 files changed, 92 insertions(+), 25 deletions(-) base-commit: d6d706a58b8159748d3a46fa97cae18850487c8a -- 2.41.0