[Yum-devel] [PATCH] Formatting changes for the transaction summary
James Bowes
jbowes at redhat.com
Mon Feb 12 23:06:45 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: formatting.patch
Type: text/x-patch
Size: 1005 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070212/efc5104b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20070212/efc5104b/attachment.pgp
More information about the Yum-devel
mailing list