[Yum-devel] [PATCH] Formatting changes for the transaction summary

seth vidal skvidal at linux.duke.edu
Tue Feb 13 19:45:04 UTC 2007


On Mon, 2007-02-12 at 18:06 -0500, James Bowes wrote:
> Hi all:
> 
> This patch is pretty trivial; I'm sending it to the list, however,
> because I'm not sure it's more correct than the existing code. This is a
> form vs function thing, namely do we print out all the details of the
> transaction, possibly causing the line to wrap, or do we truncate the
> text to keep things pretty?
> 
> Current:
> 
>  firefox-devel           i386       1.5.0.9-3.fc6    updates           3.1 M
>  frysk                   i686       0.0.1.2007.02.07.rh1-1.fc6  updates           6.9 M
>  gd                      i386       2.0.33-10.fc6    updates           155 k
> 
> With Patch:
> 
>  firefox-devel            i386      1.5.0.9-3.fc6        updates       3.1 M
>  frysk                    i686      0.0.1.2007.02.07.rh  updates       6.9 M
>  gd                       i386      2.0.33-10.fc6        updates       155 k
> 
> 
> So to make things pretty, you might end up losing part of a very long evr
> string, or package name. I think you'd still get all the important information,
> however.
> 
> So, what do people think?
> 
> -James
> 
> PS this is busy work I made for myself while Jeremy was doing awesome depsolver work

so this is the one place where we didn't truncate b/c people felt like
they really wanted to know what was going to happen on their systems,
line-wrapping be damned.

and I can sorta see their point.

-sv





More information about the Yum-devel mailing list