[Yum-devel] Yum output reformat

seth vidal skvidal at phy.duke.edu
Fri Jan 28 06:44:48 UTC 2005


On Thu, 2005-01-27 at 18:56 -0600, Michael Favia wrote:
> Over the next few days i will be sending in a number of patches in my 
> quest to clean up the output from yum. A few of these changes have been 
> requested and a number of them, like this one, are just my opinion on 
> how to make things look better.
> 
> This patch unifies the look of all the progress bars in yum output. To 
> accomplish this i added a "Percent complete section, reduced the size of 
> the meter to 25 marks and added "|" caps on both ends (with all 
> necessary buffering). I also added 2 spaces before the output of the 
> repo because as you'll see in my following patches i am trying to give 
> users the feel of distinct progress from one phase of the depresolution 
> process to the next. All that was required was a couple of formatting 
> lines. I cant find where the formatting for the urlgrabber lines is done 
> (to add 2 spaces to the beginning of setting up repos and such). If 
> anyone could point me in the right direction id appreciate it. Comments 
> welcome. Here is some sample output and the patch:
> 

1. diff -u  (unified diff) is your friend  -it's the accepted patch
format and a lot easier to read.

2. are you sure you're working out of yum 2.1.13 and/or HEAD?

-sv





More information about the Yum-devel mailing list