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

Justin Sherrill jsherril at redhat.com
Fri Nov 18 15:04:35 UTC 2011


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




More information about the katello-devel mailing list