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

Xavier shiningxc at gmail.com
Fri Sep 4 06:59:12 EDT 2009


On Fri, Sep 4, 2009 at 3:50 AM, Xyne<xyne at archlinux.ca> wrote:
>> Instead of adding several options, wouldn't it be possible to let "-p"
>> accept a string argument with formatting information similar to the way
>> the date command works. This would be extensible in the future and
>> could include the following interpretted sequences (among others)
>>
>> %u - url
>> %n - pkgname
>> %v - pkgver-pkgrel
>> %s - size
>
>
> %r - repo
>
> I think the repo would be very useful as well.
>
>

btw the copy/paste were my previous --print patch which did not have
the --print-format option.
my new patch has %u %n %v, and adding %s and %r will be easy as well.
one problem is that url and repo are only available for the -S operation.

or maybe url could just be replaced by the filename for -U and -R.
and repo by 'local'


More information about the pacman-dev mailing list