[pacman-dev] VerbosePkgLists, size strings, manpage
Jakob Gruber
jakob.gruber at gmail.com
Mon Feb 21 17:58:08 EST 2011
On 02/21/2011 08:02 PM, Jakob Gruber wrote:
> Hi,
>
> these patches add a VerbosePkgLists option to pacman.conf which applies to install, upgrade and remove operations and produces the following example output:
>
> Targets (25):
>
> Pkg Name New Version Old Version Size
>
> asciidoc 8.6.4-1 8.6.3-1 0.15 MB
> chromium 9.0.597.94-2 9.0.597.94-1 17.80 MB
> ...
> wine 1.3.14-1 1.3.13-2 24.67 MB
>
> Total Download Size: 158.41 MB
> Total Installed Size: 693.05 MB
>
> While the output is identical to Justin Lampley's patch from March 2008 (posted here: https://bugs.archlinux.org/task/15772), the table_display function in these patches should be simpler to use.
>
> I also consolidated size to string conversions (hope I got most of them) and made a few minor adjustments to the pacman manpage.
>
Messed up a line while rebasing, the fixed patches are attached and
https://github.com/schuay/pacman-arch/commits/working is updated.
The only change is a one line fix:
- pm_asprintf(&str, title, alpm_list_count(targets));
+ pm_asprintf(&str, title, alpm_list_count(pkgs));
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-Refactor-display_targets-for-readability.patch
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20110221/19baffb3/attachment-0002.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0006-New-VerbosePkgLists-option.patch
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20110221/19baffb3/attachment-0003.ksh>
More information about the pacman-dev
mailing list