[pacman-dev] [PATCH] '-Spp and -Supp' options were added to generate uri list without the downloaded package uris

Xavier shiningxc at gmail.com
Mon Aug 31 08:59:02 UTC 2009


On Mon, Aug 31, 2009 at 5:45 AM, Laszlo Papp<djszapi2 at gmail.com> wrote:
> Hello Xavier!
>
> I didn't have so much time at the weekend, but as I saw maybe it would be
> better to choose a more talkative name for it, e.g. --print-package or
> something (it's just an example).
>
> What will happen if there will be new similar future in the future when the
> developers or users would like to implement a feature to print out another
> information, will you choose the name for --print2 or more reasonlable name
> ? In the second case It would be nice to start it now :) Mabe I'm wrong with
> it.
>
> Nevertheless It's a very good feature, thanks in fact :)
>

--print-pkg and --print-uris looks good to me

but would you keep your new feature on top of these two options :
--print-pkg and --print-uris only show non-download packages
--print-pkg --print-pkg and --print-uris --print-uris show all
?

an alternative :
what if we added the download size when ShowSize is used?

pacman -Sp fontconfig
ftp://ftp.archlinux.org/extra/os/i686/fontconfig-2.4.2-1.pkg.tar.gz [1234]
pacman -Spq fontconfig
ftp://ftp.archlinux.org/extra/os/i686/fontconfig-2.4.2-1.pkg.tar.gz

pacman -Sp ... | grep -v "\[0\]" | cut -d' ' -f1
ftp://ftp.archlinux.org/extra/os/i686/fontconfig-2.4.2-1.pkg.tar.gz


More information about the pacman-dev mailing list