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

Xavier shiningxc at gmail.com
Sat Sep 5 16:39:16 EDT 2009


On Sat, Sep 5, 2009 at 10:16 PM, Xyne<xyne at archlinux.ca> wrote:
>
> I think using "local" for "%r" is a good idea. As for "%u", maybe it
> should be changed to "% l" for "location". It could return the full
> path to the package archive when using -U. It's relatively useless for
> "-R" but I agree that it should return something for the sake of
> uniformity. Maybe the full path to the local database entry would be
> useful, e.g. /var/lib/pacman/local/foo-3.5-1
>

I will see what I can do, but for example, I am not sure it is easy to
get the full path, afaik we only record the filename.

About the local database for -R %l , it looks a bit inconsistent with
the rest (there is a local database entry also with -S and -U
operations), but on the other hand we have no filename and no url
there ... So maybe ..

>
> On a tangent, thinking about the printed output of "-U", Is there any
> reason that it doesn't resolve dependencies?
>
>

I guess mainly because the code was quite bad, and there was not much
code in common between -U and -S operations
Nagy fixed that in the following patch :
http://code.toofishes.net/cgit/xavier/pacman.git/commit/?h=universal&id=06478bc904b45e542065faf04bec8b3f98b1c587


More information about the pacman-dev mailing list