GNU bug report logs - #30428
guix git-fetch doesn't specify "--depth 1" - git clone clones a lot without any use

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Danny Milosavljevic <dannym@HIDDEN>; dated Mon, 12 Feb 2018 00:18:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 18 Feb 2018 13:53:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 18 08:53:54 2018
Received: from localhost ([127.0.0.1]:49046 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1enPPd-00058W-W7
	for submit <at> 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 <ludo@HIDDEN>) id 1enPPc-00058P-Jk
 for 30428 <at> 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@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone
 clones a lot without any use
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN>
 <20180212235950.4638aad6@HIDDEN> <87fu63sme8.fsf@HIDDEN>
 <20180218143612.32fa5fc7@HIDDEN>
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@HIDDEN> (Danny Milosavljevic's
 message of "Sun, 18 Feb 2018 14:38:05 +0100")
Message-ID: <877eraietu.fsf@HIDDEN>
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-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org, Leo Famulari <leo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi Danny,

Danny Milosavljevic <dannym@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 18 Feb 2018 13:38:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 18 08:38:13 2018
Received: from localhost ([127.0.0.1]:49026 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1enPAR-0004kd-Ew
	for submit <at> 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 <dannym@HIDDEN>) id 1enPAQ-0004kV-0A
 for 30428 <at> 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 <dannym@HIDDEN>
To: ludo@HIDDEN (Ludovic =?ISO-8859-1?Q?Court=E8s?=)
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone clones a lot without any use
Message-ID: <20180218143612.32fa5fc7@HIDDEN>
In-Reply-To: <87fu63sme8.fsf@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN>
 <20180212235950.4638aad6@HIDDEN> <87fu63sme8.fsf@HIDDEN>
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-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org, Leo Famulari <leo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Hi Ludo,

On Wed, 14 Feb 2018 14:58:55 +0100
ludo@HIDDEN (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.




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 14 Feb 2018 13:58:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 14 08:58:59 2018
Received: from localhost ([127.0.0.1]:42261 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elxaN-0005ad-4j
	for submit <at> 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 <ludo@HIDDEN>) id 1elxaL-0005aU-Vp
 for 30428 <at> 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@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone
 clones a lot without any use
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN>
 <20180212235950.4638aad6@HIDDEN>
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@HIDDEN> (Danny Milosavljevic's
 message of "Mon, 12 Feb 2018 23:59:50 +0100")
Message-ID: <87fu63sme8.fsf@HIDDEN>
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-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org, Leo Famulari <leo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hello,

Danny Milosavljevic <dannym@HIDDEN> skribis:

> On Mon, 12 Feb 2018 10:09:39 -0500
> Leo Famulari <leo@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 18:08:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 13 13:08:11 2018
Received: from localhost ([127.0.0.1]:41742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elezy-0006IG-Ta
	for submit <at> 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 <leo@HIDDEN>) id 1elezx-0006I9-BN
 for 30428 <at> 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: <xms:iCmDWiZZAPlH1WahpyNjztdbGNhY4GciRqZYa784_OD5kaOIoE0vaQ>
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 <leo@HIDDEN>
To: Marius Bakke <mbakke@HIDDEN>
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone	clones a lot without any use
Message-ID: <20180213180806.GA1242@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN>
 <20180212235950.4638aad6@HIDDEN>
 <20180213142258.GA18012@HIDDEN>
 <EADCB7A1-BAB9-449C-B7CD-6BF0194EB0F7@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv"
Content-Disposition: inline
In-Reply-To: <EADCB7A1-BAB9-449C-B7CD-6BF0194EB0F7@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30428
Cc: Danny Milosavljevic <dannym@HIDDEN>, 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <leo@HIDDEN=
e> wrote:
> >On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote:
> >> Leo Famulari <leo@HIDDEN> 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--




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 17:10:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 13 12:10:03 2018
Received: from localhost ([127.0.0.1]:41648 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ele5j-0004uO-EL
	for submit <at> 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 <mbakke@HIDDEN>) id 1ele5h-0004tj-F9
 for 30428 <at> 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: <xms:6RuDWnvXnuBCamQ4maa9xAfVHWAJywm71UBZdMltKhrGKJgtXUFpQQ>
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@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN> <20180212235950.4638aad6@HIDDEN>
 <20180213142258.GA18012@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone	clones a lot without any use
To: Leo Famulari <leo@HIDDEN>,
 Danny Milosavljevic <dannym@HIDDEN>
From: Marius Bakke <mbakke@HIDDEN>
Message-ID: <EADCB7A1-BAB9-449C-B7CD-6BF0194EB0F7@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)



On February 13, 2018 3:22:58 PM GMT+01:00, Leo Famulari <leo@famulari=2Ena=
me> wrote:
>On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote:
>> Leo Famulari <leo@famulari=2Ename> 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




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 17:10:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 13 12:10:01 2018
Received: from localhost ([127.0.0.1]:41642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ele5h-0004tg-5n
	for submit <at> 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 <mbakke@HIDDEN>) id 1ele5f-0004tX-GT
 for 30428 <at> 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: <xms:5huDWuJchePRcMA7oBOZ1jZA1HXctVbErmdx147KB6OZ4PB6NfYzIQ>
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@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN> <20180212235950.4638aad6@HIDDEN>
 <20180213142258.GA18012@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----EE2NS2XPDKDOL2Q90FG3NC2X0O6J6V"
Content-Transfer-Encoding: 7bit
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone	clones a lot without any use
To: Leo Famulari <leo@HIDDEN>,
 Danny Milosavljevic <dannym@HIDDEN>
From: Marius Bakke <mbakke@HIDDEN>
Message-ID: <5FB5D5D3-87BC-470E-8B89-0F572BFF623A@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <leo@famulari=2Ena=
me> wrote:
>On Mon, Feb 12, 2018 at 11:59:50PM +0100, Danny Milosavljevic wrote:
>> Leo Famulari <leo@famulari=2Ename> 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

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




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 14:23:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 13 09:23:02 2018
Received: from localhost ([127.0.0.1]:40694 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elbU6-0000un-9R
	for submit <at> 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 <leo@HIDDEN>) id 1elbU4-0000u9-Di
 for 30428 <at> 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: <xms:w_SCWovAWcHaTaLTKueYz1KqVnMsEiF_nW_bjdbpuTrk6MAAtmNOLA>
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 <leo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone clones a lot without any use
Message-ID: <20180213142258.GA18012@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN>
 <20180212235950.4638aad6@HIDDEN>
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@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <leo@HIDDEN> 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--




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 13 Feb 2018 01:28:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 12 20:28:13 2018
Received: from localhost ([127.0.0.1]:40291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elPOH-00044X-0j
	for submit <at> 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 <leo@HIDDEN>) id 1elPOE-00044N-4p
 for 30428 <at> 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: <xms:KT-CWooksDKa25hS990H8IGadflnm3DBG6oxMgNLIGsX8W8GBQBcBw>
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@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN> <20180212235950.4638aad6@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="----IVGZZBH8NY5GWX0U0PG5DDSFS9SCYO"
Content-Transfer-Encoding: 7bit
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git clone
 clones a lot without any use
To: Danny Milosavljevic <dannym@HIDDEN>
From: Leo Famulari <leo@HIDDEN>
Message-ID: <7D9604D1-3DAE-4D13-AE73-420E655AC711@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <dannym@scratchpo=
st=2Eorg> wrote:
>Hi Leo,
>
>On Mon, 12 Feb 2018 10:09:39 -0500
>Leo Famulari <leo@famulari=2Ename> 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

<html><head></head><body>I think Google uses JGit for their public facing G=
it servers, but I&#39;m not sure=2E<br><br><div class=3D"gmail_quote">On Fe=
bruary 12, 2018 5:59:50 PM EST, Danny Milosavljevic &lt;dannym@scratchpost=
=2Eorg&gt; wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt=
 0pt 0=2E8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;=
">
<pre class=3D"k9mail">Hi Leo,<br><br>On Mon, 12 Feb 2018 10:09:39 -0500<br=
>Leo Famulari &lt;leo@famulari=2Ename&gt; wrote:<br><br><blockquote class=
=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; border-left: 1px sol=
id #729fcf; padding-left: 1ex;"> I think it's worth adding, but as an optio=
n, because there are Git<br> server implementations, like JGit, that don't =
support shallow cloning=2E<br></blockquote><br>Thanks for that!  I didn't c=
onsider that before=2E=2E=2E<br><br>Possible patch (do you know such server=
s and can test whether they still work?):<br><br>diff --git a/guix/build/gi=
t=2Escm b/guix/build/git=2Escm<br>index c1af545a7=2E=2Ee54d92be7 100644<br>=
--- a/guix/build/git=2Escm<br>+++ b/guix/build/git=2Escm<br>@@ -37,12 +37,1=
8 @@ recursively=2E  Return #t on success, #f otherwise=2E"<br>   ;; in adv=
ance anyway=2E<br>   (setenv "GIT_SSL_NO_VERIFY" "true")<br> <br>+  (mkdir-=
p directory)<br>+<br>   ;; We cannot use "git clone --recursive" since the =
following "git checkout"<br>   ;; effectively removes sub-module checkouts =
as of Git 2=2E6=2E3=2E<br>-  (and (zero? (system* git-command "clone" url d=
irectory))<br>+  (and ;(zero? (system* git-command "clone" url directory))<=
br>        (with-directory-excursion directory<br>-         (system* git-co=
mmand "tag" "-l")<br>-         (and (zero? (system* git-command "checkout" =
commit))<br>+         ;(system* git-command "tag" "-l")<br>+         (invok=
e git-command "init")<br>+         (invoke git-command "remote" "add" "orig=
in" url)<br>+         (and (or (zero? (system* git-command "fetch" "--depth=
" "1" "origin" commit))<br>+                  (zero? (system* git-command "=
fetch" "origin" commit)))<br>+              (zero? (system* git-command "ch=
eckout" "FETCH_HEAD"))<br>               (begin<br>                 (when r=
ecursive?<br>                   ;; Now is the time to fetch sub-modules=2E<=
br></pre></blockquote></div></body></html>
------IVGZZBH8NY5GWX0U0PG5DDSFS9SCYO--




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 12 Feb 2018 22:59:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 12 17:59:58 2018
Received: from localhost ([127.0.0.1]:40174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elN4o-0005Cm-2D
	for submit <at> 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 <dannym@HIDDEN>) id 1elN4n-0005Ce-2j
 for 30428 <at> 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 <dannym@HIDDEN>
To: Leo Famulari <leo@HIDDEN>
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone clones a lot without any use
Message-ID: <20180212235950.4638aad6@HIDDEN>
In-Reply-To: <20180212150939.GA5852@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
 <20180212150939.GA5852@HIDDEN>
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-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Hi Leo,

On Mon, 12 Feb 2018 10:09:39 -0500
Leo Famulari <leo@HIDDEN> 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.




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at 30428 <at> debbugs.gnu.org:


Received: (at 30428) by debbugs.gnu.org; 12 Feb 2018 15:09:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 12 10:09:44 2018
Received: from localhost ([127.0.0.1]:39815 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1elFjk-0005V1-Ge
	for submit <at> 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 <leo@HIDDEN>) id 1elFji-0005Um-BD
 for 30428 <at> 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: <xms:Na6BWgsPsg8QSmG8sVBKWVSBxunGd51l52VDXTX1p0PU1p8YCia3YA>
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 <leo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30428: guix git-fetch doesn't specify "--depth 1" - git
 clone clones a lot without any use
Message-ID: <20180212150939.GA5852@HIDDEN>
References: <20180212011641.3deb7fd6@HIDDEN>
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@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30428
Cc: 30428 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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--




Information forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Feb 2018 00:17:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 11 19:17:02 2018
Received: from localhost ([127.0.0.1]:38745 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1el1nq-0005Cs-MW
	for submit <at> 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 <dannym@HIDDEN>) id 1el1no-0005CK-5B
 for submit <at> 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 <dannym@HIDDEN>) id 1el1nh-0000L4-V2
 for submit <at> 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 <dannym@HIDDEN>)
 id 1el1nh-0000KE-PK
 for submit <at> 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 <dannym@HIDDEN>) id 1el1ng-00023U-EY
 for bug-guix@HIDDEN; Sun, 11 Feb 2018 19:16:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dannym@HIDDEN>) id 1el1nd-0008W5-Qt
 for bug-guix@HIDDEN; 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 <dannym@HIDDEN>)
 id 1el1nd-0008MM-Fl
 for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; Mon, 12 Feb 2018 01:16:45 +0100 (CET)
Date: Mon, 12 Feb 2018 01:16:41 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: <bug-guix@HIDDEN>
Subject: guix git-fetch doesn't specify "--depth 1" - git clone clones a lot
 without any use
Message-ID: <20180212011641.3deb7fd6@HIDDEN>
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 <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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?




Acknowledgement sent to Danny Milosavljevic <dannym@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#30428; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 18 Feb 2018 14:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.