[pacman-dev] [PATCH 1/2] Combine add and removal package list display

Allan McRae allan at archlinux.org
Fri Jul 29 02:09:35 EDT 2011


On 23/07/11 03:19, Dan McGee wrote:
> There was no real reason for these to be done separately.
>
> Signed-off-by: Dan McGee<dan at archlinux.org>
> ---
>
> A bit of WIP here. Try it out to see what it does, but it addresses Allan's
> issue with upgrade size being all whacky when replaces are involved, among
> other things. http://paste.pocoo.org/show/444372/ for some example output with
> VerbosePkgLists on, http://paste.pocoo.org/show/444368/ with them off. Not sure
> what to do with the corny '[removal]' tag bit though.
>
> Notes:
> * The size column is now net changed size per package, so only new packages or
>    totally removed packages will usually have big values (wireshark-cli is buggy
>    in the package itself, as noticed by Dave and I).
> * Packages are now always sorted in alpha order, rather than the half-sorted,
>    dep resolved mess we had before.

I am not sure I like this...   Currently, "pacman -S foo" will always 
show "foo" as the last target.  I find that makes it clear that the rest 
of the packages are the needed dependencies.

With this patch, "foo" can end up anywhere in the package listing. For a 
package with lots of dependencies, it becomes difficult to see that 
"foo" is even being installed at a quick glance.


> * -R ops will show the same format as -U, even though the new version column
>    will now always be blank. I think the consistency win is worth it. They will
>    also always show the '[removal]' tag bit, so suggestions for that are
>    welcome.
> * Yes, you get 4 different totals now on -S operations, but since the damn
>    package list is so long anyway, who cares.
>
> Feedback/thoughts definitely welcome. I'll improve the commit message too
> before any final version goes live.
>
> -Dan


More information about the pacman-dev mailing list