From owner-freebsd-current@freebsd.org Wed Sep 2 12:28:32 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 52D0B3D6D80; Wed, 2 Sep 2020 12:28:32 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhNX01blpz4gqL; Wed, 2 Sep 2020 12:28:32 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [IPv6:2a01:678:4:1::228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id F2F64233EB; Wed, 2 Sep 2020 12:28:31 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (aching.in.absolight.net [79.143.241.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id CF7B5942D81; Wed, 2 Sep 2020 12:28:30 +0000 (UTC) Date: Wed, 2 Sep 2020 14:27:59 +0200 From: Mathieu Arnold To: Thomas Mueller Cc: freebsd-current@freebsd.org, freebsd-git@freebsd.org Subject: Re: Please check the current beta git conversions Message-ID: <20200902122759.b6zhbc4qa4jgicdx@aching.in.mat.cc> References: <20200901172340.ygmenn4uejciihlx@tilda.center> <90551.1598981857@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iwjxfviwa6s3u2l5" Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 12:28:32 -0000 --iwjxfviwa6s3u2l5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 02, 2020 at 02:37:45AM +0000, Thomas Mueller wrote: > from Ed Maste: >=20 > > > Any guidance on amount of diskspace and how long it takes to clone th= e repo ? >=20 > > I see just over 3GB in my clone, including about 2.5GB in the .git dire= ctory. >=20 > > If you have only one checkout git will require a bit more disk space > > than svn. However, if you have two or more working trees (say, vanilla > > FreeBSD and multiple work-in-progress trees, or head and stable > > branches, etc.) using "git worktree" will share the .git directory and > > in total will occupy less space than the equivalent in svn. >=20 > > I'd expect clones to take minutes, although cgit-beta is running on a > > lower spec jail host and might have trouble if many people are cloning > > at the same time. >=20 > 2.5 GB in .git directory sounds crazy and incomprehensible to me. 2.5GB is for the full history, if you only care about the main branch, you can clone with: git clone --branch=3Dmain --single-branch https... It will cut .git down to about 1.2GB. If you do not care about the history and only want the tip of the branch, you can also use: git clone --branch=3Dmain --depth 1 https... This will cut it down even more to about 270MB. --=20 Mathieu Arnold --iwjxfviwa6s3u2l5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAl9Pj8tfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2 MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd fgJjeA/+LOfcmiNV3LGpV+Las6F0/lzml7zyM1wxUScr9yoDhQormQjZdxVQoRtR sHN7CKbhxksuhvH0odeYGwdiAWepWujrrocMdRSU+2WANzMtmoK0a08dhEQj+ODA +HL7+fEiKQh9ILL7N3KFeZe2CfcNuUhjlhZYIX6jG94en6JrWAwm1r6gOckZ4E08 jy+8faGasvW1FtoQYHWY2KEODbWl+jk4zWFOVptEQT7F8DxRzr6g8H5Jxq9xrTQC GUDn9fz6MYNizY7SLpXMxY3dQU86pnJY5I3l84lugshSpUZCYxetBRkE2/F/yr/6 s++h1Vt2CsqTWtWg2ichXNyLtaW6cvHfcRJ2VHihJa17lrg7hlBYY6HQLx1GuTBn FMA9rdlIGu5vgNGue0oX2CWftZlD2at1Iim/b0td9EW1UGg9EbiwwKmHSiNSLWR0 KCS0RmGjai9sG/TiiwCkPE261uR0mHtfXqMMGG96UCz1r7d3qVpwqImxVh4USRjL 43c1Pr+0W5/rytDZMl98X0HaEPJeHYft+Bxgm23MGVPs/ZPUKi8jd3CobJZPjXsk IJLweeWqT7+RyBSDIA7g1MRWdUlogOU8oR0V9/4y+oXOYC7ZlKM7jqRGVcLOQ2f1 /rxgZXeQPHS6ILY0I75w1vwX8BXx/EJaGbCt++M1f1BvvfDU8sY= =opU3 -----END PGP SIGNATURE----- --iwjxfviwa6s3u2l5--