[katello-devel] package filters don't allow for foo > 2.3

Todd Sanders tsanders at redhat.com
Fri Nov 18 17:35:45 UTC 2011


On 11/18/2011 11:30 AM, Bryan Kearney wrote:
> On 11/18/2011 10:04 AM, Justin Sherrill wrote:
>>
>> So Taw just asked me if we supported setting a package filter to filter
>> out something like foo > 2.3
>>
>> It turns out we don't, at least not every easily or reliably. Pulp
>> supports regular expressions, but doing something like foo > 2.3 is
>> incredibly difficult with a regular expression and looks a little like:
>> foo-(\d{2,}|[3-9]|2\.(\d{2,}|[4-9]))
>>
>> But this maybe isn't even all that reliable (and is too complicated for
>> a user to write).
>>
>> a) Is this an issue (assuming yes)?
>> b) Should I open up a pulp bug to allow the better syntax of foo > 2.3 ?
>>
>> -Justin
>
> I vote Feature request. Have Tsanders put it on the backlog.
>
> -- bk
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
I will add to backlog, but *if* the end goal is to lock on 
foo-2.3.....you could promote that version, then apply a filter for 
"foo".  Since the filter does not apply to existing repo content, this 
will leave you with foo locked down in the repo.

-Todd




More information about the katello-devel mailing list