It checks Fedora release state and it restricts retiring operation for other states than 'pending'. States are obtained from service here: https://bodhi.fedoraproject.org/releases/ Unknown releases are allowed to be retired.
Fixes: #337 JIRA: COMPOSE-3690
Signed-off-by: Ondrej Nosek onosek@redhat.com
rebased onto e51e3e65f57397a6ec7f77ac060b1085dc0bc08e
rebased onto 873bc286aba5b869041cb977a62dcd59249341d7
rebased onto 868a3d8fc535a246bf8fa7060e143e9298632fe2
rebased onto 9e5aca6b609d070d36d255f23f0bfaa3793a14fc
rebased onto 27f4bfa793eb9ab193950d3c1647f8ab0a4e0513
rebased onto ebc3ac9ae52559f7d5a7309d07ee0f6027550aa2
Would it be nicer to move this to fedpkg.bodhi section?
fedpkg.bodhi
Looks good to me.
rebased onto 4c5d4c6d1c13b588498c53b3e6643e76ecdd55ff
Pull-Request has been merged by onosek
It checks Fedora release state and it restricts retiring operation
for other states than 'pending'. States are obtained from service here:
https://bodhi.fedoraproject.org/releases/
Unknown releases are allowed to be retired.
Fixes: #337
JIRA: COMPOSE-3690
Signed-off-by: Ondrej Nosek onosek@redhat.com