Bug 481282

Summary: yum-fastestmirror is too noisy per default
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: james.antill, lmacken, mcepl, pmatilai, tim.lauridsen
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-26 15:04:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example of possible solution
none
probably better version of the patch none

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.