[Rpm-maint] [rpm-software-management/rpm] Implement a database cookie API for determining whether rpmdb has cha… (#712)

Panu Matilainen notifications at github.com
Thu May 23 12:29:06 UTC 2019


We can always have an optional per-db cookie implementation if it becomes necessary. It's not like the cookie needs to be consistent across different implementations, it's merely handy if it can be implemented that way.

In the meanwhile, I realized this version is quite flawed as it just hashes the names without considering how many of them there might be. I guess this really needs to look at both the keys and the data of an index and hash it all to really account for rpmdb rebuilds and the like. (the flaw comes from initially thinking in terms of main package db which of course is quite different)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/712#issuecomment-495197874
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190523/59731ea4/attachment.html>


More information about the Rpm-maint mailing list