[katello-devel] Filters behaviour question

Brad Buckingham bbuckingham at redhat.com
Tue Apr 23 11:19:00 UTC 2013


On 04/23/2013 06:38 AM, David Davis wrote:
> >From the filter wiki page (https://fedorahosted.org/katello/wiki/ContentViewFilters):
>
> "If there is an include filter (aka whitelist) then only the packages/errata included will get included. Everything else is thus excluded."
>
> Based on that, I would expect everything that doesn't match foo* to get excluded. So in your case, nothing would be included. To include everything if nothing matches makes the filter logic more complicated by adding yet another exception.
>
> David
+1.   Ideally, we would inform the user that the filter provided does 
not match any packages and not include any other packages published 
view, since none of the available packages match the filter rule.

thanks,
Brad
> ----- Original Message -----
>> From: "Partha Aji" <paji at redhat.com>
>> To: "katello-devel" <katello-devel at redhat.com>
>> Sent: Tuesday, April 23, 2013 1:09:48 AM
>> Subject: [katello-devel] Filters behaviour question
>>
>>
>> Had a quirk question on content filters
>>
>> So filter rule says "includes foo*" . So it is supposed to include only
>> packages with name matching foo*. But suppose there is no package name
>> matching foo* in the repo. When I publish should I wipe out all packages in
>> the cloned repo. Or should I say keep all packages and wipe out none (since
>> search server will say no packages matching that pattern.) Present day
>> behaviour = keep all packages (its as if you never provided me a filter
>> rule). I am ok with this, what do y'all think .....
>>
>> Partha
>>
>> _______________________________________________
>> katello-devel mailing list
>> katello-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/katello-devel
>>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list