RHInception / jsonstats

system stats over rest in json (buzzzzwords here)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

magnus919 opened this issue · comments

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

Patches accepted.

Needs to gracefully handle if rpm library is not installed.
On Dec 18, 2013 5:20 PM, "Magnus Hedemark" notifications@github.com 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
.