[Rpm-ecosystem] Using rpm db to track unneeded packages

Michael Schroeder mls at suse.de
Fri Apr 1 13:58:28 UTC 2016


On Fri, Apr 01, 2016 at 08:55:46AM -0400, Honza ??ilhan wrote:
> and additional history database in sqlite. It would make a sense to have
> *extensible* database within RPM but IIRC it was rejected. We are planning
> to have one shared database about transactions inside libhif - common layer
> for dnf and PackageKit. It would be great of rpm guys changed their mind
> but I am not sure newrpmdb is extensible.

It's a key->value store like BerkeleyDB. It doesn't interpret the value
in any way, rpm uses the complete header as value but you can use
anything else as well, be it json, xml, ...

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX GmbH,           GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}


More information about the Rpm-ecosystem mailing list