[repo-coord] Re: repo agnostic package resolvers (was: Latest apt
broken?)
Jeff Pitman
symbiont at berlios.de
Thu Jan 20 06:06:49 CET 2005
On Thursday 20 January 2005 08:43, Jeff Pitman wrote:
> On Thursday 20 January 2005 01:52, seth vidal wrote:
> > And yet it makes the pkg mgmt a nightmare b/c now, instead of being
> > able to key on file name I have to go find the packages the provide
> > that file (or worse yet, if wildcards are involved) then figure out
> > the arch for those involved and match.
>
> How do you do "Requires: /usr/sbin/alternatives" ?
Perhaps a dict based on input from filelists.xml.gz would be
appropriate. The dict would use the filename as the key and the value
is the <package name="XXX">. Not sure how long it'd take on large repos
to create a dict, possibly pickling it for caching purposes, etc.
Wildcard lookup would be another enjoyable coding experiment. Wonder if
there are any recipes that might be applicable. (If the cache was
sqlite based, could use "like" or whatever...)
Anyway, I don't think it'll be too tough to code. Since, mainly it's to
display what packages are gonna get nuked. Problem is what's the speed
factor?
See what happens...
--
-jeff
More information about the repo-coord
mailing list