Wed 11 Feb 2004 00:26:40 GMT

February 11, 2004

Lots of yum work and discussion tonight. Thinned the herd on old dumb variables and started generating some paper-code for an updates class.

Gist of it is:

2 lists of name, arch, epoch, ver, rel for packages:

list1 is the installed pkgs

list2 is in the available pkgs

allows an optional dict of obsoletes available in the pkg lists

allows to return:

– list of packages that update something installed

– list of packages that obsolete something installed

– mapping of packages that update something to that which they update

– mapping of packages that obsolete something to that which they obsolete

– list of packages that are both obsolete-able and update-able (ewwww)

should take some configuration options:

– exactarch = [0|1]

– logging/debug methods for outputting decisions being made

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: