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

Nagy Gabor ngaba at bibl.u-szeged.hu
Fri Aug 28 10:45:02 UTC 2009


>> + if ((config->op_s_printuris >= 2) && !alpm_pkg_download_size(pkg)) {
>>> +       continue;
>>> +}
>>>
>>
>> This means that -Sp prints everything, -Spp prints only the to-be-download
>> URIs. This is good for backward compatibility, but for my taste -Sp should
>> print only the to-be-download URIs, and -Spp all. (In pacman convention,
>> duplicated switch means 'all/everything', see -Scc, -Syy, -Suu) Opinions?
>>
>> Bye
>
>
> Hello!
>
> Yeah, you're right, sorry.
>
> I didn't follow the 'print thread' from Xavier, but I will check it at the
> weekend. I don't think It's a point against it so that the command line
> command will be difficult, I would say that rather It has got more
> facilities.

One more thing I forgot to mention. The patch should update the  
documentation too (most boring part of a patch...):
1. doc/pacman.8.txt
2. -Sh output (hint: try to be terse, the --print-uri line should fit  
in 80 chars)

Bye


------------------------------------------------------
SZTE Egyetemi Konyvtar - http://www.bibl.u-szeged.hu
This message was sent using IMP: http://horde.org/imp/




More information about the pacman-dev mailing list