rosdistro package¶
Submodules¶
rosdistro.aptdistro module¶
rosdistro.common module¶
rosdistro.dependency_walker module¶
-
class
rosdistro.dependency_walker.
DependencyWalker
(distribution_instance, evaluate_condition_context=None)[source]¶ Bases:
object
-
get_depends
(pkg_name, depend_type, ros_packages_only=False)[source]¶ Return a set of package names which the package depends on.
-
get_depends_on
(pkg_name, depend_type, ignore_pkgs=None)[source]¶ Return a set of package names which depend on the package.
-
rosdistro.develdistro module¶
rosdistro.distribution module¶
-
class
rosdistro.distribution.
Distribution
(distribution_file, manifest_providers=None, source_manifest_providers=None)[source]¶ Bases:
object
-
default_manifest_providers
= [<function github_manifest_provider>, <function bitbucket_manifest_provider>, <function git_manifest_provider>, <function tar_manifest_provider>]¶
-
default_source_manifest_providers
= [<function github_source_manifest_provider>, <function git_source_manifest_provider>, <function tar_source_manifest_provider>]¶
-
rosdistro.distribution_cache module¶
rosdistro.distribution_cache_generator module¶
-
class
rosdistro.distribution_cache_generator.
CacheYamlDumper
(*args, **kwargs)[source]¶ Bases:
yaml.dumper.SafeDumper
A yaml dumper specific to dumping the serialized rosdistro cache file.
Allows long lines and direct unicode representation. This avoids writing escape sequences, line continuations, and other noise into the cache file. Also permits long strings to alias each other (by default only objects do).
rosdistro.distribution_file module¶
rosdistro.doc_build_file module¶
rosdistro.doc_repository_specification module¶
-
class
rosdistro.doc_repository_specification.
DocRepositorySpecification
(name, data)[source]¶ Bases:
rosdistro.repository_specification.RepositorySpecification
rosdistro.freeze_source module¶
rosdistro.index module¶
rosdistro.legacy module¶
rosdistro.loader module¶
rosdistro.package module¶
rosdistro.release module¶
rosdistro.release_build module¶
rosdistro.release_build_file module¶
rosdistro.release_cache module¶
rosdistro.release_cache_generator module¶
rosdistro.release_file module¶
rosdistro.release_repository_specification module¶
rosdistro.repository module¶
rosdistro.repository_specification module¶
rosdistro.rosdistro module¶
-
class
rosdistro.rosdistro.
RosDistro
(name, cache_location=None)[source]¶ Bases:
object
-
get_depends
(items, depth=0, dep_dict={'build': ['build', 'run', 'buildtool', 'test'], 'buildtool': ['build', 'run', 'buildtool', 'test'], 'run': ['build', 'run', 'buildtool', 'test'], 'test': ['build', 'run', 'buildtool', 'test']})[source]¶
-
rosdistro.source_build_file module¶
rosdistro.source_file module¶
rosdistro.source_repository_cache module¶
-
class
rosdistro.source_repository_cache.
SourceRepositoryCache
(data)[source]¶ Bases:
object
This class represents a cache of the package XML strings for all packages in a single repo at a particular moment in time. A dictionary of many of these (one for each repo) keyed to the repo name represents the totality of the source package xml cache.
-
classmethod
from_ref
(ref)[source]¶ Create a new empty cache instance from just the version control reference hash.
-
classmethod
rosdistro.source_repository_specification module¶
-
class
rosdistro.source_repository_specification.
SourceRepositorySpecification
(name, data)[source]¶ Bases:
rosdistro.repository_specification.RepositorySpecification