From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +D4xGseZNl+IFwAA0tVLHw (envelope-from ) for ; Fri, 14 Aug 2020 14:03:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KAX+FceZNl9WQwAAbx9fmQ (envelope-from ) for ; Fri, 14 Aug 2020 14:03:51 +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 051159408DA for ; Fri, 14 Aug 2020 14:03:50 +0000 (UTC) Received: from localhost ([::1]:51522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6aJB-0004Ey-UL for larch@yhetil.org; Fri, 14 Aug 2020 10:03:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6aJ2-0004Ej-Om for guix-devel@gnu.org; Fri, 14 Aug 2020 10:03:40 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:49250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6aJ0-0005TM-RC for guix-devel@gnu.org; Fri, 14 Aug 2020 10:03:40 -0400 Received: from localhost (80-110-127-146.cgn.dynamic.surfer.at [80.110.127.146]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 3D87633687C7; Fri, 14 Aug 2020 16:03:33 +0200 (CEST) Date: Fri, 14 Aug 2020 16:03:23 +0200 From: Danny Milosavljevic To: Vagrant Cascadian Subject: Re: Linux-libre git repository Message-ID: <20200814160323.6854a0e4@scratchpost.org> In-Reply-To: <87wo22bihy.fsf@ponder> References: <87d03vv0nm.fsf@netris.org> <87wo22bihy.fsf@ponder> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ZeSO2/O4nq0mr=_AAhvFZC7"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/14 10:03:33 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, Jason Self Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: n70RrxaDM+0T --Sig_/ZeSO2/O4nq0mr=_AAhvFZC7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Vagrant, On Thu, 13 Aug 2020 09:47:21 -0700 Vagrant Cascadian wrote: > The source checkout was quite slow to download, and took up ~1GB in the > store once completed. I'm not sure how guix's git origin works exactly; git init git remote add origin if git fetch --depth 1 origin then git checkout FETCH_HEAD else echo "Failed to do a shallow fetch; retrying a full fetch..." git fetch origin git checkout fi if ,recursive? then git submodule update --init --recursive rm -rf .git for each submodule fi rm -rf .git See guix/build/git.scm . There exist git servers that have disabled fetching by commit hash for "security" reasons (if you checked in a file containing a password and then removed it again, and no branch or tag to it exists, nobody can get to it even if he knew the commit hash). We would always use the fallback for those servers. > if it downloads the entire git history even to perform a shallow > checkout of a single commit, and then throws out the git history? As a fallback if the above doesn't work. > appear to be calling git with flags to perform a shallow checkout. Yes. --Sig_/ZeSO2/O4nq0mr=_AAhvFZC7 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl82masACgkQ5xo1VCww uqU0lAf+KxwXO4K0bOt/R1t3ARz0WWywwelQEQeNuKurAkqUwLaCo7wZV3SawGoF GZc2tTbkko4BVOXBfDH8WThS9LCRc+vHVfAS/YLCPKMelC4NMvtPksMvCgFD3Qg5 RE/TpdcU+7uLTNOZOPXnhWZi3RUmLyxE9V9wGXt6nLs62gjiAnveWbAMy0D5gpYK wKXMFEIvSPKOycZ/XLxi+kMtrkv+0Av9wfWyje6kczhz3J5PiCdz3qMvfSsmFPZJ mk9YYdyrgvm43GUDCJOHkGaIPM9pzWqptj6JK456I2ElR+xrnlpf6ljLgJ/d59Hd 3bhQj4KQ3YLhQt/kaAsScUxYS47Fjg== =BsYW -----END PGP SIGNATURE----- --Sig_/ZeSO2/O4nq0mr=_AAhvFZC7--