From b5e2ea3cc02a2466c5bee3b0e650869f4ddf438c Mon Sep 17 00:00:00 2001 From: Andrea Cervesato Date: Tue, 10 Dec 2024 09:44:06 +0100 Subject: [PATCH] doc: fix syscalls file download Github is not reliable and often returns "429: Too Many Requests" so we switch to kernel.org to download syscalls file which is more reliable. Signed-off-by: Andrea Cervesato --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index aed0cd50fdf..789a0db6e72 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -120,7 +120,7 @@ def generate_syscalls_stats(_): try: socket.setdefaulttimeout(3) urllib.request.urlretrieve( - "https://raw.githubusercontent.com/torvalds/linux/master/arch/mips/kernel/syscalls/syscall_n64.tbl", + "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/arch/mips/kernel/syscalls/syscall_n64.tbl", "syscalls.tbl") except Exception as err: error = True