[pacman-dev] [PATCH] Reduce the negligence of _alpm_resolvedeps
shiningxc at gmail.com
Fri Nov 30 14:52:10 EST 2007
On Fri, Nov 30, 2007 at 08:39:22PM +0100, Nagy Gabor wrote:
> > OK, but I leave the benchmark for you;-)
> > Note: Long "dependency paths" like in smoke001.py may cause notable
> > slowdown.
> > I made a quick "hack", so probably I made some mistakes...
> > Bye
> Well, resolvedeps is also quite hard to read (but seems OK).
> Imho we should share some code between alpm_sync_addtarget and resolvedeps: I
> mean they could use common search_for_literal(), search_for_satisfier()
> functions. By doing this alpm_resolvedeps would be much clearer and '-S
> provision' would be more general, user could do -S 'depend>=2.0' if he wants to
> do so (he got an unsatisfied dependency error after -A) and we can slowly kill
> whatprovides... (foo provides bar is a special case of foo satisfies bar)
On this subject, see http://bugs.archlinux.org/task/8763 .
More information about the pacman-dev