scripts/presence_runtime.py
openaliro/openaliro
Module

presence_runtime.py

Build the minimal, deterministic presence runtime transfer archive.

scripts/presence_runtime.py4 documented symbols

Overview

Build the minimal, deterministic presence runtime transfer archive.

API

Cclass BundleError(RuntimeError)

scripts/presence_runtime.py:38

Exception raised when bundle construction fails.

called by _runtime_sources

F_tarinfo(name: str, mode: int, kind: bytes, size: int=0)

scripts/presence_runtime.py:43

Create a TarInfo record with deterministic metadata (zero UID/GID, empty user/group names, zero mtime) for tar.gz content. Caller specifies entry name, Unix mode, tarfile type constant, and optional size.

called by build_bundle

Fbuild_bundle(repo_root, output)

scripts/presence_runtime.py:75

Write a deterministic tar.gz and return its SHA-256 hex digest.

called by main  ·  calls _runtime_sources, _tarinfo

Fbuild_parser(repo_root)

scripts/presence_runtime.py:127

Build and return an argument parser for the presence-runtime archive tool with --output option.

called by main
Undocumented (2)

_runtime_sources, main