API for accessing the history sqlite data.
|
__init__(self,
root=' / ' ,
db_path=' /var/lib/yum/history ' ) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
beg(self,
rpmdb_version,
using_pkgs,
txmbrs) |
source code
|
|
|
|
|
|
|
|
|
|
|
end(self,
rpmdb_version,
return_code,
errors=None) |
source code
|
|
|
|
|
|
|
old(self,
tids=[ ] ,
limit=None,
complete_transactions_only=False)
Return a list of the last transactions, note that this includes
partial transactions (ones without an end transaction). |
source code
|
|
|
last(self,
complete_transactions_only=True)
This is the last full transaction. |
source code
|
|
|
_yieldSQLDataList(self,
patterns,
fields,
ignore_case)
Yields all the package data for the given params. |
source code
|
|
|
search(self,
patterns,
ignore_case=True)
Search for history transactions which contain specified packages al. |
source code
|
|
|
_create_db_file(self)
Create a new history DB file, populating tables etc. |
source code
|
|