summaryrefslogtreecommitdiffstats
path: root/repo-gentoo-git
diff options
context:
space:
mode:
authorWolfgang Müller2022-07-10 18:36:42 +0200
committerWolfgang Müller2022-07-10 18:36:42 +0200
commit502a22acbbe129a7fc9072dc221c06ade9f1044e (patch)
tree90f0922dd6054c816791d26f532079d66760c999 /repo-gentoo-git
parentd19745bd5818716d95e7a7e2aa730d9b41c14b52 (diff)
downloadportage-roles-502a22acbbe129a7fc9072dc221c06ade9f1044e.tar.gz
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
Diffstat (limited to 'repo-gentoo-git')
-rw-r--r--repo-gentoo-git/repos.conf/gentoo.conf1
1 files changed, 1 insertions, 0 deletions
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