From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2018 00:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30428@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.151839462320022 (code B ref -1); Mon, 12 Feb 2018 00:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 00:17:03 +0000 Received: from localhost ([127.0.0.1]:38745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el1nq-0005Cs-MW for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:17:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el1no-0005CK-5B for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:17:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el1nh-0000L4-V2 for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:16:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el1nh-0000KE-PK for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:16:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el1ng-00023U-EY for bug-guix@gnu.org; Sun, 11 Feb 2018 19:16:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el1nd-0008W5-Qt for bug-guix@gnu.org; Sun, 11 Feb 2018 19:16:52 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:43982) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el1nd-0008MM-Fl for bug-guix@gnu.org; Sun, 11 Feb 2018 19:16:49 -0500 Received: from localhost (77.118.241.95.wireless.dyn.drei.com [77.118.241.95]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F037433602D0 for ; Mon, 12 Feb 2018 01:16:45 +0100 (CET) Date: Mon, 12 Feb 2018 01:16:41 +0100 From: Danny Milosavljevic Message-ID: <20180212011641.3deb7fd6@scratchpost.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) git-fetch doesn't allow specifying "--depth 1". That means the repo clones are needlessly large. Since in packages we only need one specific commit anyhow why do we fetch all the other commits? From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2018 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151844818421148 (code B ref 30428); Mon, 12 Feb 2018 15:10:02 +0000 Received: (at 30428) by debbugs.gnu.org; 12 Feb 2018 15:09:44 +0000 Received: from localhost ([127.0.0.1]:39815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elFjk-0005V1-Ge for submit@debbugs.gnu.org; Mon, 12 Feb 2018 10:09:44 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elFji-0005Um-BD for 30428@debbugs.gnu.org; Mon, 12 Feb 2018 10:09:42 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E20C0212DD; Mon, 12 Feb 2018 10:09:41 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 12 Feb 2018 10:09:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=6e/cRrTB+fKyr5Ef9scYxKF6yM82Y1zWMbBUnaCToXY=; b=RZk3P wMECvk/siBsWzwX/3pO8eeWdIw0bGerYDJsQyYSsVVzd4lmtI8LB6gic3EaGwAXU ZcCo+zXqknjFHonfKcD+KhkNFCKkCCCM/VeKT7QVlD1n0UNQDN/clJb1RkTa6WBA /RDmq7UA7QIh8RaNaSq45L3DACmr2+D3OmvWzc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=6e/cRrTB+fKyr5Ef9scYxKF6yM82Y 1zWMbBUnaCToXY=; b=JgMK8V1al0tVXxTNP2YCkLN7QIGS1aU0DDfSGI6AKYJT8 TiD3GMNglwo3YQkG5ogOi26bhat9pcL1+QIIWQMTT4yR7vBqeBHfs6l0EI6+Kx83 f9+qhPAF4wEifLBAS1knbPp3S7HFLFjG7YgeQw6yj6O+KZ0p3uyC/7e19O5YHcCV 8L3ZsgGB7cDp1YXsKQbm9qu19cweq/XSBsjKz2Z//Fcpp+vD2AhlGszjygtDUHen xEfoCbIdD8WcUPuQX+xu2awufxHwazGYr+qOAayDH90lMACuYLZcyvyhp9zIGWF0 cAceRvxxroSV2w1/BCD5Ncfr5bbq1PZRkP3J/S/RA== X-ME-Sender: Received: from localhost (unknown [172.58.225.239]) by mail.messagingengine.com (Postfix) with ESMTPA id 7E58F7E168; Mon, 12 Feb 2018 10:09:41 -0500 (EST) Date: Mon, 12 Feb 2018 10:09:39 -0500 From: Leo Famulari Message-ID: <20180212150939.GA5852@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20180212011641.3deb7fd6@scratchpost.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2018 at 01:16:41AM +0100, Danny Milosavljevic wrote: > git-fetch doesn't allow specifying "--depth 1". >=20 > That means the repo clones are needlessly large. >=20 > Since in packages we only need one specific commit anyhow why do we fetch > all the other commits? I think it's worth adding, but as an option, because there are Git server implementations, like JGit, that don't support shallow cloning. --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqBrjAACgkQJkb6MLrK fwjlMxAAlHNxpFnLYyZjbuOcsn0WGDmZ0mVlBTg5lO0dc9ej1/EgKwhIdyLLv5/U gXHcY8eostvXLk38fldhS6JfWHLToranUik3IdedhR3ExUFhyEA2d7cddbajU/sv 2jJ9MInB1TO/+gJBdR4XluLYpjZ5OhXMZqITSY0yKY0HZbRseA5yftPjmhy1fRkr c6Oz/z0UUMbr8WoLF1HSG8RRiJVmIn4+q8euN1E8sCuMWjROBAok5LRZvWA5nX7x Vom25gwFQW4ZXH8+WimDUvsdEsFUMCvwE+Hh0R9oQgwhS7yzoVGC9/a81bBnsVNp WkTBVWvFjH+Lb3HVp+q09TNXfz83SUTG3g5EzIRPLWIsfRMkMcwxhmLgOFgQFv7o /YGvgNh+7gGtftR9GovtZAFdjBPK14BAfY+f0gq394DNtEDwKi/C3C8p6D44Ypwf ezsMkVGrjKK3vTpnkt9icLPKQ79fL73nS0pdiidrHG+WCcxU3wPANcv2u8u/Jpy0 /YGPEBwcoHH9jnN8k3WWpQvtKf3SUd2hmQJ+wqL950Nwu6emBhsJf9QrPw0RoSqC m1XXbJspevhHoIPJwflW6Z924Xk2yeVFfIWPUheZZ9xIw8ECqtiA2IIRMmFegjlM xBgZJ3fsVyHgzZLq21OPFJ7GxuQV7pgw0liyf5BaJV1OV+N4i/M= =OI9Z -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2018 23:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151847639820016 (code B ref 30428); Mon, 12 Feb 2018 23:00:02 +0000 Received: (at 30428) by debbugs.gnu.org; 12 Feb 2018 22:59:58 +0000 Received: from localhost ([127.0.0.1]:40174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elN4o-0005Cm-2D for submit@debbugs.gnu.org; Mon, 12 Feb 2018 17:59:58 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:52698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elN4n-0005Ce-2j for 30428@debbugs.gnu.org; Mon, 12 Feb 2018 17:59:57 -0500 Received: from localhost (77.118.241.95.wireless.dyn.drei.com [77.118.241.95]) by dd26836.kasserver.com (Postfix) with ESMTPSA id E19FC3360C2E; Mon, 12 Feb 2018 23:59:54 +0100 (CET) Date: Mon, 12 Feb 2018 23:59:50 +0100 From: Danny Milosavljevic Message-ID: <20180212235950.4638aad6@scratchpost.org> In-Reply-To: <20180212150939.GA5852@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Leo, On Mon, 12 Feb 2018 10:09:39 -0500 Leo Famulari wrote: > I think it's worth adding, but as an option, because there are Git > server implementations, like JGit, that don't support shallow cloning. Thanks for that! I didn't consider that before... Possible patch (do you know such servers and can test whether they still work?): diff --git a/guix/build/git.scm b/guix/build/git.scm index c1af545a7..e54d92be7 100644 --- a/guix/build/git.scm +++ b/guix/build/git.scm @@ -37,12 +37,18 @@ recursively. Return #t on success, #f otherwise." ;; in advance anyway. (setenv "GIT_SSL_NO_VERIFY" "true") + (mkdir-p directory) + ;; We cannot use "git clone --recursive" since the following "git checkout" ;; effectively removes sub-module checkouts as of Git 2.6.3. - (and (zero? (system* git-command "clone" url directory)) + (and ;(zero? (system* git-command "clone" url directory)) (with-directory-excursion directory - (system* git-command "tag" "-l") - (and (zero? (system* git-command "checkout" commit)) + ;(system* git-command "tag" "-l") + (invoke git-command "init") + (invoke git-command "remote" "add" "origin" url) + (and (or (zero? (system* git-command "fetch" "--depth" "1" "origin" commit)) + (zero? (system* git-command "fetch" "origin" commit))) + (zero? (system* git-command "checkout" "FETCH_HEAD")) (begin (when recursive? ;; Now is the time to fetch sub-modules. From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Feb 2018 01:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151848529315661 (code B ref 30428); Tue, 13 Feb 2018 01:29:01 +0000 Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 01:28:13 +0000 Received: from localhost ([127.0.0.1]:40291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elPOH-00044X-0j for submit@debbugs.gnu.org; Mon, 12 Feb 2018 20:28:13 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elPOE-00044N-4p for 30428@debbugs.gnu.org; Mon, 12 Feb 2018 20:28:10 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 915A220BCD; Mon, 12 Feb 2018 20:28:09 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 12 Feb 2018 20:28:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=eGedtEMuxPFnV+ XDxNqYEsfxT6SZd/FunWqgPGmnvjU=; b=EFk1v+9XfnWIUqtSB62uiddgCtoa0Y kfozPlqIOSY4nYL05hf1DvuBsp4PqSifpB8fZzT7yCtd6K4q/Uqj8OIDjh2xFNS8 /s0zlctCzUNuGzeTD9/Hql8q4aiOB7wePatTpUbu+jf61A8U33ERl3LE4BMftr17 Y7EZaRgdrcI1o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=eGedtE MuxPFnV+XDxNqYEsfxT6SZd/FunWqgPGmnvjU=; b=PYLxUusI3CM2I7bwdn1S+A fTHS7HrLNRyw/XQlXQ9nfuKj8I0LygVbKr77PQUnRL7F2w00FGbyUdp8zGODt/tt qS/Tut/N7Jrmv/qHC9S9EW0jkSRr7bJcIN2W7cV71XHUea0VX3VljetNpf2lfmd6 jyc+ypI+r79kwSb9DcjvQcop5RPFZ6t8Djw+q5/T3Avwg+241YJ904wDq0wHiYEP WAJfWpTjGwjoHGZazaaJEznbzXW9immMFwTauqZEY+SOAIKvY2uBxzKt72njSVE9 eE4PF6T8Kq5VW71MOf3+xjGd5gx01RJ7C7V0WqaHd+i3s14rI1YhdQKtRP38adcw == X-ME-Sender: Received: from [IPv6:2607:fb90:78e:1924:95f4:c18f:2b61:d2b] (unknown [172.56.35.255]) by mail.messagingengine.com (Postfix) with ESMTPA id 468E17E168; Mon, 12 Feb 2018 20:28:09 -0500 (EST) Date: Mon, 12 Feb 2018 20:28:07 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <20180212235950.4638aad6@scratchpost.org> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----IVGZZBH8NY5GWX0U0PG5DDSFS9SCYO" Content-Transfer-Encoding: 7bit From: Leo Famulari Message-ID: <7D9604D1-3DAE-4D13-AE73-420E655AC711@famulari.name> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ------IVGZZBH8NY5GWX0U0PG5DDSFS9SCYO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think Google uses JGit for their public facing Git servers, but I'm not s= ure=2E On February 12, 2018 5:59:50 PM EST, Danny Milosavljevic wrote: >Hi Leo, > >On Mon, 12 Feb 2018 10:09:39 -0500 >Leo Famulari wrote: > >> I think it's worth adding, but as an option, because there are Git >> server implementations, like JGit, that don't support shallow >cloning=2E > >Thanks for that! I didn't consider that before=2E=2E=2E > >Possible patch (do you know such servers and can test whether they >still work?): > >diff --git a/guix/build/git=2Escm b/guix/build/git=2Escm >index c1af545a7=2E=2Ee54d92be7 100644 >--- a/guix/build/git=2Escm >+++ b/guix/build/git=2Escm >@@ -37,12 +37,18 @@ recursively=2E Return #t on success, #f otherwise=2E= " > ;; in advance anyway=2E > (setenv "GIT_SSL_NO_VERIFY" "true") >=20 >+ (mkdir-p directory) >+ >;; We cannot use "git clone --recursive" since the following "git >checkout" > ;; effectively removes sub-module checkouts as of Git 2=2E6=2E3=2E >- (and (zero? (system* git-command "clone" url directory)) >+ (and ;(zero? (system* git-command "clone" url directory)) > (with-directory-excursion directory >- (system* git-command "tag" "-l") >- (and (zero? (system* git-command "checkout" commit)) >+ ;(system* git-command "tag" "-l") >+ (invoke git-command "init") >+ (invoke git-command "remote" "add" "origin" url) >+ (and (or (zero? (system* git-command "fetch" "--depth" "1" >"origin" commit)) >+ (zero? (system* git-command "fetch" "origin" >commit))) >+ (zero? (system* git-command "checkout" "FETCH_HEAD")) > (begin > (when recursive? > ;; Now is the time to fetch sub-modules=2E ------IVGZZBH8NY5GWX0U0PG5DDSFS9SCYO Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I think Google uses JGit for their public facing G= it servers, but I'm not sure=2E

On Fe= bruary 12, 2018 5:59:50 PM EST, Danny Milosavljevic <dannym@scratchpost= =2Eorg> wrote:
Hi Leo,

On Mon, 12 Feb 2018 10:09:39 -0500Leo Famulari <leo@famulari=2Ename> wrote:

I think it's worth adding, but as an optio= n, because there are Git
server implementations, like JGit, that don't = support shallow cloning=2E

Thanks for that! I didn't c= onsider that before=2E=2E=2E

Possible patch (do you know such server= s and can test whether they still work?):

diff --git a/guix/build/gi= t=2Escm b/guix/build/git=2Escm
index c1af545a7=2E=2Ee54d92be7 100644
= --- a/guix/build/git=2Escm
+++ b/guix/build/git=2Escm
@@ -37,12 +37,1= 8 @@ recursively=2E Return #t on success, #f otherwise=2E"
;; in adv= ance anyway=2E
(setenv "GIT_SSL_NO_VERIFY" "true")

+ (mkdir-= p directory)
+
;; We cannot use "git clone --recursive" since the = following "git checkout"
;; effectively removes sub-module checkouts = as of Git 2=2E6=2E3=2E
- (and (zero? (system* git-command "clone" url d= irectory))
+ (and ;(zero? (system* git-command "clone" url directory))<= br> (with-directory-excursion directory
- (system* git-co= mmand "tag" "-l")
- (and (zero? (system* git-command "checkout" = commit))
+ ;(system* git-command "tag" "-l")
+ (invok= e git-command "init")
+ (invoke git-command "remote" "add" "orig= in" url)
+ (and (or (zero? (system* git-command "fetch" "--depth= " "1" "origin" commit))
+ (zero? (system* git-command "= fetch" "origin" commit)))
+ (zero? (system* git-command "ch= eckout" "FETCH_HEAD"))
(begin
(when r= ecursive?
;; Now is the time to fetch sub-modules=2E<= br>
------IVGZZBH8NY5GWX0U0PG5DDSFS9SCYO-- From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Feb 2018 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.15185317823526 (code B ref 30428); Tue, 13 Feb 2018 14:24:02 +0000 Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 14:23:02 +0000 Received: from localhost ([127.0.0.1]:40694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elbU6-0000un-9R for submit@debbugs.gnu.org; Tue, 13 Feb 2018 09:23:02 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53719) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elbU4-0000u9-Di for 30428@debbugs.gnu.org; Tue, 13 Feb 2018 09:23:01 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EA50021124; Tue, 13 Feb 2018 09:22:59 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 13 Feb 2018 09:22:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=2yUkN1e5q2xbFNdwCAOdjdVgBh3cropBZlSLZ9t1fgM=; b=gwUQZ dMnFvU+ko4pobOMekEWqyAoR5XN2pDuGXuGd17XGl7IX0R2RqfwYWQyTIWBINCq7 q90/oRsFjt8AmnWxZNGiNuM+jp9xO6lvk/mqnucVgB3TyUpek4xjmvQqLOGXBMwf 4k5UFEI8VJCCovNbboVXUEBxRT4MbSArDRwkbg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=2yUkN1e5q2xbFNdwCAOdjdVgBh3cr opBZlSLZ9t1fgM=; b=KHW5g+qN/osDIg8r+YMwfz6AUSiLOFn8LGRiUC2RXpNBU Apjs22WTGXPvr0hSV/RIc5iFVLUIZzN//DndBNDBg320UhA67VdhjuNzPQdC3gs1 BY0ha4TuW1iNr/McJpGlQkPPaCSphpB0LWTbEzeNrs9qaS6F+er3g6p5kf9IgOZC CBeUkgFaRndT6Le8QSgo1yuZ22p4bbfvVJHl0qMeK0P3y/lZ9c949gkqV7/tpND7 LKGUOqYJ7QNW13Budyi8UNpb5bsbEsIxMUrgH9upVwjOYsgNRJG6B8HWBw1PZNQ8 AUyOOcsvruZJBJpuY4NuJXCfxkI+IMbhsdd1jM1uA== X-ME-Sender: Received: from localhost (ool-2f14bdb1.dyn.optonline.net [47.20.189.177]) by mail.messagingengine.com (Postfix) with ESMTPA id 861C47E4E9; Tue, 13 Feb 2018 09:22:59 -0500 (EST) Date: Tue, 13 Feb 2018 09:22:58 -0500 From: Leo Famulari Message-ID: <20180213142258.GA18012@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <20180212235950.4638aad6@scratchpost.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote: > Leo Famulari wrote: >=20 > > I think it's worth adding, but as an option, because there are Git > > server implementations, like JGit, that don't support shallow cloning. >=20 > Thanks for that! I didn't consider that before... >=20 > Possible patch (do you know such servers and can test whether they still = work?): I think that Google's public-facing Git servers use JGit. So, perhaps try shallow cloning Chromium and see if it works. --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqC9L8ACgkQJkb6MLrK fwiAAxAAo/veD8288oL8NrebPwu3Em2IkBVY9Pwv9/L1aeUH2KSHJzhrThjwv94g O1tliAws/cEkVrdSobkjIYBpbdQ+X/e8aJsE1On6nQ9W6Vg/9a2xo/chLhYXwNHT 9CqJSgmYfQYGVVcZ0WS2MEp4+s8cM0DiWZAIF7HZLhZPY/rCfyndVbYv40p/t05K SfJrcNc+fdvTOkZ2dRCgVIhJHontJUN/+4rb0Y5fJ73xuOaRRdXCvZxd0PZjo9Tk qQgZLfLAq/u8smhJ3JB/EP5UycUH7Oek5piB7q0HVIvdPIkS89yHfvSeUeKeHOW6 rgLSS8rE65X7RxrkcQXaTolDwt2JbjpUmu4bmiUAFp+DsgSycelqYBiKgjRpRW/v tGb0jfL02r0nI4KlP4CZXi+2BEJ0Swy8/lNhStIfU/KGPFTEsXUpNZFsDST8AQjW 1jNrONh3yXCI3wvD7GI8L0yFC9bFHswAZEcKVXIJvYCWIVtvGwYIqhGD+j+rogh4 P4Ys6tHIMEdiizW5rxsXBMAEdHBE+lVO9myJp+JryXjbF4+0HQG9S1gqKeTwwTE+ EyJqoRox3ouX6bYfCcs0h2od5mjfXIC5uWfmQnXzgNajY+kJ4/o0Go7MH+mbOvjk LSRPXgRlhjkyaOivfaM5Oot/mWhGRWteuEliMyaGy5FNxkKbKK8= =YY/+ -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6-- From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Feb 2018 17:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari , Danny Milosavljevic Cc: 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151854180118834 (code B ref 30428); Tue, 13 Feb 2018 17:10:02 +0000 Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 17:10:01 +0000 Received: from localhost ([127.0.0.1]:41642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ele5h-0004tg-5n for submit@debbugs.gnu.org; Tue, 13 Feb 2018 12:10:01 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:48861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ele5f-0004tX-GT for 30428@debbugs.gnu.org; Tue, 13 Feb 2018 12:09:59 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0399C20D39; Tue, 13 Feb 2018 12:09:59 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 13 Feb 2018 12:09:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=BmhpCWr/r9tk+dEy4RXgEgouYyiek 6gphl6MfnLA/EU=; b=QK9dhbCz0b2vq9siAbrnehfTk1oBkdl4Oh53g5P4otWaf +JzmgTgrutUNYNc+z9zU0UnXMRCO5QwJDxab2Z2I+59EptEszfOqBknp85Jht5oJ 9qa3RNrUuNf0lsqj/QjpEuUdU9zugfbp9y8QL0vuvz5zDl9d4DyGC8DOlfQRSN5t VYBxX4jcM7ScN65HIJvWMfUQw0N9MhdQcYsxDbmGSm8FAIFJDpag25bLuy6HoBgZ TMBhUU9aI/nF4Z9S6EqRpcVHiSlT2Gv8NIGm5S08F1ejqvo8hoIFuHZMHngOA8X2 KSFiQBSvb4K5hojjENVQkzcFUiGqrnvG/+sg8sORQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=BmhpCW r/r9tk+dEy4RXgEgouYyiek6gphl6MfnLA/EU=; b=KtxV529BT1gLDcepg0Em7O iGwHUfk7AYUo8r2txGFDtGA0epYi/QZTJ17XMYEVuPY4iPb59Pc7stbT38tmLSym q6sWILU7oEOfcPgK8jKw6Erp06H3xfjhZ/20j4IpcYb3we8b+WWQeA8RVSvXsuP+ g2yfR4ecF5S1dn0Qmg8NVl4QuUgXiHE2iyWm9VyWrCr9nSS4EQMMsrU/qpwvk1ly u3qZpRyHZZ3d+e881fbf20BxRG3yB+5P9U+izQx+d1WSlkQ45m+vuLFdfjiainj9 gr/WCrfY0V9iISq4xmJwbaR6pN3CJxEC8sBLkIChMpUsIiW/Oq2rS6a2oNYsZ7Eg == X-ME-Sender: Received: from [10.250.16.181] (182-16-11.connect.netcom.no [176.11.16.182]) by mail.messagingengine.com (Postfix) with ESMTPA id 63E0E7E542; Tue, 13 Feb 2018 12:09:58 -0500 (EST) Date: Tue, 13 Feb 2018 18:09:55 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <20180213142258.GA18012@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> <20180213142258.GA18012@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----EE2NS2XPDKDOL2Q90FG3NC2X0O6J6V" Content-Transfer-Encoding: 7bit From: Marius Bakke Message-ID: <5FB5D5D3-87BC-470E-8B89-0F572BFF623A@fastmail.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ------EE2NS2XPDKDOL2Q90FG3NC2X0O6J6V Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On February 13, 2018 3:22:58 PM GMT+01:00, Leo Famulari wrote: >On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote: >> Leo Famulari wrote: >>=20 >> > I think it's worth adding, but as an option, because there are Git >> > server implementations, like JGit, that don't support shallow >cloning=2E >>=20 >> Thanks for that! I didn't consider that before=2E=2E=2E >>=20 >> Possible patch (do you know such servers and can test whether they >still work?): > >I think that Google's public-facing Git servers use JGit=2E So, perhaps >try shallow cloning Chromium and see if it works=2E "libvpx" in Guix uses Chromiums git infrastructure and is fairly small=2E ------EE2NS2XPDKDOL2Q90FG3NC2X0O6J6V Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On February 13, 2018 3:22:58 PM GMT+01:00, Leo Famulari <leo@famulari= =2Ename> wrote:
>On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote: >> Leo Famulari <leo@famulari=2Ename> wrote:
>>
>> > I think it's worth adding, but as an option, because the= re are Git
>> > server implementations, like JGit, that don't support sh= allow
>cloning=2E
>>
>> Thanks for that! I didn't consider that before=2E=2E=2E
>>
>> Possible patch (do you know such servers and can test whether the= y
>still work?):
>
>I think that Google's public-facing Git servers use JGit=2E So, pe= rhaps
>try shallow cloning Chromium and see if it works=2E

"libvpx" in Guix uses Chromiums git infrastructure and is fairly= small=2E ------EE2NS2XPDKDOL2Q90FG3NC2X0O6J6V-- From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Feb 2018 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari , Danny Milosavljevic Cc: 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151854180318876 (code B ref 30428); Tue, 13 Feb 2018 17:11:01 +0000 Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 17:10:03 +0000 Received: from localhost ([127.0.0.1]:41648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ele5j-0004uO-EL for submit@debbugs.gnu.org; Tue, 13 Feb 2018 12:10:03 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:54761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ele5h-0004tj-F9 for 30428@debbugs.gnu.org; Tue, 13 Feb 2018 12:10:01 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 58DC321846; Tue, 13 Feb 2018 12:10:01 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 13 Feb 2018 12:10:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=y90d5nnabxhLxxxhRm/gcACW7e0Wc 8DTfuZR5bPv5xA=; b=NgfNvG9STVhouTNJyng+Een9RpxQVBVDTH648rjvtlWlg LPtK98jbAQH7VDyoqPLYJevhFjPCm1wxSomYz0WMo9VRGZcyfUSpFesMuTU2qoF6 XT3QvDCjUsXZ/M+PBhueV0Th/imxJr0MuR35jaCTiVI89dMOk48rUCCx+YQJovLL mfrMkpJlgPB4txgJ/Mk2QATbEUMTG/3lPr57Ix6ysbc5wFyqHpaReuN27TonjYQY q8QhMwBzWVAOJC7HbsGA2D8+hJgybkLE49LRzSiAp8lawzk3aTzoJ7iqTu5aOdgD +rFJJDLgHyf386Ke9aZjEIblHVPBXZjPHuCQYYMVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=y90d5n nabxhLxxxhRm/gcACW7e0Wc8DTfuZR5bPv5xA=; b=FMyPiJPX5maq/xS/yZ0mJF dDkANm2LsO672faHur74blykB+nDnJjbr+P2oKDJGH1qNKeQF+MoREdfVBP+a+cj mDbhgkvvWkx1dmLhoXKBiZYeFpdgEm2Qi4n92x48Wk6aswWYZuxMuxshVxw7cmzt f6keeQHGZrjhABTjP/K3m+jL6e+nfCe1wriMbePrqXUfkXNVugndZstwYjUYCAic yXN0ZWbTuv5zxyBF7lOvKg9Ky/fUMmHNRz7aVHlWK29iyfuowQvH/hkE9vB3fyG2 06VM+FBWe/2YUSpZsv8STDixrwyY9aggcU0/hvYGM1E8ppO5w0b3Xm3aa47wVLww == X-ME-Sender: Received: from [10.250.16.181] (182-16-11.connect.netcom.no [176.11.16.182]) by mail.messagingengine.com (Postfix) with ESMTPA id A54937E576; Tue, 13 Feb 2018 12:10:00 -0500 (EST) Date: Tue, 13 Feb 2018 18:08:58 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <20180213142258.GA18012@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> <20180213142258.GA18012@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Marius Bakke Message-ID: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On February 13, 2018 3:22:58 PM GMT+01:00, Leo Famulari wrote: >On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote: >> Leo Famulari wrote: >>=20 >> > I think it's worth adding, but as an option, because there are Git >> > server implementations, like JGit, that don't support shallow >cloning=2E >>=20 >> Thanks for that! I didn't consider that before=2E=2E=2E >>=20 >> Possible patch (do you know such servers and can test whether they >still work?): > >I think that Google's public-facing Git servers use JGit=2E So, perhaps >try shallow cloning Chromium and see if it works=2E "libvpx" in Guix uses Chromiums git infrastructure and is fairly small=2E From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Feb 2018 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: Danny Milosavljevic , 30428@debbugs.gnu.org Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151854529124201 (code B ref 30428); Tue, 13 Feb 2018 18:09:02 +0000 Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 18:08:11 +0000 Received: from localhost ([127.0.0.1]:41742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elezy-0006IG-Ta for submit@debbugs.gnu.org; Tue, 13 Feb 2018 13:08:11 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elezx-0006I9-BN for 30428@debbugs.gnu.org; Tue, 13 Feb 2018 13:08:09 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A539D20CA4; Tue, 13 Feb 2018 13:08:08 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Tue, 13 Feb 2018 13:08:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=CFZQYW0cNl31VCKHqkY9p5EyWYcKn9sDBwwu3XmcLSE=; b=cx6Vk H/q/8XArtWQrIchPROBdcAnBfvICqFoJIrR246HtVL/kusGwonEvKax6WRM6LR77 5aUcA8nXln1zXfV4etPY4PwmfjbkvB9g9GqhqrNm0kouy7GNQqOZYMBlMh0bdmbF bNTSh2ECSMJtmeL0TOpq7TCWPl50RDwFm6ydv8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=CFZQYW0cNl31VCKHqkY9p5EyWYcKn 9sDBwwu3XmcLSE=; b=f6Yur0tSNigRa38XMerqJx9vztuhQGp1j6mGIHvU0gxAu Qe6MmU/HXzbMgwbgiocUQr0OxEQgdtYcyKL+mb8dVIdtIGdg8G1GyFfNWkFM7s4f ULvmEJda6XLSqU8qBJw9uoxdaiEqgABPU8NeTDwdkVtBGu/zu0UMRNr8cTvGDKfX pNtYU8eDQ/fiYpHS20VYIK7826rsYfRcBhkqNRCIZa+ZlSXi8FcSvLeaFSW7KN6g Ebl1Pe0dAa1IHtnwfhDaVCaZF8/wSULkUhYS5C6oT3X38fq88OE2YYguNxvaG2AF kUsrBnfZQ5pZrdkSSvVT+6hgIpYTNitR51Soa6UGQ== X-ME-Sender: Received: from localhost (unknown [172.58.225.135]) by mail.messagingengine.com (Postfix) with ESMTPA id 5772D7E4A8; Tue, 13 Feb 2018 13:08:08 -0500 (EST) Date: Tue, 13 Feb 2018 13:08:06 -0500 From: Leo Famulari Message-ID: <20180213180806.GA1242@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> <20180213142258.GA18012@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 13, 2018 at 06:08:58PM +0100, Marius Bakke wrote: >=20 >=20 > On February 13, 2018 3:22:58 PM GMT+01:00, Leo Famulari wrote: > >On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote: > >> Leo Famulari wrote: > >>=20 > >> > I think it's worth adding, but as an option, because there are Git > >> > server implementations, like JGit, that don't support shallow > >cloning. > >>=20 > >> Thanks for that! I didn't consider that before... > >>=20 > >> Possible patch (do you know such servers and can test whether they > >still work?): > > > >I think that Google's public-facing Git servers use JGit. So, perhaps > >try shallow cloning Chromium and see if it works. >=20 > "libvpx" in Guix uses Chromiums git infrastructure and is fairly small. Looks like the Chromium and libvpx Git repos both support shallow cloning now. That's great news for anyone building Chromium! But it doesn't help find a Git server that doesn't support shallow cloning. --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqDKYMACgkQJkb6MLrK fwhkSBAAmqKqbAwkXOw7/DiXiWVwswiQPJVaYTSrtkwCMFqxixI0GnxrysWD5MPq 2UnWfhgfeNQg4BSHIXc0G8mzbolzyXNdW616BxfkzFCSuauMkTv+B/PTl5URH1Qw 8Mq+lyTJ1gT68QIejvImEmO0XZqq4lFd2QDl3LOq30OjZwwSSGrMUujBqgSWF0Bp CzvUuge9qSVrajY1wCzX5zs1V4WSFLIbi/BMyY8/8SO6RC7bGyCVAr8hoM5eYaG2 tTRW7cf/XU4WmiT0um0UMoC2QKnMzO5FWH0GQ7/9zRFpM5qvDHz+H1Ux9/M8uFxg 5R91Ppg5O5NRNoQI/HTAbffkKXT1oREw1BOJ1DiWMMSDIQ+yRQof7B74QnOJMxiD eBGQrR1+Vr1DTL4MUAOMbUmi+NoqyimfqJ2LC/ZWzaM8z7+rZwfzfnorBb+/SW/V Ka/q6Tqxk58xYOe1VkZVCQPSXNQvCwZEFi6/pL96za2418A0mEsWTb5HI1z0f4ZR 7kr6SMMRJ9R3jpFUh6JHHGBJrOsGrrFmjsW1AbbLLWXO1r1fz5y8HuFYuwkHa9jR ZOmKY5z5V44nklXzPCrieA60C2KotXV/O1UnLunJaGCIkJejOat8SO6Vb/ljIFN8 biYNB34ijEhaj2FeyAVdsd2luUTTdRjMiIT78rqnn6HU/5bZnD4= =TZBP -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 14 Feb 2018 13:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30428@debbugs.gnu.org, Leo Famulari Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151861673921495 (code B ref 30428); Wed, 14 Feb 2018 13:59:02 +0000 Received: (at 30428) by debbugs.gnu.org; 14 Feb 2018 13:58:59 +0000 Received: from localhost ([127.0.0.1]:42261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elxaN-0005ad-4j for submit@debbugs.gnu.org; Wed, 14 Feb 2018 08:58:59 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elxaL-0005aU-Vp for 30428@debbugs.gnu.org; Wed, 14 Feb 2018 08:58:58 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 46C3911329; Wed, 14 Feb 2018 14:58:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PSF_cjNfIhm3; Wed, 14 Feb 2018 14:58:55 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 80B1D111A2; Wed, 14 Feb 2018 14:58:55 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?UTF-8?Q?Pluvi=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= 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: Wed, 14 Feb 2018 14:58:55 +0100 In-Reply-To: <20180212235950.4638aad6@scratchpost.org> (Danny Milosavljevic's message of "Mon, 12 Feb 2018 23:59:50 +0100") Message-ID: <87fu63sme8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hello, Danny Milosavljevic skribis: > On Mon, 12 Feb 2018 10:09:39 -0500 > Leo Famulari wrote: > >> I think it's worth adding, but as an option, because there are Git >> server implementations, like JGit, that don't support shallow cloning. > > Thanks for that! I didn't consider that before... > > Possible patch (do you know such servers and can test whether they still = work?): I think it=E2=80=99s a great idea. FWIW, Andy proposed something along the= se lines, but the idea was to use shallow clones for tags only because in other cases it might not work (?): https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00258.html It got stuck on a minor issue: the patch added a =E2=80=98tag=E2=80=99 fiel= d to =E2=80=98git-reference=E2=80=99, which changed the API, and I suggested mak= ing things slightly differently: https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00558.html Would you like to see if both patches could be merged? Thanks, Ludo=E2=80=99. From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 18 Feb 2018 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 30428@debbugs.gnu.org, Leo Famulari Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151896109318272 (code B ref 30428); Sun, 18 Feb 2018 13:39:01 +0000 Received: (at 30428) by debbugs.gnu.org; 18 Feb 2018 13:38:13 +0000 Received: from localhost ([127.0.0.1]:49026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enPAR-0004kd-Ew for submit@debbugs.gnu.org; Sun, 18 Feb 2018 08:38:12 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:47978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enPAQ-0004kV-0A for 30428@debbugs.gnu.org; Sun, 18 Feb 2018 08:38:10 -0500 Received: from localhost (178.113.229.194.wireless.dyn.drei.com [178.113.229.194]) by dd26836.kasserver.com (Postfix) with ESMTPSA id BFC9F33605DD; Sun, 18 Feb 2018 14:38:07 +0100 (CET) Date: Sun, 18 Feb 2018 14:38:05 +0100 From: Danny Milosavljevic Message-ID: <20180218143612.32fa5fc7@scratchpost.org> In-Reply-To: <87fu63sme8.fsf@gnu.org> References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> <87fu63sme8.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Ludo, On Wed, 14 Feb 2018 14:58:55 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > I think it=E2=80=99s a great idea. FWIW, Andy proposed something along t= hese > lines, but the idea was to use shallow clones for tags only because in > other cases it might not work (?): >=20 > https://lists.gnu.org/archive/html/guix-devel/2015-08/msg00258.html Yeah, some git servers either don't support searching by commit at all or only support it after enabling it manually in the config file (justification is some kind of privacy thing where accidentially a private file could have been pushed to a public repo and then reverted - with the commit hash you'd still get to it). =20 I'd rather not do the more involved patchset at the time being. I don't understand git all that well. It's already much nicer just to try the shallow commit checkout and fall ba= ck to the current way if it doesn't work - and it's low risk. From unknown Tue Jun 24 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 18 Feb 2018 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30428 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Danny Milosavljevic Cc: 30428@debbugs.gnu.org, Leo Famulari Received: via spool by 30428-submit@debbugs.gnu.org id=B30428.151896203419752 (code B ref 30428); Sun, 18 Feb 2018 13:54:02 +0000 Received: (at 30428) by debbugs.gnu.org; 18 Feb 2018 13:53:54 +0000 Received: from localhost ([127.0.0.1]:49046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enPPd-00058W-W7 for submit@debbugs.gnu.org; Sun, 18 Feb 2018 08:53:54 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enPPc-00058P-Jk for 30428@debbugs.gnu.org; Sun, 18 Feb 2018 08:53:52 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id F40CDD9AD; Sun, 18 Feb 2018 14:53:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id baJOPLwdYNAy; Sun, 18 Feb 2018 14:53:51 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E9B327076; Sun, 18 Feb 2018 14:53:50 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180212011641.3deb7fd6@scratchpost.org> <20180212150939.GA5852@jasmine.lan> <20180212235950.4638aad6@scratchpost.org> <87fu63sme8.fsf@gnu.org> <20180218143612.32fa5fc7@scratchpost.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?UTF-8?Q?Pluvi=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= 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: Sun, 18 Feb 2018 14:53:49 +0100 In-Reply-To: <20180218143612.32fa5fc7@scratchpost.org> (Danny Milosavljevic's message of "Sun, 18 Feb 2018 14:38:05 +0100") Message-ID: <877eraietu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Danny, Danny Milosavljevic skribis: > It's already much nicer just to try the shallow commit checkout and fall = back > to the current way if it doesn't work - and it's low risk. Oh right, I hadn=E2=80=99t groked that this is what your patch does. In that case I=E2=80=99m all for it, it seems to be low-risk indeed. Perha= ps leave a comment explaining that for some servers =E2=80=9C--depth 1=E2=80= =9D won=E2=80=99t work when we=E2=80=99re passing a commit and not a tag. Thank you! Ludo=E2=80=99. From unknown Tue Jun 24 01:41:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Danny Milosavljevic Subject: bug#30428: closed (Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use) Message-ID: References: <20200322204810.GA19747@jasmine.lan> <20180212011641.3deb7fd6@scratchpost.org> X-Gnu-PR-Message: they-closed 30428 X-Gnu-PR-Package: guix Reply-To: 30428@debbugs.gnu.org Date: Sun, 22 Mar 2020 20:49:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1584910142-21097-1" This is a multi-part message in MIME format... ------------=_1584910142-21097-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot= without any use which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30428@debbugs.gnu.org. --=20 30428: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30428 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1584910142-21097-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30428-done) by debbugs.gnu.org; 22 Mar 2020 20:48:21 +0000 Received: from localhost ([127.0.0.1]:51005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jG7W9-0005Ss-IH for submit@debbugs.gnu.org; Sun, 22 Mar 2020 16:48:21 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:47407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jG7W7-0005Sc-83 for 30428-done@debbugs.gnu.org; Sun, 22 Mar 2020 16:48:20 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 9203144E; Sun, 22 Mar 2020 16:48:12 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 22 Mar 2020 16:48:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=CzVEGJgdrY1oDIS2Gb/YPj3X be2m0vZ5Q4uTxzL2Qpc=; b=KD/spZPnVyinfZ5E19W1K+q5IIu1WZ1PJT/rdlK1 MKdOo6bkr/PbbK100IA8DJYjdmBYUhYRFt2V/YnE+ZMiK1oFprSEgFjxY9H7LiNt lC9vm8CVMpkW7RqXeb/ZEP+h2fd2lx1g5e6YTrLJBrsQhyQBuUJoh75VQidj67Fc GOM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=CzVEGJ gdrY1oDIS2Gb/YPj3Xbe2m0vZ5Q4uTxzL2Qpc=; b=VM/ZkK9/Gyl+HmtG65KnZj 0MG1JKYZWY/hvB2FHWwPf5F2E48t3kRGGvNASg6Q59kYQeuGs1NoHwAlw1Q5KiXc KMEmWiPyMIa4+aRz0ts9h/L2XoNtpa4nP6O0uADXH/Yn7I4fzjp/JMjmn36KqNmp zJ3SM5zA+yhdx8F1uHbEPjwZJSlhR3EyqUnm27acIfWwE+V8AKiOc/0LISVgVC6o +l3pNs9UrrQpsXoRWTQDFgeFOpERG+MTyRCb/dEyxupFhTE0Q7xX1RDEUy976/2W JOVHX5m89qnWz9K/OQqQ7iTEnePBuWA2jeT0VPXEhn9G1RbtRhzOxF0iUfyeRqqQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudegiedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejie druddvgedrudefkedrieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id A195F30618C1; Sun, 22 Mar 2020 16:48:11 -0400 (EDT) Date: Sun, 22 Mar 2020 16:48:10 -0400 From: Leo Famulari To: Danny Milosavljevic Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Message-ID: <20200322204810.GA19747@jasmine.lan> References: <20180212011641.3deb7fd6@scratchpost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180212011641.3deb7fd6@scratchpost.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30428-done Cc: 30428-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Feb 12, 2018 at 01:16:41AM +0100, Danny Milosavljevic wrote: > git-fetch doesn't allow specifying "--depth 1". > > That means the repo clones are needlessly large. > > Since in packages we only need one specific commit anyhow why do we fetch > all the other commits? This was fixed in 329dabe13bf98b899b907b45565434c5140804f5. Closing. ------------=_1584910142-21097-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 00:17:03 +0000 Received: from localhost ([127.0.0.1]:38745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el1nq-0005Cs-MW for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:17:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el1no-0005CK-5B for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:17:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el1nh-0000L4-V2 for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:16:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el1nh-0000KE-PK for submit@debbugs.gnu.org; Sun, 11 Feb 2018 19:16:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el1ng-00023U-EY for bug-guix@gnu.org; Sun, 11 Feb 2018 19:16:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el1nd-0008W5-Qt for bug-guix@gnu.org; Sun, 11 Feb 2018 19:16:52 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:43982) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1el1nd-0008MM-Fl for bug-guix@gnu.org; Sun, 11 Feb 2018 19:16:49 -0500 Received: from localhost (77.118.241.95.wireless.dyn.drei.com [77.118.241.95]) by dd26836.kasserver.com (Postfix) with ESMTPSA id F037433602D0 for ; Mon, 12 Feb 2018 01:16:45 +0100 (CET) Date: Mon, 12 Feb 2018 01:16:41 +0100 From: Danny Milosavljevic To: Subject: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use Message-ID: <20180212011641.3deb7fd6@scratchpost.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) git-fetch doesn't allow specifying "--depth 1". That means the repo clones are needlessly large. Since in packages we only need one specific commit anyhow why do we fetch all the other commits? ------------=_1584910142-21097-1--