On Wed, Sep 30, 2020 at 02:15:34PM +0100, José Abílio Matos wrote:
> On Wednesday, September 30, 2020 1:19:51 PM WEST Pierre-Yves Chibon wrote:
> > It actually queries bodhi and failing to find things in it, it fallsback to
> > mdapi normally.
> > Potential bug in the logic?
> 
> Another example:
> https://src.fedoraproject.org/rpms/texlive

So after some search the answer is simple.
There was no recent build of that package that went through bodhi, so the code
falls back to mdapi.
mdapi has no f34 branches: https://mdapi.fedoraproject.org/branches

I'm looking at telling the api endpoint gathering the info to do something like:
if the most recent Fedora release is not listed in mdapi's branches, consider it
to be "rawhide".
It seems to work, though the output surprises me a little bit:
Fedora 34       texlive-tcolorbox-27.fc33
mdapi finds that the version of texlive is "tcolorbox"
https://mdapi.fedoraproject.org/rawhide/srcpkg/texlive
Not quite sure what's going on there.


Pierre
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to