Bug 481282 - yum-fastestmirror is too noisy per default
Summary: yum-fastestmirror is too noisy per default
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-23 12:32 UTC by Matěj Cepl
Modified: 2018-04-11 09:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-26 15:04:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
example of possible solution (2.09 KB, patch)
2009-01-23 12:32 UTC, Matěj Cepl
no flags Details | Diff
probably better version of the patch (780 bytes, patch)
2009-01-23 12:35 UTC, Matěj Cepl
no flags Details | Diff

Description Matěj Cepl 2009-01-23 12:32:29 UTC
Created attachment 329814 [details]
example of possible solution

Description of problem:
I don't think I like having the list of all "best" servers whenever I run yum. Could we bump loglevel of yum-fastestmirror plugin to 3 (e.g., see the attached patch)?

Version-Release number of selected component (if applicable):
yum-fastestmirror-1.1.19-1.fc10.noarch

Comment 1 Matěj Cepl 2009-01-23 12:35:33 UTC
Created attachment 329815 [details]
probably better version of the patch

I probably went over the top -- this is slightly more sane.

Comment 2 Matěj Cepl 2009-01-23 12:40:16 UTC
And yes, the package still builds http://koji.fedoraproject.org/koji/taskinfo?taskID=1076135

Comment 3 Tim Lauridsen 2009-01-26 14:20:29 UTC
Looks sane to me, I have added it upstream

Comment 4 Tim Lauridsen 2009-01-26 14:28:57 UTC
I was a little fast here :)

Luke, what do you think about this one.

Comment 5 Luke Macken 2009-01-26 14:47:51 UTC
I personally like seeing what mirrors I'm hitting, and don't really consider 1 line of output per mirrorlist as being "noisy".  I added this functionality a while back because I Max Spevack asked for it.

I vote for having it output the fastest mirrors by default, and making it simple to turn it off.  However, if people really really want it off by default, that's OK with me too.  Not sure we can make everyone happy with this one.

Comment 6 James Antill 2009-01-26 15:04:40 UTC
 I added a "always_print_best_host" bool config. option, when true it prints at level 2 when false it prints at level 3. Default is the historical behaviour.

Comment 7 Matěj Cepl 2009-01-26 16:03:25 UTC
(In reply to comment #5)
> I personally like seeing what mirrors I'm hitting, and don't really consider 1
> line of output per mirrorlist as being "noisy".  I added this functionality a
> while back because I Max Spevack asked for it.

Well, it looks very much like a debugging functinoality, which shouldn't be on per default, but james's solution works for me as well.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.