public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Exposing sync/* repositories better
@ 2025-03-22 11:41 Michał Górny
  2025-03-22 15:46 ` [gentoo-dev] [PATCH api.g.o] repositories: Add the "sync" repos for gentoo & guru Michał Górny
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2025-03-22 11:41 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]

Hello, everyone.

TL;DR: should we expose "syncing" mirrors directly in our base
repositories.xml?


Per my previously announcement, I'd like to wind down the "public"
service of mirroring all Gentoo repositories, and limit it to the few
repositories we have control over -- at least ::gentoo and ::guru.  This
makes me want to reconsider how we're publishing these mirrors right
now.

Just to clarify, we are talking about these mirrors:

  https://github.com/gentoo-mirror/gentoo
  https://gitweb.gentoo.org/repo/sync/gentoo.git

and:

  https://github.com/gentoo-mirror/guru
  https://gitweb.gentoo.org/repo/sync/guru.git

Currently, our primary repositories.xml file [1] lists only rsync
and the "standard" git repository.  The "mirror" repositories are
overimposed on them in a separate repository [2].  eselect-repo defaults
to using the latter.

What I'm wondering about is whether we should add the aforementioned
mirror repositories into the former repositories.xml, and sunset
the latter.  I think it would improve the consistency, given that
the "mirror" repository has the same contents as rsync (unlike
the "standard" repository) -- but I'm not sure if this won't break
somebody's workflow.

WDYT?


[1] https://gitweb.gentoo.org/data/api.git/tree/files/overlays/repositories.xml
[2] https://qa-reports.gentoo.org/output/repos/repositories.xml

-- 
Best regards,
Michał Górny


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev] [PATCH api.g.o] repositories: Add the "sync" repos for gentoo & guru
  2025-03-22 11:41 [gentoo-dev] [RFC] Exposing sync/* repositories better Michał Górny
@ 2025-03-22 15:46 ` Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2025-03-22 15:46 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Add the "sync" sources for ::gentoo and ::guru repositories
that provide the extra combined metadata and md5-cache.  While arguably
this is not the same thing, the list already includes rsync source
which is actually closer to the "sync" repositories than the upstream
repositories.
---
 files/overlays/repositories.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/files/overlays/repositories.xml b/files/overlays/repositories.xml
index a338df5..ca1a2ca 100755
--- a/files/overlays/repositories.xml
+++ b/files/overlays/repositories.xml
@@ -1686,6 +1686,13 @@
       <email>bug-wranglers@gentoo.org</email>
     </owner>
     <source type="rsync">rsync://rsync.gentoo.org/gentoo-portage</source>
+    <!-- repositories with extra metadata and md5-cache -->
+    <source type="git">https://github.com/gentoo-mirror/gentoo.git</source>
+    <source type="git">git+ssh://github.com/gentoo-mirror/gentoo.git</source>
+    <source type="git">https://anongit.gentoo.org/git/repo/sync/gentoo.git</source>
+    <source type="git">git://anongit.gentoo.org/repo/sync/gentoo.git</source>
+    <source type="git">git+ssh://git@git.gentoo.org/repo/sync/gentoo.git</source>
+    <!-- bare repositories -->
     <source type="git">https://anongit.gentoo.org/git/repo/gentoo.git</source>
     <source type="git">git://anongit.gentoo.org/repo/gentoo.git</source>
     <source type="git">git+ssh://git@git.gentoo.org/repo/gentoo.git</source>
@@ -1924,6 +1931,12 @@
       <email>guru@gentoo.org</email>
       <name>GURU</name>
     </owner>
+    <!-- repositories with extra metadata and md5-cache -->
+    <source type="git">https://github.com/gentoo-mirror/guru.git</source>
+    <source type="git">git+ssh://github.com/gentoo-mirror/guru.git</source>
+    <source type="git">https://anongit.gentoo.org/git/repo/sync/guru.git</source>
+    <source type="git">git+ssh://git@git.gentoo.org/repo/sync/guru.git</source>
+    <!-- bare repositories -->
     <source type="git">https://anongit.gentoo.org/git/repo/proj/guru.git</source>
     <source type="git">git+ssh://git@git.gentoo.org/repo/proj/guru.git</source>
     <feed>https://cgit.gentoo.org/repo/proj/guru.git/atom/</feed>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-22 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-22 11:41 [gentoo-dev] [RFC] Exposing sync/* repositories better Michał Górny
2025-03-22 15:46 ` [gentoo-dev] [PATCH api.g.o] repositories: Add the "sync" repos for gentoo & guru Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox