Client API¶
Backend plugin methods
packageLists()¶
package_lists returns the list of all the packages available in the client repositories.
Each package is returned as a string with the following format:
name, arch, version, release, repository, notice_type, update_id
get_change_log(name, arch, ver, rel)¶
returns the changelog (string) of a package, it requires 4 arguments to find the changelog:
the package's name, the package's architecure, the package's version and the package's release.
get_updates_list()¶
this method returns all the packages to update, the meta info and the metabug info.
package_to_update is a list of string
packages_to_upate is a tuple of name, arch, ver, rel repository, notice_type and notice
metainfo_to_update
metabug_to_update
get_installed_list()¶
returns the list of packages installed on the machine (used while csyncing)
it's a list of tuples containing the name, the arch, the ver, the rel, the repository
get_info (old_repo, repo, info=None)¶
get_notice(package_name, package_version, package_release, info)¶
install(pobj)¶
update(pobj)¶
build_transaction()¶
search(name=None, epoch=None, ver=None, rel=None, arch=None)¶
cleanup_list(field)¶
get_keys()¶
set_proxy(proxy)¶
define the proxy used to retrieve the information from the net. it requires a string containing the username and the password if needed