This adds initial support for v6 rpms in Koji. The main issue is Koji's past reliance on the sigmd5 field, which does not exist in v6. The major workhorses here are new get_rpm_ident() and related functions which are used numerous places where we previously used sigmd5 to identify rpms. Additionally, we have added new fields in the rpminfo table to record the various hashes that might be contained in the signature header.
Overall, this problem is trickier that it might as first seem.
Fixes https://pagure.io/koji/issue/4200
One notable omission, the oz/imagefactory feature (i.e. createImage) is not covered here (it will fail if an image includes v6 rpms). This will be deferred as a separate item.
This adds initial support for v6 rpms in Koji. The main issue is Koji's past reliance on the sigmd5 field, which does not exist in v6. The major workhorses here are new get_rpm_ident() and related functions which are used numerous places where we previously used sigmd5 to identify rpms. Additionally, we have added new fields in the rpminfo table to record the various hashes that might be contained in the signature header.
Overall, this problem is trickier that it might as first seem.
Fixes https://pagure.io/koji/issue/4200
One notable omission, the oz/imagefactory feature (i.e. createImage) is not covered here (it will fail if an image includes v6 rpms). This will be deferred as a separate item.