InstTester: Clarify some documentation

Signed-off-by: Niels Thykier <niels@thykier.net>
master
Niels Thykier 9 years ago
parent 58edb64c99
commit 8eb1abede3

@ -25,15 +25,16 @@ class InstallabilityTester(object):
safe_set, eqv_table): safe_set, eqv_table):
"""Create a new installability tester """Create a new installability tester
universe is a dict mapping package tuples to their universe is a dict mapping package ids to their
dependencies and conflicts. dependencies and conflicts.
revuniverse is a set of all packages with reverse relations revuniverse is a table containing all packages with reverse
relations mapping them to their reverse relations.
testing is a (mutable) set of package tuples that determines testing is a (mutable) set of package ids that determines
which of the packages in universe are currently in testing. which of the packages in universe are currently in testing.
broken is a (mutable) set of package tuples that are known to broken is a (mutable) set of package ids that are known to
be uninstallable. be uninstallable.
essentials is a set of packages with "Essential: yes". essentials is a set of packages with "Essential: yes".
@ -42,7 +43,7 @@ class InstallabilityTester(object):
either have no dependencies or only depends on other "safe" either have no dependencies or only depends on other "safe"
packages. packages.
Package tuple: (pkg_name, pkg_version, pkg_arch) Package id: (pkg_name, pkg_version, pkg_arch)
- NB: arch:all packages are "re-mapped" to given architecture. - NB: arch:all packages are "re-mapped" to given architecture.
(simplifies caches and dependency checking) (simplifies caches and dependency checking)
""" """

Loading…
Cancel
Save