[Yum-devel] New yum commandline option

Tim Lauridsen tim at rasmil.dk
Fri Jan 6 08:51:40 UTC 2006


seth vidal wrote:

>>Yes, i have attached a patch there do the comma parsing.
>>
>>    
>>
>
>Looking at your patch - you put it in cli which seems the wrong place to
>do it if you want it to be generically useful.
>
>Why not put it in:
>yum.repos.RepoStorage.findRepos() where the glob-parsing is?
>
>that way it works for cli and non-cli operations.
>  
>
I agree, i have made a new patch.
i had to add something to

yum.repos.RepoStorage.enableRepo and yum.repos.RepoStorage.disableRepo to handle the case where

repoid = freshrpms,dries  (no wildcards)

i have tested it with this command:

./yummain.py --disablerepo=\* --enablerepo=devel*,extras-dev* grouplist

it disables : base,updates-released,extras,livna (enabled in the repo files)
and enables : development and extras-development


Tim Lauridsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20060106/15cbfac1/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comma.patch
Type: text/x-patch
Size: 1726 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060106/15cbfac1/attachment.bin 


More information about the Yum-devel mailing list