rdrgmnzs / pulp_centos_errata_import

Imports CentOS (from http://cefs.steve-meier.de/) errata into Pulp / Katello
61 stars 22 forks source link

Add include repos option #6

Closed k8r-io closed 8 years ago

k8r-io commented 8 years ago

If you have RHEL and CentOS repos in your pulp when building the package to repo hash then you can end up with the packages all mapped to your RHEL repos and not your CentOS repos resulting in all the CentOS errata being pushed into the RHEL repo.

I've added a command line option to allow you to specify a list of repos to consider when building the package to repo hash allowing a user to work around that issue.

I've also removed the dependency on unneeded packages (perl-Frontier-RPC doesn't appear to be used at all in this script and perl-Switch was only needed for one very small switch statement).

rdrgmnzs commented 8 years ago

Haha, this is awesome, I was just working on the exact same feature. However yours looks a lot cleaner. I'll go ahead and merge this.

Thanks!