[Rpm-maint] [rpm-software-management/rpm] Add real-life examples of Python RPM (PR #3177)

Panu Matilainen notifications at github.com
Mon Jun 24 13:20:44 UTC 2024


> All of the proposed examples show how to implement various `rpm` commands. I don't know whether it would be worth it having them in a separate (sub)directory or not.

Anything you do with the bindings is going to resemble something rpm does, I don't see these being any different from the pre-existing examples in that, and I doubt we'll have too many examples to reasonably fit into a single directory anytime soon.

One observation here is that these names are awfully verbose in rpm, the land of the terse, and look a bit odd because of that. So maybe some shorter names would do :smile: Something like 'rpm-qa.py' seems like equally telling to me.

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

Message ID: <rpm-software-management/rpm/pull/3177/c2186569219 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240624/af844a23/attachment.html>


More information about the Rpm-maint mailing list