This PR updates the query_bodhi function to dynamically exclude the Rawhide branch from the list of Fedora branches, ensuring that Rawhide is handled correctly without being hard coded.
Changes Made:
Modified query_bodhi to fetch the active Fedora releases from Bodhi.
Extracted the version associated with the rawhide branch to dynamically construct the Rawhide branch name (e.g., f42).
Excluded the dynamically constructed Rawhide branch (f{version}) from being yielded, preventing redundant or incorrect handling as a stable release.
(Rawhide is the rolling development branch of Fedora and requires separate treatment from stable releases and may issues were being faced regarding this such as: https://pagure.io/releng/fedora-scm-requests/issue/66666)
Description:
This PR updates the query_bodhi function to dynamically exclude the Rawhide branch from the list of Fedora branches, ensuring that Rawhide is handled correctly without being hard coded.
Changes Made:
(Rawhide is the rolling development branch of Fedora and requires separate treatment from stable releases and may issues were being faced regarding this such as: https://pagure.io/releng/fedora-scm-requests/issue/66666)
Releng Issue: https://pagure.io/releng/issue/12311
Fedpkg Issue: https://pagure.io/fedpkg/issue/566
Open for review, and this is my first fedpkg PR so more eyes are welcome!
Signed-off-by: Samyak Jain samyak.jn11@gmail.com