#8 Fix Hyperscale source repo metalinks and switch to it
Merged 2 years ago by ngompa. Opened 2 years ago by salimma.
salimma/rpmdistro-repoquery c9s-hyperscale  into  main

file modified
+8 -8
@@ -235,16 +235,16 @@ 

  ## Hyperscale source repos

  [centos-hyperscale-source]

  name=CentOS Stream $releasever - Hyperscale - Source

- #metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-main-$releasever-stream&arch=source&protocol=https,http

- baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-main/

+ metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-main-source-$releasever-stream&arch=source&protocol=https,http

+ #baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-main/

  gpgcheck=1

  enabled=0

  gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale

  

  [centos-hyperscale-experimental-source]

  name=CentOS Stream $releasever - Hyperscale Experimental - Source

- #metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-experimental-$releasever-stream&arch=source&protocol=https,http

- baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-experimental/

+ metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-experimental-source-$releasever-stream&arch=source&protocol=https,http

+ #baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-experimental/

  gpgcheck=1

  enabled=0

  gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale
@@ -252,16 +252,16 @@ 

  # These contain packages meant for Facebook use; might not be suitable for general use

  [centos-hyperscale-facebook-source]

  name=CentOS Stream $releasever - Hyperscale Facebook - Source

- #metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-facebook-$releasever-stream&arch=source&protocol=https,http

- baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-facebook/

+ metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-facebook-source-$releasever-stream&arch=source&protocol=https,http

+ #baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-facebook/

  gpgcheck=1

  enabled=0

  gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale

  

  [centos-hyperscale-spin-source]

  name=CentOS Stream $releasever - Hyperscale Spin - Source

- #metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-spin-$releasever-stream&arch=source&protocol=https,http

- baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-spin/

+ metalink=https://mirrors.centos.org/metalink?repo=centos-hyperscale-sig-packages-spin-source-$releasever-stream&arch=source&protocol=https,http

+ #baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/hyperscale/source/packages-spin/

  gpgcheck=1

  enabled=0

  priority=50

The metalinks were missing -source in the repo names, which is why
they did not work:

Per https://sigs.centos.org/guide/delivery/#centos-stream-9-and-above_1

rpmdistro-repoquery/distros on  c9s-hyperscale [?]
❯ curl 'https://mirrors.centos.org/metalink?repo=unknown&arch=x86_64' -s | grep hyperscale | grep source
 # repo=centos-hyperscale-sig-packages-experimental-source-9-stream&arch=source
 # repo=centos-hyperscale-sig-packages-facebook-source-9-stream&arch=source
 # repo=centos-hyperscale-sig-packages-main-source-9-stream&arch=source
 # repo=centos-hyperscale-sig-packages-spin-source-9-stream&arch=source

Verify that metalinks work

rpmdistro-repoquery/distros on  c9s-hyperscale [!?] took 1m7s
❯ ../rpmdistro-repoquery ./centos-stream.conf 9 --disablerepo=\* --enablerepo=centos-hyperscale-source,centos-hyperscale-experimental-source,centos-hyperscale-spin-source,centos-hyperscale-facebook-source --refresh --qf "%{repoid} %{name}-%{version}-%{release} %{vendor}"
CentOS Stream 9 - Hyperscale Spin - Source                                                                         223  B/s | 4.6 kB     00:21
CentOS Stream 9 - Hyperscale - Source                                                                              8.0 kB/s | 8.3 kB     00:01
CentOS Stream 9 - Hyperscale Experimental - Source                                                                  11 kB/s | 9.8 kB     00:00
CentOS Stream 9 - Hyperscale Facebook - Source                                                                     342  B/s | 7.4 kB     00:22
centos-hyperscale-experimental-source btrfs-progs-5.16.2-1.1.hsx.el9 CentOS Hyperscale SIG
centos-hyperscale-experimental-source btrfs-progs-5.16.2-1.3.hsx.el9 CentOS Hyperscale SIG
centos-hyperscale-experimental-source compsize-1.5-3.hsx.el9 CentOS Hyperscale SIG
centos-hyperscale-experimental-source createrepo_c-0.17.7-4.1.hsx.el9 CentOS Hyperscale SIG
centos-hyperscale-experimental-source createrepo_c-0.20.1-1.1.hsx.el9 CentOS Hyperscale SIG
...

Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org

Pull-Request has been merged by ngompa

2 years ago
Metadata