Bug 186493

Summary: yumdownloader --source should enable source repositories by default
Product: [Fedora] Fedora Reporter: Sindre Pedersen Bjørdal <sindrepb>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, joyr, tim.lauridsen
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-14 13:50:37 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:

Description Sindre Pedersen Bjørdal 2006-03-23 21:00:38 UTC
Description of problem:

When one tries to use yumdownloader to download SRPMS with the default
configuration the result is that no packages are found. Only after enabling the
source repositories in the yum.repos.d/ can one actually make use of the
--source switch.

Version-Release number of selected component (if applicable):

yum-utils-0.5-1

How reproducible:

every time

Steps to Reproduce:
1. install yum-utils
2. yumdownloader --source [name of package]
  
Actual results:

yumdownloader returns "No Match for argument [name of query]

Expected results:
Yumdownloader should automatically enable the source repositories for Core and
Extras when one uses the --source switch resulting the downloading the SRPM.

Comment 1 Joni Yrjana 2006-03-25 12:04:27 UTC
That, or --enablerepo= commandline parameter as in yum, would be nice.


Comment 2 Tim Lauridsen 2007-02-14 13:50:37 UTC
in yum 3.1.1(FC7) there have been include some changes there make it possible
for  the yum-utils to inherit the commandline options from yum-cli, I'm working
on new yumdownloader there add options like '--enablerepo'.
It will be available in a future yum-utils-1.1.x release for FC7.
I don't think automatic source repo enabling is a good idea, it is up to the
user to select the repos to be enabled.