refactor(build): clearer skip-fetch flag names (--skip-fetch / -pkg / -memstick) #142

Merged
clawdie merged 1 commit from clearer-skip-fetch-flags into main 2026-06-25 13:18:11 +02:00
Owner

What

Clearer, consistent names for the fetch-skip flags. The old --skip-fetch already
skipped packages and (via the memstick branch) the memstick, but the name didn't
say so, and --skip-memstick-fetch had inconsistent word order.

Flag Effect
--skip-fetch skip both — packages + memstick (assemble from cache)
--skip-fetch-pkg skip only the package + Clawdie-AI fetch (new granular)
--skip-fetch-memstick skip only the FreeBSD memstick fetch (was --skip-memstick-fetch)

How

  • SKIP_FETCH → split into SKIP_PKG_FETCH + SKIP_MEMSTICK_FETCH; --skip-fetch
    sets both.
  • Memstick step collapses from three branches to a clean skip-or-fetch (the third
    branch only existed to couple the pkg-skip flag to memstick reuse).
  • No legacy alias retained — names state the current way directly.

Verified

  • sh -n build.sh clean; no stray SKIP_FETCH / --skip-memstick-fetch references.
  • Parse smoke test: --skip-fetch→pkg=1/memstick=1, --skip-fetch-pkg→1/0,
    --skip-fetch-memstick→0/1.

Independent of the firstboot/seed work — pure flag-naming refactor off main.

🤖 Generated with Claude Code

## What Clearer, consistent names for the fetch-skip flags. The old `--skip-fetch` already skipped packages *and* (via the memstick branch) the memstick, but the name didn't say so, and `--skip-memstick-fetch` had inconsistent word order. | Flag | Effect | | --- | --- | | `--skip-fetch` | skip **both** — packages + memstick (assemble from cache) | | `--skip-fetch-pkg` | skip only the package + Clawdie-AI fetch *(new granular)* | | `--skip-fetch-memstick` | skip only the FreeBSD memstick fetch *(was `--skip-memstick-fetch`)* | ## How - `SKIP_FETCH` → split into `SKIP_PKG_FETCH` + `SKIP_MEMSTICK_FETCH`; `--skip-fetch` sets both. - Memstick step collapses from three branches to a clean skip-or-fetch (the third branch only existed to couple the pkg-skip flag to memstick reuse). - No legacy alias retained — names state the current way directly. ## Verified - `sh -n build.sh` clean; no stray `SKIP_FETCH` / `--skip-memstick-fetch` references. - Parse smoke test: `--skip-fetch`→pkg=1/memstick=1, `--skip-fetch-pkg`→1/0, `--skip-fetch-memstick`→0/1. Independent of the firstboot/seed work — pure flag-naming refactor off `main`. 🤖 Generated with Claude Code
clawdie added 1 commit 2026-06-25 09:05:22 +02:00
Rename the fetch-skip flags to a consistent, descriptive scheme:
  --skip-fetch            skip BOTH fetches (packages + memstick) — assemble from cache
  --skip-fetch-pkg        skip only the package + Clawdie-AI fetch (new granular)
  --skip-fetch-memstick   skip only the FreeBSD memstick fetch (was --skip-memstick-fetch)

Internals split SKIP_FETCH into SKIP_PKG_FETCH + SKIP_MEMSTICK_FETCH; the umbrella
--skip-fetch sets both. The memstick step collapses to a clean skip-or-fetch (the
old three-branch form only existed to couple the pkg-skip flag to memstick reuse,
which the split removes). No legacy alias kept — the flag names state the current
way directly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
clawdie merged commit bfc9748052 into main 2026-06-25 13:18:11 +02:00
clawdie deleted branch clearer-skip-fetch-flags 2026-06-25 13:18:12 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/clawdie-iso#142
No description provided.