Trees | Indices | Help |
---|
|
|
|||
SolveDependenciesError |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__packages_with_arch_and_id_sql =
|
|||
__packages_sql =
|
|||
__packages_all_sql =
|
|||
__provides_sql =
|
|||
__provides_all_sql =
|
|||
__files_sql =
|
|||
__files_all_sql =
|
|||
__package__ =
|
|
This version of solve_dependencies allows the caller to get all of the packages that solve a dependency and limit the packages that are returned to those that match the criteria defined by limit_operator and limit. This version of the function also returns the architecture label of the package[s] that get returned. limit_operator can be any of: '<', '<=', '==', '>=', or '>'. limit is a a string of the format [epoch:]name-version-release deps is a list of filenames that the packages that are returned must provide. version is the version of the client that is calling the function. Indexes for the tuple entry_index = 0 preference_index = 1 Indexes for the list of package fields. name_index = 0 version_index = 1 release_index = 2 epoch_index = 3 |
Does the same thing as solve_dependencies, but also returns the architecture label with the package info. E.g. OUT: Dictionary with key values being the filnames in deps and the values being a list of lists of package info. Example := {'filename1' : [['name', 'version', 'release', 'epoch', 'architecture'], ['name2', 'version2', 'release2', 'epoch2', 'architecture2']]} |
The unchanged version of solve_dependencies. IN: server_id := id info of the server deps := list of filenames that are needed by the caller version := version of the client OUT: Dictionary with key values being the filnames in deps and the values being a list of lists of package info. Example := {'filename1' : [['name', 'version', 'release', 'epoch'], ['name2', 'version2', 'release2', 'epoch2']]} |
Intended to be passed to a list object's sort(). In: {'epoch': 'value', 'version':'value', 'release':'value'} |
Check to see if evr is within the limit. IN: evr = { 'epoch' : value, 'version':value, 'release':value } operator can be any of: '<', '<=', '==', '>=', '>' limit = { 'epoch' : value, 'version':value, 'release':value } OUT: 1 or 0 |
|
__packages_with_arch_and_id_sql
|
__packages_sql
|
__packages_all_sql
|
__provides_sql
|
__provides_all_sql
|
__files_sql
|
__files_all_sql
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:11 2020 | http://epydoc.sourceforge.net |