Description of problem: Having repository with wit packages package-0:1.0.0 package-0:2.0.0 package-0:3.0.0 package-0:4.0.0 There isn't an easy way to setup a filter such that the following packages are included: package-0:2.0.0 package-0:4.0.0 Simply because: validates :name, :presence => true, :uniqueness => { :scope => :content_view_filter_id } You can't have two rules with the same package name. We should either lift this restriction or support a comma seperated list of values for exact versions.
Created redmine issue http://projects.theforeman.org/issues/6607 from this bug
Proposed fix in Katello PR: https://github.com/Katello/katello/pull/4426
Steps to reproduce: 1. Enable and Sync RHEL 6 Server 2. Create a content view 3. Create a package filter on a content view (set to 'includes') 2. Add the following: firefox 3.6.26 firefox 3.6.9 Hit save. Make sure it saves 5. Publish the content view 6. Make sure only packages with those two versions are included You might want to test multiple less than/greater than filters as well
VERIFIED package filters set as include can be added only packages with two versions are included tried less than/greater than filters
This was delivered with Satellite 6.0 which was released on 10 September 2014.