centpkg current-state
does not correctly report target version
This is currently the centpkg current-state
output:
$ centpkg co nodejs22
Cloning into 'nodejs22'...
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (86/86), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 89 (delta 36), reused 86 (delta 36), pack-reused 3 (from 1)
Receiving objects: 100% (89/89), 103.47 KiB | 1.62 MiB/s, done.
Resolving deltas: 100% (36/36), done.
$ cd nodejs22
$ centpkg current-state
Checking current state...
Current RHEL status:
The latest active Y-stream release is RHEL 10.2
This project is targeting RHEL 10.1
The latest and targeted versions differ.
If this is not intentional, please see
https://one.redhat.com/rhel-development-guide/#proc_centos-stream-first_assembly_rhel-9-development
for details on how to unlock Y-stream development by creating the rhel-10.1 branch.
The 10.1 release is currently in Stabilization phase
The --rhel-target argument must be used when building.
Ticket approvals are currently required for merge request approval.
I don't think it is correct, because ATM the z-stream is still RHEL 10.0 and will be until RHEL 10.1 is officially released.