Commit Graph
9 Commits
Author SHA1 Message Date
Niko1221 91710dff19 Merge f-1117-batfix (b3b766983), release-check fix 7 (MAP): the build scripts name the moved places (terminal/tools/hip/build_windows.bat: repo root three levels up, -S engine, readers and the zip script in terminal/tools, CRLF kept; build_split_cuda.sh / build_split_hip.sh; engine/sycl/tools/build.sh; tools/docker/Dockerfile.src; engine_flow.sh; update_model_flow.sh; trellis/build.sh) with terminal/tools/test_build_windows_bats.py (red on the old script); the Linux SYCL package bundles libz.so.1 with its notice (build_sycl_linux.sh --bundle-system 'libz.so.1' --include 'licenses/*', tools/packaging/notices/libz.txt, terminal/tools/test_bundle_system_notices.py); tools/layout/checks/path_scan2.py extended, docs_paths.py and docs_paths_explained.txt (0 hits over 86 user-facing pages); the docs name the moved places (56 pages, cmake -S engine, terminal/tools, terminal/serve, tools/packaging, app/, engine/sycl) and the "CMake fetches the pinned llama.cpp" sentences are gone
Gates by the lane: p2006 py-tools, py-tests, docs passed on cebd4489a, bash -n of every changed .sh, the two later docs-only commits on a targeted p1004 run (253 tests + docs 6), and the real build_windows.bat through every CMake configure on the owner PC with a cmake stand-in. 72 files, +911 / -472; no overlap with server.py.
2026-11-17 18:03:25 +01:00
Niko1221 cebd4489aa tools/layout/checks/docs_paths.py: a file name in a sentence is not a hit, and an explained list for lines that are correct as written
setup.py and strata.py only matter as the program of a command; the two lines that name the key inside an installed Strata are listed in docs_paths_explained.txt. On the head after the docs commit the scan reports no hit (86 pages).
2026-11-17 17:20:28 +01:00
Niko1221 26cfd1e0fa tools/layout/checks/docs_paths.py: a scan of the user-facing pages for commands and paths that name a place the move took away
Reads the code spans and code blocks of docs/*.md, README.md, AGENTS.md and .github/*.md (not docs/history, docs/bench-results, release notes, or a page
pinned to an old tag), takes every path-like token, and reports the ones that existed before the move, do not exist now, and have a new place (git's rename
detection between the two revisions): `tools/iq_pack.py` -> `terminal/tools/iq_pack.py`. It also reports `.venv/bin/...` (the environment setup.sh makes is
terminal/.venv) and `-m serve.server` (the module form needs terminal/ as the folder you are in). --fix-list and --fix-all write the hits as a table. Read-only.
2026-11-17 17:19:49 +01:00
Niko1221 2c7513613c tools/layout/split: the re-export block goes after the last statement before the first function, and the run ends with a script-mode smoke
split_py.py put the block after the last IMPORT before the first definition; a file that makes its package importable with `sys.path.insert(...)`
needs the block after that statement (serve/server.py did, and the split broke `python serve/server.py`). The block now follows the last statement
that stays in the file and stands before the first function or class. split_server_run.py ends by running `python serve/server.py --help` from a
folder that is not the Terminal's with no PYTHONPATH and fails (exit 4) when that does not work. Re-run on the moved tree before the split it
produces the server.py of the commit before this one, byte for byte.
2026-11-17 17:06:30 +01:00
Niko1221 194d068e0a tools/layout/checks/path_scan2.py: variables joined with unquoted segments, for-loop variables, cmake -S folders, and paths that existed before the move
The first version missed terminal/tools/hip/build_windows.bat: its SRC comes from `for %%I in ("%~dp0..\..") do set "SRC=%%~fI"` and is joined with
unquoted segments, and the break was `cmake -S "%SRC%"` naming a folder with no CMakeLists.txt. Now:
- batch: for-loop and `if not defined X set "X=%Y%\..."` variables are read, case-insensitively, and every `%VAR%\a\b` path is checked;
- PowerShell: `$root = Split-Path -Parent $PSScriptRoot` / Join-Path / Resolve-Path variables and `$root\a\b` / Join-Path uses;
- shell: `${REPO:-$(git rev-parse --show-toplevel)}` is the checkout root;
- `cmake -S <folder>` in batch, shell and command lists must name a folder that has a CMakeLists.txt;
- a path that existed before the move and does not now is a hit even when its first missing name is not a moved top-level folder (tools/vision:
  tools/ still exists with other things in it).
On the head before the fixes in the commits just before this one it reports build_windows.bat, build_split_cuda.sh, build_split_hip.sh and
engine/sycl/tools/build.sh; on this head it has no hit that is not an on-purpose dual-layout fallback.
2026-11-17 16:56:04 +01:00
Niko1221 18526b8792 Merge f-1117-pathfix (44d4a006a), release-check fix 4 (MAP): a second layout path scan for paths built from __file__, a root variable or the working folder (tools/layout/checks/path_scan2); build_cuda_windows.py configures the engine from engine/ and runs the packaging scripts from tools/packaging (with a SourcePaths test); make-dmg.sh runs tools/packaging/binary_deps.py for the minimum-macOS check; docs/media/make_figures.py reads the app's icon sprite and font from terminal/serve/web; the test_control_install ".." escape test climbs to a real setup.py again (path_scan2 0 real misses, p2006 py-tools 1730 / 0, py-tests 3835 / 0, owner-PC CMake configure of engine/ for CUDA 13 and 12 by the lane) 2026-11-17 15:36:32 +01:00
Niko1221 1678aff468 docs: SUPPORTERS.md at the top level, next to README.md; a line to it under the avatars of README.md and the seven translated READMEs
Owner item (11-17). .github/FUNDING.yml stays where it is (GitHub reads only that path for the Sponsor button). SUPPORTERS.md: the title "Supporters", one line
("Strata is free and open source. These people support it with a GitHub sponsorship or a coffee. Thank you."), README.md's supporters block with its markers
and comment (9 avatars), and README.md's "Support Strata" section with the GitHub Sponsors and Buy Me a Coffee buttons, copied exactly; no e-mail address.
README.md keeps its section and avatars and gains one line under them: "All supporters and how to support Strata: [SUPPORTERS.md](SUPPORTERS.md)". The seven
translations (docs/lang) get the same line in their language, linking ../../SUPPORTERS.md. A new supporter now goes into both README.md and SUPPORTERS.md.
tools/layout/README.md lists SUPPORTERS.md among the root files. tools/check_links.py (anchors too): 120 current pages, all local links resolve; tools/check --only docs 6 / 0.
2026-11-17 15:33:43 +01:00
Niko1221 3176dfd1aa tools/layout/checks: a second path scan for paths built from __file__, a root variable or the script's own folder
path_scan2.py reads any commit (git objects only) and evaluates Python pathlib / os.path expressions based on __file__ or a root
variable, JS join / resolve / new URL with import.meta.dirname or a root variable, shell $here / $repo variables, batch %~dp0 paths,
PowerShell $PSScriptRoot paths and the repository paths in the CI workflows. It lists what does not exist when the first missing folder
or file is one the layout move took away. On the head after the move it found test_commit_limit.py (Path(__file__).parents[1] / "include",
which skipped silently) and the four paths fixed by the commits after this one. Tools only; nothing else changes.
2026-11-17 15:05:34 +01:00
Niko1221 e60613ac7f tools/layout: the 0.2.16 layout move script, its checks and the file-split script (added before the move, no change to the product)
The script that makes the next commit (move_0216.py and its edit list), the checks used to test it (the Windows per-file runner, the
archive and zip comparisons, the failure-site reader, the path scan), and the file-split script for serve/server.py. They stay in
tools/layout after the move. README.md in that folder says how to run each.
2026-11-17 13:18:09 +01:00