[Rpm-maint] Rpm Database musings

Panu Matilainen pmatilai at laiskiainen.org
Tue Apr 2 17:19:20 UTC 2013


On 04/02/2013 05:17 PM, Michael Schroeder wrote:
> On Thu, Mar 14, 2013 at 03:33:44PM +0200, Panu Matilainen wrote:
>> I think strings are fine, just thought to note that there are those couple
>> of non-string indexes which we need to do something about. Sigmd5 is
>> probably better just axed, Installtid we might want to keep but that can
>> just as well be converted into a string.
>
> FYI: I changed the code to support both strings and binary blobs as keys.
> (I.e. it uses blobs internally, but there are some convenience functions
> for strings.)

Ok. Among various other similar internal API issues, I've been pondering 
about where exactly should the string <-> blob conversion occur (backend 
vs rpmdb layer). This means one thing less to worry about, so I'm not 
complaining :)

	- Panu -



More information about the Rpm-maint mailing list