[Bug 507294] [RFE] Allow wildcards/regexps in yum install/upgrade/comps...

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 22 15:16:14 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=507294





--- Comment #2 from James Antill <james.antill at redhat.com>  2009-06-22 11:16:13 EDT ---
> font(comma-separated font name list|comma-separated style list|comma-separated
> lang list) (rough mockup that probably needs refining)

 Very much so, for instance given:

font(bar,blah|foo,fu|lang=en,lang=el)

...you couldn't match the above for arbitrary points with just wildcards.

> To have features like font auto-installation work reliably, this matching needs
> to extend to the package installation selection logic

 I think what you want to do is put all this inside some PK API. So the
provides would look something like:

Provides: font(dejavusans:style=bar:lang=el)

...then PK just looks through font(dejavusans*) or whatever. Because I don't
think anyone is going to be running "yum install font(dejavusans:*:lang=el)" or
whatever from the cmd line.

 Obviously if rpm decides to start processing wildcards on requires, then we'll
have to follow along for the ride ... but that doesn't seem like the best
solution (and I'm going to guess rpm isn't going to do that).
 Doing wildcards on the install cmd line, is certainly possible ("yum provides"
does them) ... I'm just not sure how awesome an idea that is, and I don't see a
usecase.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-fonts-bugs-list mailing list