From: Michel Lind <salimma@fedoraproject.org>
`epelX` now track CentOS Stream for X >= 10, so there is no more
`epelX-next` with X >= 10:
https://discussion.fedoraproject.org/t/epel-10-status-update/124549/2
This causes noise when using the `fedrq` Python API, and the CLI just
flat out fail when querying with `-b c10s -r @epel` when it could not
refresh `epel10-next`.
Adjust the mapping: previous `centos-stream` copied over to
`centos-stream9` matching c9s only, and `centos-stream` modified to
match 10+ and drop `epel-next*`.
Tested:
```
$ fedrq pkgs retsnoop -b c10s -r @epel
retsnoop-0.10.1-2.el10_0.src
retsnoop-0.10.1-2.el10_0.x86_64
$ fedrq pkgs retsnoop -b c9s
$ fedrq pkgs retsnoop -b c9s -r @epel
retsnoop-0.10.1-1.el9.src
retsnoop-0.10.1-1.el9.x86_64
$ fedrq pkgs rmol -b c9s
$ fedrq pkgs rmol -b c9s -r @epel
rmol-1.00.11-1.el9.next.src
rmol-1.00.11-1.el9.next.x86_64
$ fedrq pkgs rmol -b ubi9
$ fedrq pkgs rmol -b ubi9 -r @epel
rmol-1.00.8-1.el9.src
rmol-1.00.8-1.el9.x86_64
```
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
---
src/fedrq/data/releases.toml | 43 +++++++++++++++++++++++++++++++++++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/src/fedrq/data/releases.toml b/src/fedrq/data/releases.toml
index de2b9c2..1aa7735 100644
--- a/src/fedrq/data/releases.toml
+++ b/src/fedrq/data/releases.toml
@@ -78,7 +78,48 @@ defs.next-testing-only = ["epel-next-testing", "epel-next-testing-source"]
[releases.centos-stream]
-matcher = '^c(9|1\d)s'
+matcher = '^c(1\d)s'
+copr_chroot_fmt = "centos-stream-{version}"
+defpaths = [
+ "centos-stream.repo",
+ "centos-stream-compose.repo",
+ "epel.repo",
+]
+system_repos = false
+defs.base = [
+ "fedrq-centos-stream-baseos",
+ "fedrq-centos-stream-baseos-source",
+ "fedrq-centos-stream-appstream",
+ "fedrq-centos-stream-appstream-source",
+ "fedrq-centos-stream-crb",
+ "fedrq-centos-stream-crb-source",
+]
+defs.epel = [
+ # base
+ "fedrq-centos-stream-baseos",
+ "fedrq-centos-stream-baseos-source",
+ "fedrq-centos-stream-appstream",
+ "fedrq-centos-stream-appstream-source",
+ "fedrq-centos-stream-crb",
+ "fedrq-centos-stream-crb-source",
+ # epel
+ "@repo:epel",
+ "epel-source",
+]
+defs.no-crb = [
+ "fedrq-centos-stream-baseos",
+ "fedrq-centos-stream-baseos-source",
+ "fedrq-centos-stream-appstream",
+ "fedrq-centos-stream-appstream-source",
+]
+defs.compose-latest = [
+ "centos-stream-compose-latest-*",
+]
+
+repo_aliases.kojihub = "@baseurl:https://kojihub.stream.centos.org/kojifiles/repos/{}/latest/$basearch"
+
+[releases.centos-stream9]
+matcher = '^c(9)s'
copr_chroot_fmt = "centos-stream-{version}"
defpaths = [
"centos-stream.repo",
--
2.45.2