New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong version reported for Ruby #35
Comments
|
Analyzing the issue, the problem seems to be here: mdapi/mdapi/services/__init__.py Lines 77 to 85 in e9d4439
The This is later filtered by: mdapi/mdapi/services/__init__.py Line 81 in e9d4439
I.e. the |
If there is multiple subpackages from single SRPM, the first subpackage is taken. This is fine as long as the subpackages are reusing the main package versioning, which might not always be the case. To avoid issue, from the list of subpackages, try to select first the package which matches the source package name. Unfortunately, this still leaves room for issues, where there is no subpackage of the same name as SRPM and when the versioning of subpackages differs from the SRPM version. Fixes fedora-infra#35
If there is multiple subpackages from single SRPM, the first subpackage is taken. This is fine as long as the subpackages are reusing the main package versioning, which might not always be the case. To avoid issue, from the list of subpackages, try to select first the package which matches the source package name. Unfortunately, this still leaves room for issues, where there is no subpackage of the same name as SRPM and when the versioning of subpackages differs from the SRPM version. Fixes fedora-infra#35
If there is multiple subpackages from single SRPM, the first subpackage is taken. This is fine as long as the subpackages are reusing the main package versioning, which might not always be the case. To avoid issue, from the list of subpackages, try to select first the package which matches the source package name. Unfortunately, this still leaves room for issues, where there is no subpackage of the same name as SRPM and when the versioning of subpackages differs from the SRPM version. Fixes fedora-infra#35
This is mostly clone of https://pagure.io/mdapi/issue/115
I was complaining, that the-new-hotness does not report new versions available, but the analysis discovered, that the mdapi is to blame, because it reports wrong version. This is the latest Ruby build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=2093827
Apparently, it is ruby-3.1.3-172.fc38, but the mdapi reports version 6.4.0. There is actually rubygem-rdoc-6.4.0-172.fc38.noarch.rpm subpackage of Ruby package, but I have no idea why is this version represented as the Ruby version.
The text was updated successfully, but these errors were encountered: