hydra.build.assemblyplan module
The pure assembly-plan derivation: the ordered overlay-copy entries and keep-paths for a distribution package.
- hydra.build.assemblyplan.derive_assembly_plan(pkg: str, lang: str, available_trees: Sequence[str], tree_files: Sequence[tuple[str, T0]]) tuple[Sequence[tuple[str, tuple[str, str]]], Sequence[tuple[str, T0]]]
The full assembly plan (entries, keepPaths) for a (package, language) pair.
- hydra.build.assemblyplan.keep_paths_for(pkg: str, lang: str, tree_files: Sequence[tuple[str, T0]]) Sequence[tuple[str, T0]]
The (sourceSetDir, relPath) keep-paths for a package’s copied overlay files.
- hydra.build.assemblyplan.overlay_entries(pkg: str, lang: str, available_trees: Sequence[str]) Sequence[tuple[str, tuple[str, str]]]
The ordered (sourceTree, destTree, merge) overlay-copy entries for a package’s available trees.
- hydra.build.assemblyplan.remap_dest(pkg: str, lang: str, subdir: str) str
Remap an overlay source-set subdir to its dist/<lang>/<pkg>/<subdir> destination.
- hydra.build.assemblyplan.source_set_subdir(root: str, subdir: str) str
Join a package root and a source-set subdirectory with a / separator.
- hydra.build.assemblyplan.typescript_import_graph() Sequence[tuple[str, tuple[str, str]]]
The TypeScript cross-package symlink graph as (sourceTree, destTree, kind) triples.