From 9ee6799a62af0afa9579591c2cf70ebe3191a739 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma@fedoraproject.org>
Date: Jan 11 2023 22:37:06 +0000
Subject: Add Hyperscale testing repos for CentOS Stream 8


Default to disabled since they are for testing only (and unsigned)

```
rpmdistro-repoquery/distros on  c8s-hyperscale [!]
❯ ../rpmdistro-repoquery ./centos-stream-legacy.conf 8 --disablerepo=\* --enablerepo=centos-hyperscale-testing,centos-hyperscale-experimental-testing,centos-hyperscale-spin-testing,centos-hyperscale-facebook-testing,centos-hyperscale-intel-testing --refresh --qf "%{source_name}-%{version}-%{release} %{vendor}" xz
CentOS Stream 8 - Hyperscale - Testing                                                                             8.5 kB/s | 3.0 kB     00:00
CentOS Stream 8 - Hyperscale Experimental - Testing                                                                 12 kB/s | 3.0 kB     00:00
CentOS Stream 8 - Hyperscale Facebook - Testing                                                                     12 kB/s | 3.0 kB     00:00
CentOS Stream 8 - Hyperscale Intel - Testing                                                                       484 kB/s | 738 kB     00:01
CentOS Stream 8 - Hyperscale Spin - Testing                                                                        5.3 kB/s | 3.3 kB     00:00
xz-5.2.4-4.hs+intel.el8 CentOS Hyperscale SIG
```

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

---

diff --git a/distros/centos-stream-legacy.conf b/distros/centos-stream-legacy.conf
index d4d962a..02b743c 100644
--- a/distros/centos-stream-legacy.conf
+++ b/distros/centos-stream-legacy.conf
@@ -62,6 +62,7 @@ gpgcheck=1
 skip_if_unavailable=False
 
 # SIG repos
+## Hyperscale
 [centos-hyperscale]
 name=CentOS Stream $releasever - Hyperscale
 mirrorlist=http://mirrorlist.centos.org/?release=$releasever-stream&arch=$basearch&repo=hyperscale-packages-main
@@ -84,14 +85,6 @@ gpgcheck=1
 enabled=0
 gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale
 
-# These contain packages meant for Intel use; might not be suitable for general use
-[centos-hyperscale-intel]
-name=CentOS Stream $releasever - Hyperscale Intel
-mirrorlist=http://mirrorlist.centos.org/?release=$releasever-stream&arch=$basearch&repo=hyperscale-packages-intel
-gpgcheck=1
-enabled=0
-gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale
-
 [centos-hyperscale-hotfixes]
 name=CentOS Stream $releasever - Hyperscale Hotfixes
 mirrorlist=http://mirrorlist.centos.org/?release=$releasever-stream&arch=$basearch&repo=hyperscale-packages-hotfixes
@@ -100,6 +93,14 @@ enabled=0
 module_hotfixes=1
 gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale
 
+# These contain packages meant for Intel use; might not be suitable for general use
+[centos-hyperscale-intel]
+name=CentOS Stream $releasever - Hyperscale Intel
+mirrorlist=http://mirrorlist.centos.org/?release=$releasever-stream&arch=$basearch&repo=hyperscale-packages-intel
+gpgcheck=1
+enabled=0
+gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale
+
 [centos-hyperscale-spin]
 name=CentOS Stream $releasever - Hyperscale Spin
 mirrorlist=http://mirrorlist.centos.org/?release=$releasever-stream&arch=$basearch&repo=hyperscale-packages-spin
@@ -107,3 +108,41 @@ gpgcheck=1
 enabled=0
 priority=50
 gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-HyperScale
+
+## Hyperscale test repos
+[centos-hyperscale-testing]
+name=CentOS Stream $releasever - Hyperscale - Testing
+baseurl=https://buildlogs.centos.org/centos/$releasever-stream/hyperscale/$basearch/packages-main/
+gpgcheck=0
+priority=50
+enabled=0
+
+[centos-hyperscale-experimental-testing]
+name=CentOS Stream $releasever - Hyperscale Experimental - Testing
+baseurl=https://buildlogs.centos.org/centos/$releasever-stream/hyperscale/$basearch/packages-experimental/
+gpgcheck=0
+priority=50
+enabled=0
+
+# These contain packages meant for Facebook use; might not be suitable for general use
+[centos-hyperscale-facebook-testing]
+name=CentOS Stream $releasever - Hyperscale Facebook - Testing
+baseurl=https://buildlogs.centos.org/centos/$releasever-stream/hyperscale/$basearch/packages-facebook/
+gpgcheck=0
+priority=50
+enabled=0
+
+# These contain packages meant for Intel use; might not be suitable for general use
+[centos-hyperscale-intel-testing]
+name=CentOS Stream $releasever - Hyperscale Intel - Testing
+baseurl=https://buildlogs.centos.org/centos/$releasever-stream/hyperscale/$basearch/packages-intel/
+gpgcheck=0
+priority=50
+enabled=0
+
+[centos-hyperscale-spin-testing]
+name=CentOS Stream $releasever - Hyperscale Spin - Testing
+baseurl=https://buildlogs.centos.org/centos/$releasever-stream/hyperscale/$basearch/packages-spin/
+gpgcheck=0
+priority=50
+enabled=0

