From 502a22acbbe129a7fc9072dc221c06ade9f1044e Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 10 Jul 2022 18:36:42 +0200 Subject: repo-gentoo-git: Set sync-depth to 1 This is a workaround [1] for the clone sometimes stalling with the following message: error: RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 fatal: the remote end hung up unexpectedly We have only seen this message on two machines so far, but there's no downside in setting sync-depth globally. [1] https://bugs.gentoo.org/824782#c17 --- repo-gentoo-git/repos.conf/gentoo.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/repo-gentoo-git/repos.conf/gentoo.conf b/repo-gentoo-git/repos.conf/gentoo.conf index 1881142..aeb1918 100644 --- a/repo-gentoo-git/repos.conf/gentoo.conf +++ b/repo-gentoo-git/repos.conf/gentoo.conf @@ -4,5 +4,6 @@ main-repo = gentoo [gentoo] location = /var/portage/repos/gentoo sync-type = git +sync-depth = 1 sync-uri = https://anongit.gentoo.org/git/repo/sync/gentoo.git sync-git-verify-commit-signature = true -- cgit v1.2.3-2-gb3c3