On 07/10/2025 07:45, Sam James wrote:
From: Michał Górny <[email protected]>

Signed-off-by: Michał Górny <[email protected]>
Signed-off-by: Sam James <[email protected]>
---
  ...10-07-cache-enabled-mirrors-removal.en.txt | 33 +++++++++++++++++++
  1 file changed, 33 insertions(+)
  create mode 100644 
2025-10-07-cache-enabled-mirrors-removal/2025-10-07-cache-enabled-mirrors-removal.en.txt

diff --git 
a/2025-10-07-cache-enabled-mirrors-removal/2025-10-07-cache-enabled-mirrors-removal.en.txt
 
b/2025-10-07-cache-enabled-mirrors-removal/2025-10-07-cache-enabled-mirrors-removal.en.txt
new file mode 100644
index 0000000..3812631
--- /dev/null
+++ 
b/2025-10-07-cache-enabled-mirrors-removal/2025-10-07-cache-enabled-mirrors-removal.en.txt
@@ -0,0 +1,33 @@
+Title: Cache-enabled sync mirrors only for official repos
+Author: Michał Górny <[email protected]>
+Posted: 2025-10-07
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: app-eselect/eselect-repository
+
+Due to increasing maintenance costs and complexities, Gentoo is going to
+stop providing the cache-enabled git syncing mirrors found in the
+gentoo-mirror GitHub organization [1], and CI services for third-party
+repositories. We will continue providing mirrors for a curated set of
+official repositories, including ::gentoo, ::guru, ::kde, and ::science.
+The remaining mirrors will be removed on 2025-10-30.
+
+Users who have previously added repositories using
+<app-eselect/eselect-repository-15 may need to readd these repositories
+with >=app-eselect/eselect-repository-15, in order to update their sync
+URIs.  For example, the following can be used:
+
+       eselect repository remove ${repository}
+       eselect repository enable ${repository}

There's some extra steps required if the branch name of the repo is different then the branch name of the cache-enabled mirror:

>>> Syncing repository 'natinst' into '/var/db/repos/natinst'...
git remote set-url origin https://github.com/Nowa-Ammerlaan/natinst.git
/usr/bin/git fetch origin --depth 1
fatal: couldn't find remote ref refs/heads/master
!!! git fetch error in /var/db/repos/natinst

This happens because the branch name in the repo is set to the new default "main" as opposed to "master" which was the branch name in the mirror.

The quick fix is to 'rm -r /var/db/repos/natinst'.

+
+Once the mirrors are discontinued, we are going to remove them entirely
+in order to trigger sync errors for the remaining users, and ensure
+that they are not stuck on non-updated mirrors.
+
+This change does not affect users who have not used eselect-repository
+or the gentoo-mirror repositories.  It does not affect the availability
+of these repositories via >=app-eselect/eselect-repository-15
+and repositories.xml -- the official upstream sync URI will be used
+instead.
+
+[1] https://github.com/gentoo-mirror/

base-commit: 0c030b4ca9aafb7d44026c5e1f99108d979be9a6

Best regards,
Nowa

Reply via email to