From 3610ad0b72d3bee64c54cb475516a6a20442c07f Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 16 Jul 2026 11:50:04 +0200 Subject: test-build: add --local-deps for in-repo deps Resolve deps that are siblings in the target's own repo (not on SBo or official Slackware) by prepending the target's repo root to the dep search roots when --local-deps is passed. The SBo tree is still searched after. Covers packages like huggingface_cli whose deps live in the same maintenance repo. Adds two logic self-checks and updates CLAUDE.md, README, and the test-build-slackbuild skill. Co-Authored-By: Claude Opus 4.8 --- CLAUDE.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'CLAUDE.md') diff --git a/CLAUDE.md b/CLAUDE.md index c4813db..552f7d9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -64,6 +64,10 @@ Deps are resolved from the SBo tree in the config (`SBO_TREE_CURRENT` / per run from the image's `/var/log/packages`), or 3. an override (see below). +With `--local-deps`, the target's own repo root (its grandparent dir) is +prepended to the search roots, so a dep that is a sibling in the same repo (not +on SBo) resolves and builds from there before the SBo tree is consulted. + Deps build first and are cached; the target always rebuilds (that is the test). ### current-vs-stable overrides @@ -101,7 +105,9 @@ built deps). Only **deps** are cached, never the target. `--stable` (15.0), `--dry-run`, `--yes`, `--no-cache`, `--keep` (copy the built target `.txz` to `/kept/` so it can be installed on the host, e.g. to -regenerate post-install artifacts), `--no-color`. +regenerate post-install artifacts), `--local-deps` (also resolve deps from the +target's own repo, its grandparent dir, prepended before the SBo tree, for +packages whose deps are siblings in the same repo and not on SBo), `--no-color`. ## image-builder -- cgit v1.2.3