[pacman-dev] [PATCH] Add interactive provider selection
    Allan McRae 
    allan at archlinux.org
       
    Sat Jan 22 20:39:09 EST 2011
    
    
  
On 23/01/11 10:58, Xavier Chantry wrote:
> On Fri, Nov 5, 2010 at 4:55 AM, Allan McRae<allan at archlinux.org>  wrote:
>>
>> I think that if we are providing a selection dialog for provides then it
>> should present packages from all repos to choose from.  Otherwise it seems a
>> half feature to me.
>>
>
> So my working branch provides a full feature now !
> Mostly first patch : Add interactive provider selection
> and next to last : select_display: per-database output
>
 > sudo src/pacman/pacman -S smtp-server
:: There are 4 providers available for smtp-server:
:: Repository testing
    1) postfix
:: Repository extra
    2) postfix
:: Repository community
    3) courier-mta  4) exim
Which one do you want to install?
Enter a number (default=1):
Awesome!   Incredibly minor and pedantic points...  The blank line 
between the final line of providers and "Which one do you want to 
install?" is not there when selecting members of a group:
e.g.
    53) udev  54) usbutils  55) util-linux-ng  56) vi  57) wget  58) which
    59) wpa_supplicant  60) xfsprogs
Which ones do you want to install?
Enter a selection (default=all):
That should be made consistent.   Also, perhaps change the "one" to 
"package" in the messages:
Which ones do you want to install?
to:
Which packages do you want to install?
Allan
    
    
More information about the pacman-dev
mailing list