[PATCH 1/2] add repoinfo.getreleases() and get_bodhi_releases()