The interfaces of polisher should always expect the rubygems gem name except where the user explicitly wants the koji package name. We should have a single place that provides these conversions and clean up interfaces that are not consistently using the rubygems gem name where applicable.
We frequently need to convert a RPM package name into rubygems gem name such as
rubygem-sqlite3
tosqlite3
and vice versa.As discussed here: https://github.com/ManageIQ/polisher/pull/112#discussion_r15168410
We do it twice there.
The interfaces of polisher should always expect the rubygems gem name except where the user explicitly wants the koji package name. We should have a single place that provides these conversions and clean up interfaces that are not consistently using the rubygems gem name where applicable.