Build and packaging library
  • Python 43.9%
  • Makefile 40.9%
  • Shell 15.2%
Find a file
Jan Lindemann 3e897f4df8 lib.Distro, ExecContext: Add classes, refactor lib.distro
The code below lib.distro, as left behind by the previous commit, is
geared towards being directly used as a command-line API. This commit
introduces the abstract base class Distro, a proxy for
distribution-specific interactions. The proxy abstracts distro
specifics into an API with proper method prototypes, not
argparse.Namespace contents, and can thus be more easily driven by
arbitrary code.

The Distro class is initialized with a member variable of type
ExecContext, another new class introduced by this commit. It is
designed to abstract the communication channel to the distribution
instance.  Currently only one specialization exists, Local, which
interacts with the distribution and root file system it is running
in, but is planned to be subclassed to support interaction via SSH,
serial, chroot, or chains thereof.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-06 14:56:46 +01:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf jw-pkg.py: Enable argcomplete 2026-03-06 12:06:28 +01:00
make lib.Distro, ExecContext: Add classes, refactor lib.distro 2026-03-06 14:56:46 +01:00
scripts jw-pkg.py: Enable argcomplete 2026-03-06 12:06:28 +01:00
src lib.Distro, ExecContext: Add classes, refactor lib.distro 2026-03-06 14:56:46 +01:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-179@suse-tumbleweed/x86_64 2026-03-05 13:12:23 +00:00
Makefile $(TOPDIR)/Makefile: Remove superfluous SUBDIRS 2025-11-14 13:39:52 +01:00
RELEASES Release 1.0.0-179@suse-tumbleweed/x86_64 2026-03-05 13:12:23 +00:00
VERSION Start version: 1.0.0-179 2026-03-05 13:11:46 +00:00