[Rpm-maint] [rpm-software-management/rpm] Rust bindings for rpmlib (#429)

Jeff Johnson notifications at github.com
Fri Apr 13 20:48:13 UTC 2018


Re hiding header objects

You an also hide headers in rust bindings.

There are 3 places that headers become visible:

1) when read from packages in order to create a transaction
This can be handled by passing *.rpm file names to rpmInstall or package names to rpmErase

2) Most usage cases for an rpmdb match iterator are interested in returning query information textually: you could pass in the queryformat and concarenate the strings from headers. Alternatively, you could bind the top level query/verify routines.

3) the transaction callback which is mostly used for pushing progress bars (you haven't worried about that: the default callback is mostly good enough)

By hiding all of the information, and adding a version comparison, that is likely 90% of what users want from rpm in their own native language.



-- 
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/issues/429#issuecomment-381256734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180413/a797e2bb/attachment.html>


More information about the Rpm-maint mailing list