[Yum-devel] pkgSack.searchNevra()

seth vidal skvidal at phy.duke.edu
Mon Nov 7 06:37:04 UTC 2005


Hey folks,
 I was looking at the searchNevra() method of the pkgSack. In the repomd
sack it returns things matching as many of the provided nevra info as
possible. In the sqlite sack it only returns exact matches.

So if you don't specify one component to the sqlite method it won't
return anything.

I think it should probably return as much as possible as it has and
ignore the NoneType args.

So if I pass pkgSack.SearchNevra(name='zsh')
it should return all zsh's in the pkgSack.

Does that make sense to everyone?

-sv





More information about the Yum-devel mailing list