base objects

seth vidal <skvidal-c/MNwgJ9CEH2fBVCVOL8/[email protected]> Tue, 23 Mar 2004 02:06:50 -0500
Newsgroups gmane.linux.redhat.rpm.python
Message-ID <1080025610.9830.24.camel@binkley>
So, 
 ignoring, for the moment, the rpm-python design let's talk about base
objects for developing with rpm in python.

What are the base objects to start off with? These are the things I find
myself working with:


Packages-as-files: opening, checking, etc an actual rpm file

Headers: dealing with rpm headers, from files, in database, in yum, etc.

Rpm-dbs: querying the rpmdb to extra headers and information

Transaction sets/ts elements: the things I want to perform a 'u,e or i'
function with.

Are these the base objects/concepts you find yourself dealing with when
programming for rpm?

I don't  want to get all bound up in how it currently works, I just want
to get some ideas on how it would be nice to look, then see if we can
make it work something like that.

-sv