https://bugzilla.novell.com/show_bug.cgi?id=602518
https://bugzilla.novell.com/show_bug.cgi?id=602518#c4
--- Comment #4 from Ján Kupec 2010-10-11 10:14:41 UTC ---
OK to support globs in guessPackageSpec, but i would automatically discard the
cases when the glob is on the version side of the string. Globbing in names is
quite enough IMO. And i would stick with simple Capability as the return value.
So i would see it like this (given xmms2-plugin-*-foo):
xmms2-plugin-*-foo - no match, go on splitting
xmms2-plugin-*=foo - got match, return xmms2-plugin-* = foo
if nothing matches xmms2-plugin-*, go on splitting:
xmms2-plugin=*-foo - glob in version, no way, quitting, return simple
named cap with the original string (xmms2-plugin-*-foo).
Then, after guessPackageSpec returns the Capability with or without glob name,
it can use PoolQuery or WhatProvides as/if needed to get matching
solvables/selectables.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.