On Mon, 2005-11-28 at 09:26 +0800, Yuan Yijun wrote:
What if include rpm-build in yum, like apt-build, or apt-get build
does? Maybe yum could become another emerge or pkg_add or so. :p
Danger will robinson. Feature creep.
Yum downloads packages/updates from configured repositories, resolves
deps, and installs those packages. Anything else is above and beyond
yum. Other things can use yum libraries to accomplish that bit of task,
but must provide everything else.
Now, with the new libraries that Seth is cranking out, a python script
can import the yum module, do:
foo = yum.YumBase()
Then you can setup all kinds of things like
and when you are done lining up these yum actions, you can
to run it all. Yum will be very easy to tie into for doing your grander
than yum actions.
(thanks seth for the examples on IRC that I copied here)
Jesse Keating RHCE (geek.j2solutions.net
Fedora Legacy Team (www.fedoralegacy.org
GPG Public Key (geek.j2solutions.net/jkeating.j2solutions.pub
Was I helpful? Let others know: