Bug 173768

Summary: I would like a "repoid" option to yumdownloader
Product: [Fedora] Fedora Reporter: Göran Uddeborg <goeran>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: Christian.Iseli, extras-qa
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: yum-3.0.1-2.fc6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-22 16:50:00 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 Göran Uddeborg 2005-11-20 20:46:14 UTC
Description of problem:
Sometimes one of the less redundant repos in my configuration is not available.
 Right now macromedia.mplug.org seems to be down for example, and that .repo
file doesn't have any backup.

To not have to edit .repo files at such times I use --repoid as an option to
repoquery.  (I most often know what repository to look in.)  But when I want to
use yumdownloader, I don't have any such option available.  Would that be hard
to add?

An alternative would be an --disablerepo flag like plain "yum" has.

Version-Release number of selected component (if applicable):
yum-utils-0.3.1-1.fc4

Comment 1 Christian Iseli 2007-01-17 23:22:47 UTC
FC3 and FC4 have now been EOL'd.

Please check the ticket against a current Fedora release, and either adjust the
release number, or close it if appropriate.

Thanks.

Your friendly BZ janitor :-)

Comment 2 Göran Uddeborg 2007-01-22 16:50:00 UTC
I see an "enablerepo" option now, which seems to do what I want in the FC6
version.  The flag naming is slightly confusing here.  For "yum", "enablerepo"
means to enable a this repo IN ADDITION to the ones enabled by default.  For
"yumdownloader" it means enable ONLY this repo.  "Repoquery" has an option with
the same effect as the one in "yumdownloader", but there it is called "repoid".

Oh, well, the functionality is there it seems.  I'll get used to the quirks I guess.