From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C1865158042 for ; Sat, 26 Oct 2024 15:25:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0CC2E0A5C; Sat, 26 Oct 2024 15:25:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88F59E09D6 for ; Sat, 26 Oct 2024 15:25:33 +0000 (UTC) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5c984352742so3248985a12.1 for ; Sat, 26 Oct 2024 08:25:32 -0700 (PDT) X-Gm-Message-State: AOJu0YxaYUOpbb5elNZBs13zua80B5e0daZiAFk7yn+RZzkAl8iFnurj AeXlx+RE201fnH89hGIo6ukN5iRQ3gi2OwW5zbvcEVJDVYHZwG0P9Bl7Y/n6cYZZ0HA04oigSmb HXKTBbSfyyk+iSFHOP04KaDZhmKo= X-Google-Smtp-Source: AGHT+IHiqull9Z4F1bY+QXN41Mqu5DDg/zDYpAcMRSISN/vUJI+x7ct1hrc6gPumj2VKGEkg1y095fjkcZjUbX9Z9X4= X-Received: by 2002:a05:6402:354a:b0:5c9:8a75:a707 with SMTP id 4fb4d7f45d1cf-5cbbf876eecmr1952755a12.2.1729956330052; Sat, 26 Oct 2024 08:25:30 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <20241023032429.1874420-1-eschwartz@gentoo.org> In-Reply-To: From: Mike Gilbert Date: Sat, 26 Oct 2024 11:25:18 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] [PATCH] profiles/thirdpartymirrors: add final fallback for apache To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 04dda9b9-5b2e-4c7d-bba1-b7df81c86247 X-Archives-Hash: 86f922a3b7d8c0384f591ba0a1b18d4e On Sat, Oct 26, 2024 at 1:03=E2=80=AFAM Robin H. Johnson wrote: > > On Tue, Oct 22, 2024 at 11:24:29PM -0400, Eli Schwartz wrote: > > Apache has a mirror network, which only covers the most recent release > > of any given package. They also have an additional site which does not > > appear to be a CDN, and is throttled and can maybe ban you if you use i= t > > too much. Unfortunately, it is also the ONLY way to actually get > > historic releases of many packages. > > > > Use it, and use it last -- after every other mirror has been tried, > > which should handle latest releases. In combination with GENTOO_MIRRORS > > this should ensure that users can actually download software when > > needed, without running afoul of throttling. > This does not actually do it "last" as you claim. > > Portage shuffles the list of thirdpartymirrors: > https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/package/ebuil= d/fetch.py#n1140 > > While it increases mirror burden; this should likely be done as a > distinct thirdpartymirror: > apache-historical https://archive.apache.org/dist/ > > And that gets used in ebuilds when distfiles fall off the main mirrors > [until such time as strictly ordered behavior is available]. I assume Eli was trying to avoid having to update old ebuilds. I don't really see any point in adding an apache-historical entry in thirdpartymirrors; just inline https://archive.apache.org/dist/ into SRC_URI if the ebuild requires it.