#80 Add a new endpoint collecting the bodhi updates info for a package
Merged by pingou. Opened by pingou.
bodhi_update_endpoints  into  master

Download 80.patch

This endpoint returns either a JSON blob or a html table containing all
the releases found in either bodhi or mdapi for the active releases
(pending and stable) retrieved from bodhi.

This endpoint currently only support the rpms namespace so it strips
out all the flatpaks, containers and modular releases of Fedora.

Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr

wfm for rpms/*

for the rest of namespaces, we're explicitly giving a 400 error and excluding results for it on output parsing from bodhi.

Should we allow (now or later) using this endpoint with {flatpak,modular} namespaces and return their respective results? Dunno if it fits the UX idea behind this PR.

We'll need to figure how this work for modules and flatpaks for sure but I figured baby steps, do RPMs first figure the other after.

fair enough, lgtm =)

thanks for the review and input :)

Pull-Request has been merged by pingou

Metadata