rpm2flatpak generates an appropriate modulemd file and container.yaml (for OSBS) file to package up a RPM of a graphical application with dependencies as a Flatpak.
flatpak-report is a specialized subcommand that basically is just used in the scripts for maintaining the flatpak-runtime module - the idea is that you pass in a list of RPMs and it creates a report that shows what packages from the runtime and what additional packages are needed if you ran rpm2flatpak on all the RPMs one-by-one. But it's much faster than doing that, and also, the rpm2flatpak output doesn't actually include information about what required rpms are satisfied by the runtime - something we want when maintaining the runtime to see if packages that we put in the runtime are actually required by lots of different applications.
This PR adds new subcommands:
rpm2flatpakgenerates an appropriate modulemd file and container.yaml (for OSBS) file to package up a RPM of a graphical application with dependencies as a Flatpak.flatpak-reportis a specialized subcommand that basically is just used in the scripts for maintaining theflatpak-runtimemodule - the idea is that you pass in a list of RPMs and it creates a report that shows what packages from the runtime and what additional packages are needed if you ran rpm2flatpak on all the RPMs one-by-one. But it's much faster than doing that, and also, the rpm2flatpak output doesn't actually include information about what required rpms are satisfied by the runtime - something we want when maintaining the runtime to see if packages that we put in the runtime are actually required by lots of different applications.