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

Bryan Kearney bkearney at redhat.com
Fri Nov 18 16:30:42 UTC 2011


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




More information about the katello-devel mailing list