ManageIQ / polisher

Polisher is a Ruby module and set of utilities aimed to assisting the post-publishing packaging process for Ruby gems and applications.
MIT License
14 stars 14 forks source link

Refactor conversions of rubygem-sqlite3 to sqlite3 and vice versa #113

Open jrafanie opened 10 years ago

jrafanie commented 10 years ago

We frequently need to convert a RPM package name into rubygems gem name such as rubygem-sqlite3 to sqlite3 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.