#265 Print filename(s) where rpm wasn't found as part of KojiPackageSet
Closed: Fixed Opened by pbabinca.

Currently when rpm isn't found rpminfo struct it printed. This is hard to read and easily debug. Store which expanded paths were tried and print those.

Error message printed here by this pungi/phases/pkgset/pkgsets.py#_249:

RPM {'build_id': 421596, 'name': 'python-jira', 'extra': None, 'arch': 'src', 'buildtime': 1423850981, 'id': 3741613, 'epoch': None, 'version': '0.39', 'metadata_only': False, 'release': '1.el6eng', 'buildroot_id': 2472696, 'payloadhash': '4727728b992a25fec588c83b4885e3d1', 'size': 529716} not found for sigs: ['7E0B66E8']

And basically store values of:

rpm_path = os.path.join(pathinfo.build(build_info), pathinfo.signed(rpm_info, sigkey))

and print them instead or as an addition to the error message above.


Commit bdc309f2 fixes this issue

Commit bdc309f2 fixes this issue

Commit bdc309f2 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/265

Please continue any further discussion there.

Metadata