Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"import rpm" module instead of executing /usr/bin/rpm in RPM plugin #27

Open
magnus919 opened this issue Dec 18, 2013 · 1 comment
Open

Comments

@magnus919
Copy link

Currently, the RPM plugin is fetching data via external calls to /usr/bin/rpm rather than using the native Python calls which bind to librpm.

Some pointers at: http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-rpm-programming-python.html

@tbielawa
Copy link
Member

Patches accepted.

Needs to gracefully handle if rpm library is not installed.
On Dec 18, 2013 5:20 PM, "Magnus Hedemark" [email protected] wrote:

Currently, the RPM plugin is fetching data via external calls to
/usr/bin/rpm rather than using the native Python calls which bind to
librpm.

Some pointers at:
http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch-rpm-programming-python.html


Reply to this email directly or view it on GitHubhttps://github.com//issues/27
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants