aboutsummaryrefslogtreecommitdiffstats
path: root/.extras/test-build
AgeCommit message (Collapse)AuthorFilesLines
2026-07-14test-build: auto-pull the image from the LAN registry when missingDanilo M.1-10/+16
require_image now docker-pulls ACTIVE_IMAGE (a fully-qualified registry ref) if it is not already local, instead of erroring out and telling the user to pull by hand. Only errors if the pull itself fails. Pull-if-missing only: a stale local tag is not refreshed (noted for a future --pull flag). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14test-build: fix container stdin and move lint in-containerDanilo M.1-23/+23
Two bugs surfaced by the first real end-to-end run: 1. docker run lacked -i, so bash -s got no stdin and the heredoc build script was silently discarded (0s BUILD-FAILED, empty log). Add -i. 2. sbopkglint ran host-side, where it shells out to sudo to installpkg the package for inspection; Slackware has no configured sudo, so lint errored (lxsudo not found / password required). Move the lint into the build container (target only, gated on IS_TARGET), where it runs as root with the baked-in tool and needs no sudo. The host now just reads the LINT-CLEAN / LINT-FINDINGS marker from the log for its summary. Drop the dead host-side lint_pkg function. Verified: feroxbuster builds and lints clean end-to-end against sbo-testbuild:current in 72s. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14test-build: make drop: satisfy a dep at resolution timeDanilo M.1-0/+6
Previously drop: only filtered the resolved build order, so an external dep with no dir in the tree (a 15.0-only SBo package like rust-opt) was flagged UNMET before the order filter ran, and drop: could never rescue it. Move the OV_DROP check into _resolve_visit: a dropped token is now skipped entirely (no recurse, no UNMET, no order entry), satisfying 15.0-only deps that the -current base already provides. Still inert on 15.0. Add self-check coverage and clarify overrides.example. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-14test-build: implement installed_in_base from image package dbDanilo M.1-7/+27
Replace the stub with a lazy load of the active image's /var/log/packages: strip each entry's -<ver>-<arch>-<build> tail to the bare package name and match REQUIRES tokens against that set, so a dep the full-install image already provides resolves as met instead of UNMET. Loaded once per run via docker run --rm; TB_BASE_PKGS/TB_BASE_LOADED are test-seedable to bypass docker. Add logic-check coverage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-13test-build: document installed_in_base deferralDanilo M.1-3/+7
2026-07-13test-build: fix empty-order corruption when all deps droppedDanilo M.1-1/+8
2026-07-13test-build: wire main, image-presence check, target lookupDanilo M.1-0/+37
2026-07-13test-build: run_target orchestration + summary + confirmDanilo M.1-0/+147
2026-07-13test-build: container build step (build_one via docker)Danilo M.1-0/+171
2026-07-13test-build: port BLOCKED-BY-DEP propagationDanilo M.1-0/+17
2026-07-13test-build: port dep cache, namespaced by image digestDanilo M.1-0/+86
2026-07-13test-build: current-vs-stable override engineDanilo M.1-0/+60
2026-07-13test-build: port SBo lookup + dependency resolverDanilo M.1-0/+96
2026-07-13test-build: config, arg parsing, version selectionDanilo M.1-1/+102
2026-07-13test-build: scaffold script + self-checkDanilo M.1-0/+40
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>