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

Laszlo Papp djszapi2 at gmail.com
Mon Aug 31 18:47:38 UTC 2009


Best Regards,
Laszlo Papp


On Mon, Aug 31, 2009 at 10:59 AM, Xavier <shiningxc at gmail.com> wrote:

> 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
>
>
Me too, but it would be nice to keep the older -Sp option for --print-uris,
because everybody know it so :)

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
> ?
>

I think -Sp/-Spp is good for the uris related.


>
> an alternative :
> what if we added the download size when ShowSize is used?
>
>
I think it's a good idea, more information is better generally :)


> 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
>
>
Best Regards,
Laszlo Papp


More information about the pacman-dev mailing list