[pacman-dev] [PATCH] Add interactive provider selection

Xyne xyne at archlinux.ca
Wed Oct 20 10:25:17 EDT 2010


On 2010-10-19 21:10 +0200 (42:2)
Xavier Chantry wrote:

> If there are multiple providers in one db, pacman used to just stop at
> the first one (both during dependency resolution or for pacman -S
> 'provision' which uses the same code).
> 
> This adds a new conversation callback so that the user can choose which
> provider to install. By default (user press enter or --noconfirm), the
> first provider is still chosen, so for example the behavior of sync402
> and 403 is preserved. But at least the user now has the possibility to
> make the right choice in a manual run.

Is the install size shown after each package when ShowSize is enabled? That
would be useful when deciding which package to install. It would be even more
useful to know the cumulative size, i.e. the sum of install sizes of that
package and its own dependencies. I think that would be the deciding factor in
most cases.

Regards,
Xyne


More information about the pacman-dev mailing list