Version 2.0.0
Codec table, stream convert/export, root only where mounts exist, and a trap
that only tears down what this PID created.
Requires StormByte-functions-bash ≥ 1.3.0. Conf keys are unchanged;
convert / export ignore STORAGE_SYSTEM / STORAGE_SIZE.
Added
- Short write extensions:
.tgzip,.tbzip2,.txz,.tzd. Also read
.tzstd,.tar.zst, and the 1.0.0 aliases. format_from_extension/canonical_extension— one table for list, use,
convert and export.- Stream recompress:
pv | decompress | compress > dest.partial && mv.
Same codec →cp --reflink=auto(fallbackcp). Same path → no-op. use/rebasere-execsudo -Ewheneuid != 0. Written stages and
FILE sidecars packed by this PID arechown'd toSUDO_UID:SUDO_GID.- Trap inventory (
_did_lock,_did_tmp,_did_zram,_partial_path):
explicit umount of pkg/distfiles/repos/patches/extra and/proc/dev
/sys/run; norm -rfof a live mountpoint; zram reset only if this
PID allocated the device and the mount is gone. FORCE=1setsCONFIRM=1forconfirm_yesfromfunctions.sh.- Docs, man and completion for 2.0.0 (export has no format argument).
Changed
STORMBYTE_STAGEMANAGER_VERSION1.0.0→2.0.0.REQUIRE_STORMBYTE_FUNCTIONS1.2.0→1.3.0.convert <stage> <gzip|bzip2|xz|zstd>writes the canonical short name
next to the source. No extract, no tmpfs/zram, no root.export <stage> <dest_folder>is convert with a fixed name
<stem>-YYYYMMDD.txzand codec xz. Third argument removed.set_and_check_filesets codec from the extension; it does not call
set_compression(that rewrote the output name and rejected.tzd).save_changeson rebase takes a destination path that need not exist.list/notes/config/convert/export/delete/rename/
downloadrun as the invoking user.
Fixed
listshowed.tzdthenuse 0died withUnknown format: tzd.- Convert/export no longer unpack a multi-gigabyte tree to change codec.
- Ctrl-C no longer
rm -rfs a tree that failed to unmount. - Vendored
functions.shin the repo is not the source of truth; the
packaged helper is.
Removed
exportformat argument (export <stage> <dir> <format>).- Root requirement on commands that only touch files.