[Yum-devel] Such pretty, pretty crack

Sean Dilda agrajag at dragaera.net
Mon Jan 31 12:08:39 UTC 2005


seth vidal wrote:
> hi all,
>  So apparently I was on drugs this weekend. I can only assume this b/c I
> implemented some things which could, very likely, fall into such a
> category.
> 
>  1. yum resolvedep /usr/bin/foo
>    this will search the repos for something that resolves that dep
>    ditto for: yum resolvedep "foo > 1.1" and yum resolvedep bar
>  2. yum install /some/misc/file 
>     - using the above function internally it allows you to do file-path 
>       installs. I think this is a crack command line arg item but there 
>       it is. No, it doesn't support globbing, no, i'm not interested in 
>       having it support globbing. :)

Thanks.  I've had time that I've wanted both of those features.

>  
> Now for the special, special crack, that really needs some more cleaning
> up:
>   yum shell
> 
> yum shell will dump you out at a prompt (after reading in the rpmdb and
> setting up potential transaction set stuff)
> then all the normal yum commands will function:
> 
> yum shell:
> Setting up Yum Shell:
> 
>>list updates
> 
> (updates listed here)
> 
>>update procps
> 
>  (procps is pushed into the updates list, if possible)
> 
>>list available
> 
> (available pkgs listed here)
> 
>>install cfengine
> 
>  (cfengine is pushed into the install list, if possible)
> 
>>remove zip
> 
>  (zip is pushed into the remove list, if possible)
> 
>>run
> 
> 
> at this point it will run the transaction(s) you have built uprequested
> and then promptly exit.

Wow, that does seem pretty crack ridden.  But there's probably someone 
out there who'll want it.



More information about the Yum-devel mailing list