Pkg::ResolvableProperties — Return properties of resolvable
list<map<string,any>>
ResolvableProperties
( | name name , |
kind_r kind , | |
version
version
) ; |
name
of the resolvable, if empty returns all resolvables of the kind
kind
of resolvable, can be `product, `patch, `package, `pattern or `language
version
of the resolvable, if empty all versions are returned
list of $[ "name":string, "version":string, "arch":string, "source":integer, "status":symbol, "locked":boolean ] maps status is `installed, `removed, `selected or `available, source is source ID or -1 if the resolvable is installed in the target if status is `available and locked is true then the object is set to taboo, if status is `installed and locked is true then the object locked if status is `selected or `removed there is extra key "transact_by" : symbol, where symbol is `user (the highest level), `app_high (selected by Yast), `app_low and `solver (the lowest level) Additionally to keys returned for all resolvables, there also some resolvable-specific ones: `product keys: + "category" + "display_name" + "short_name" + "update_urls" + "flags" + "extra_urls" + "optional_urls" + "register_urls" + "relnotes_urls" + "smolt_urls" + "register_target" + "register_release" + "flavor" + "replaces" + "name" + "version" + "arch" + "description" + "display_name" + "short_name" + "product_file" -> string : product file (full file name with target root prefix) (only for installed products) + "product_package" -> string : package name providing the product (only for available products) + "upgrades" -> list<map> : parsed data from the product file (upgrades section) + "name" -> string + "summary" -> string + "repository" -> string : URL path + "notify" -> boolean + "status" -> string `patch keys: + "interactive" + "reboot_needed" + "relogin_needed" + "affects_pkg_manager" + "is_needed" `package keys: + "path" + "location" `srcpackage keys: + "path" + "location" + "src_type" -> string : "src" or "nosrc" type `pattern keys: + "category" + "user_visible" + "default" + "icon" + "script" + "order" `language keys: + "code" + "packages" + "requested" If dependencies are requested, this keys are additionally used: + "provides" + "prerequires" + "requires" + "conflicts" + "obsoletes" + "recommends" + "suggests" + "enhances" + "supplements" All the dependencies use maps with these keys: + "res_kind" + "name" + "dep_kind"