[Yum] Future feature request...

seth vidal skvidal at phy.duke.edu
Tue Nov 11 21:58:07 UTC 2003

> And has an incredibly sane internal set of data structures and an
> extensible and well-documented ABI.

ABI? no - API. there isn't much in the way of 'binary interface' here.

> As you say, this could be done now "outside of yum" with an e.g. perl
> script that does some obvious things, but they would still be
> inefficient -- running yum's core a whole bunch of times instead of just
> once to build its internal installed/uninstalled lists with their
> attached/hashed metadata.


import yum
conf = yum.config('/etc/yum.conf')
pkglist = yum.parse(conf.pkglists())

whatever - but do it all internally - instead of external
screen-scraping calls.


More information about the Yum mailing list