[Yum-devel] more thoughts on cli parsing

seth vidal skvidal at phy.duke.edu
Fri Mar 26 20:03:15 UTC 2004


> This is very similar to how both cvs and distutils work, correct?
> 
> cvs -d myrepo update -d somedir


except no additional --options.

and I'd like to say 'thwack' for saying yum's cli is as hard as cvs


> How does that work with wildcards?  Do wildcards match "." or not.
> For example, is "foo*" equivalent to "foo*.*" ?

foo* specifies name only - everything else is wildcarded

foo*.i386 specifies anything matching foo* in name and i386 in arch.




> I think so.  I'm a little unclear about what the "fast way" is.

the fast way is an exact match - the wildcards are the slow way b/c you
have to iterate over the whole list.

-sv





More information about the Yum-devel mailing list