[Rpm-maint] [rpm-software-management/rpm] Added a high-level wrapper. (#1311)

Michal Domonkos notifications at github.com
Thu Feb 10 08:43:04 UTC 2022


Sure! We do like the idea of having such a high-level API (wrapper), but in its current form at least, this one is perhaps too specialized, and we'd rather have something more generic, like a `Package` class that would expose things like a `files` or `headers` iterator/dictionary and possibly some context managers too, similar to what you did here. But that would require a lot of work to come up with such a generic API and get it right, so instead (for now) we entertained the idea of introducing an `examples` directory where this would fit well. There's probably more stuff that we could put in there, too.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1311#issuecomment-1034642453
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1311/c1034642453 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220210/de925a95/attachment.html>


More information about the Rpm-maint mailing list