Content View filter for including only latest RPMs from custom repositories.
Is there a way to create a content-view filter for adding only the latest RPMs from custom repositories after each RPM build? I see package name and package version options for filter but that will not be convenient for someone who builds custom RPMS on a nightly build, publish and promote to the TEST environment every morning. This is a n automation nightmare.
Responses
Hi, Not sure exactly catching what you expect. As fare as I understood, I would say "hammer" would be able to help.
Call hammer command from a scheduled/cron script on you satellite server.
Building filter and rule with :
hammer content-view filter create ...
hammer content-view filter rule create ...
Publish your content with :
hammer content-view publish --force-yum-metadata-regeneration no ...
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
