#61 cli: Add rpms-from-srpm (and bug fixes)
Merged by ncoghlan. Opened by crobinso.
modularity/ crobinso/fedmod rpms-from-srpm  into  master

Download 61.patch

First 3 patches fix several bugs in the get_rpms_for_srpms function which causes it to only find about 10 percent of the packages actually belonging to the bootstrap module.

Last patch exposes this function on the cli as rpms-from-srpm. which returns all RPMs that are generated from the passed SRPM name. This is useful when packaging new modules.

For example, I see glusterfs needs to bundle pyxattr since no other module currently provides it. It's handy to have a simple place to see how many sub-RPMs pyxattr builds to get an idea of what might need to be filtered.

Nice! This mostly looks good to me, the one extra bit needed is to add an example of the command and its output to https://pagure.io/modularity/fedmod/blob/master/f/src/README.md

rebased onto 146f8297853dc59dc8c6e3385e539fa653f084d9

Done, and added an extra commit to document srpm-of-rpm as well

Pull-Request has been merged by ncoghlan

Thanks!

Metadata