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
Check that the dist tag uses the correct value #58
Comments
Koji doesn't give the expanded disttag in its output, but I think we can use the build target and derive a disttag from that. Here's what I'm thinking:
Right now rpminspect works when comparing two builds within the same build target because it derives the disttag value from the Release tag in the RPM headers. If they don't match, then it knows you are comparing two builds from different build targets. In rpminspect.conf, I am thinking it can either carry a 1:1 mapping of targets to disttags. Such as: Or a transpose rule, like: Either way, this mapping information will have to be maintained just like the rest of the data in rpminspect-data-fedora. Thoughts? |
I would still like to implement something here, but I think it's going to require some contributions to the Koji API to have it report out the dist tag as expanded in the mock environment used for building. I don't think that's impossible, but that would be the first step before I can do anything in rpminspect. I have opened https://pagure.io/koji/issue/2760 requesting this functionality in Koji. |
Just a note: A valid Fedora 37 dist tag might as well be |
dist tags are pretty fluid and we have a rough pattern we follow, but we are deliberately not that strict. I don't think a check here can be implemented reliably after thinking about this for a while. If someone has a better idea, please let me know. |
When checking the EVR allow to check that the dist tag uses the right value, for example builds for Fedora 31 should use fc31.
The text was updated successfully, but these errors were encountered: