Bug 174396 - --enablerepo=all, --disablerepo=all
Summary: --enablerepo=all, --disablerepo=all
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-28 19:44 UTC by Sigge Kotliar
Modified: 2014-01-21 22:53 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-11-28 19:47:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sigge Kotliar 2005-11-28 19:44:28 UTC
Hi!

It'd be a great feature to be able to disable and enable all repos with one
simple command instead of repeating different combinations of --enablerepo and
--disablerepo.

Use case for --enablerepo=all:
User has a bunch of repos of which he mainly only uses 4
(base+updates+extras+livna) and wants to search all repos for a given app which
is hard to find.

Use case for --disablerepo=all
Same user as above wants to install some rpm's from devel and extras-devel, and
doesn't want the other repos to interfere. He uses "--disablerepo=all
--enablerepo=development --enablerepo=development" and thus save a couple of
times typing --disablerepo=reponame for every available repo.

Comment 1 Seth Vidal 2005-11-28 19:47:42 UTC
from the man page:

      --enablerepo=repoidglob
              Enables specific repositories by id or glob that have been  dis-
              abled in the configuration file using the enabled=0 option.
              Configuration Option: enabled



yum --disablerepo='*' --enablerepo='thisrepo'

So in the above only 'thisrepo' would be looked at



Comment 2 Sigge Kotliar 2005-11-28 19:51:06 UTC
Ah, I see!

Sorry for bothering you!

But as an even smaller side-bug: please update the man page to reflect that
example. Just before submitting this bug I read the man page and suspected glob
might be something like this. Didn't manage to figure out how to use it though. 

So: mind adding that row you added for me to the man page? 


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