refactor: build from conventions, adopt ConsoleLogger, and colorize TTY output
This commit is contained in:
1 parent
ea6ac852e7
commit
83ec08390f
23 files changed
+172
-151
No files matched your search
@@ -1319,6 +1319,26 @@ dev cpp-gcc -c build/pinned/bin/vbs_v1_tests --suite Daemon --no-color
|
||||
absolute paths under the prefix) by the prior swarm's queued edits.
|
||||
- Full CTest on the final tree: **8 / 8 passed** in 267.99 s.
|
||||
|
||||
## Convention-Based Self-Build, ConsoleLogger & Colors (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- Source membership now comes from `project.glob(...)` in `build.cpp` and the self-host recipe
|
||||
(`sdk/*.cpp`, `src/**/*.cpp`, `recipes/**/*.cpp`, `registry/service/*.cpp`), with the SDK in
|
||||
`sdk/` and the registry CLI entry in `registry/cli/Main.cpp`.
|
||||
- Bootstrap build (CMake): exit 0. `vbs_sdk_tests`: **17 / 17 passed**.
|
||||
- Real `vbs` self-build (root `build.cpp`): **success** with an absolute build dir (43 actions,
|
||||
linked `vbs`) and, after making dependency cache paths absolute, with a **relative** build dir
|
||||
(43 actions). The self-built binary reports `vbs 0.1.0`.
|
||||
- Self-host suite (stage builds through `VbsSelfHostRecipe`) passes after fixing absolute glob
|
||||
patterns (`expand_glob` now anchors absolute patterns at the project root) and linking
|
||||
`Void::Log`.
|
||||
- Logging uses `Void::Logging::ConsoleLogger`; the `vbs` prefix is gone (`[Info] [Deps] ...`).
|
||||
Under a PTY (`script -qec ...`), help shows ANSI bold/cyan and log levels show ANSI color
|
||||
(`[<96mInfo<0m]`); `NO_COLOR`/`--no-color` disable both.
|
||||
- Full CTest on a fresh build: **8 / 8 passed** in 290.25 s.
|
||||
- Note: one intermediate CTest run had its shared build directory deleted mid-run by an
|
||||
unidentified external actor; a fresh configure/build/CTest is fully green, and the anomaly is
|
||||
not attributable to VBS code.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user