[pacman-dev] [PATCH] Add VerboseUpgradeInfo Option

Roman Kyrylych roman.kyrylych at gmail.com
Mon Mar 3 17:15:37 EST 2008


2008/3/2, Justin Lampley <jrlampley at gmail.com>:
> Attached is a patch to add an option that displays the old version of
>  the package as well as size in column format for the upgrade operation.
>   Another patch was submitted back in November for this, but it either
>  got lost and buried in the list, or Dan just hated it :).
>
>  When enabled, this is what the upgrade information looks like:
>
>  Targets:
>
>  Pkg Name                  New Version   Old Version         Size
>
>  perl                      5.10.0-2      5.8.8-9         15.37 MB
>  cairo-perl                1.044-1       1.041-1          0.10 MB
>  courier-authlib           0.60.2-2      0.60.2-1         0.17 MB
>  dhcpcd                    3.2.1-1       3.2.0-1          0.04 MB
>  imagemagick               6.3.8.0-2     6.3.8.0-1        2.00 MB
>  glib-perl                 1.162-1       1.160-1          0.36 MB
>  perl-event                1.09-3        1.09-2           0.09 MB
>  perl-anyevent             2.8-6         2.8-5            0.02 MB
>  perl-libintl-perl         1.16-3        1.16-2           1.11 MB
>  perl-event-execflow       0.63-3        0.63-2           0.04 MB
>  gtk2-perl                 1.162-1       1.160-1          2.28 MB
>  perl-gtk2-ex-formfactory  0.65-4        0.65-3           0.20 MB
>

This output looks cleaner to me than that of ShowSize, because it's indented.
But I wonder - what will be if user enables both options? One of them
should definetely take precedence.

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list