~gotmax23/fedrq

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH fedrq] Adjust releases.toml for changes in EPEL 10+ branching model

Details
Message ID
<173030509877.2565.16426981189741571864-0@git.sr.ht>
DKIM signature
missing
Download raw message
Patch: +42 -1
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

Re: [PATCH fedrq] Adjust releases.toml for changes in EPEL 10+ branching model

Details
Message ID
<D5AAH024K0HI.GDINLUJQ0VW1@gtmx.me>
In-Reply-To
<173030509877.2565.16426981189741571864-0@git.sr.ht> (view parent)
DKIM signature
pass
Download raw message
Applied to main. Thanks for the patch!
Reply to thread Export thread (mbox)