On 08/11/2025 11:22, Michał Górny wrote:
On Sat, 2025-11-08 at 11:15 +0100, Nowa Ammerlaan wrote:
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'.


...but that's what 'remove' does?


It did not for me, it removed the entry from repos.conf.d, but clearly at least the .git dir was still present.

Reply via email to