yum shell

April 14, 2008

This email was pointed out to me today. I do enjoy people who are not yum developers (or even working on any kind of packaging development) claim to understand the motivations as to why features were added to yum. I think a prereq for claiming to know any of my motivations is to be inside my head at the time I was thinking about it.

So much.

For the record here are the set of reasons why yum shell was added to yum:

– allow users to stack commands to deal with all sorts of interesting packaging issues (like trying to remove sendmail and install postfix in a single command – a common issue with rhl 7.2, 7.3, etc

– provide interface for doing scripted sets of commands that needed to occur in a single transaction for a variety of reasons

– to speed up repeated calls to the exact same setup functions. It takes a certain amount of time to call up python and the libs yum requires along with all the repo checking, etc. With the yum shell addition it removed the repeated setup expense for repetitive operations. Even the fastest program needs to do some setup to check its state.

– last, but not least, I wanted to play with the ‘cmd’ module in python and I thought this would be a neat use for it.

I don’t think any of the above are “cop outs”.

4 Responses to “yum shell”

  1. Mike McGrath Says:

    Trying to guess someones motives based off their actions is a common fallacy, one that I think email encourages…


  2. Bah, we all know the real reason.. to make someone post an idiotic post about the reasons.. your double reverse psychology won’t work on me… mister!

  3. Snerd Says:

    FedoraDome! Two hackers enter, two hackers leave!

    … wait, what

  4. davidz Says:

    Yeah, uh, I did write that. It does make me look like an asshole. Sorry about that.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: