[Yum] yum-queue proof-of-concept script

Mihai Maties mihai at xcyb.org
Fri Mar 26 09:10:13 UTC 2004


On Friday 26 March 2004 07:16, seth vidal wrote:
> That won't work nearly as well as you'll be making assumptions about the
> commands as you go.
>
> ie: yum-queue install foo*
>     yum-queue erase foo*
>
> not really the same command and you can't treat foo* as one package.

Oops, I forgot about wild cards. You're right, but what about the approach on 
packages rather than commands ? If one uses yum-libs as Michael said, in my 
opinion this should be the best way of specifying packages since the 
wildcards could be expanded properly. So "install foo*" followed by "erase 
foobar*" would accomplish the expected thing.

> Finally, I'd prefer if things for yum all stay in the same language,
> having a hodge podge of languages is hard to deal with and it's just not
> sensible in the long run.

You're right again. I admit that since I know very little Python programming 
I'm not well suited for the job (at least not now :) ).

In conclusion I will write a few lines of code to implement the "run" queue 
command as well and start using yum-queue for my personal stuff.

Thank you and Michael for your usefull comments.


Mihai



More information about the Yum mailing list