6.5 KiB
6.5 KiB
VoidLibrary Upstream Feature Requests
Pinned VoidLibrary revision: 3e254055e081a104f08df68dde39711bc7813518 (merged feat/upstream-vbs-requests covering VL-001..VL-013; upgraded from 9931c5ffc4844a5e09e1b1db35b3d29c5097c3a5).
Status Summary
| ID | Capability | Upstream Status (3e254055...) |
VBS Adoption Status |
|---|---|---|---|
VL-001 |
Process group supervision (Void::Process::spawn, communicate_blocking, enable_subreaper) |
Implemented | Adopted (src/Platform/ProcessSupervisor.cpp) |
VL-002 |
TOML 1.0 parser & serializer (Void::Data::Toml) |
Implemented | Adopted (src/Package/Toml.cpp) |
VL-003 |
Kernel inotify recursive directory watcher (Void::FileSystem::DirectoryWatcher) |
Implemented | Adopted (src/Watch/Watcher.cpp, include/Void/Build/Watch/Watcher.hpp) |
VL-004 |
Concrete HTTP/1.1 server (Void::Net::HttpServer) |
Implemented (requires Boost + OpenSSL) | Local loopback POSIX adapter retained for minimal dev cpp-gcc (no Boost/OpenSSL) |
VL-005 |
Streaming HTTP client & TLS default (Void::Net::HttpClient) |
Implemented (requires Boost + OpenSSL) | Local loopback POSIX + curl adapter retained for minimal dev cpp-gcc (no Boost/OpenSSL) |
VL-006 |
Deterministic archive creation & safe staged extraction (Void::Archive::create, extract_staged) |
Implemented (zero external deps for .tar) |
Adopted (src/Package/Archive.cpp, always linked via Void::Archive) |
VL-007 |
Zero-dependency built-in SHA-256 / BLAKE2b (Void::Crypto::Hasher) |
Implemented (zero external deps when OpenSSL absent) | Adopted (include/Void/Build/Util/Sha256.hpp, src/Util/Sha256.cpp, always linked via Void::Crypto) |
VL-008 |
Strict UTF-8 validation (Void::Json::Strict, Void::Unicode::validate_utf8) |
Implemented | Adopted (src/Util/Json.cpp, Void::Json::Strict throughout) |
VL-009 |
Native non-CMake Void::Testing registration API |
Implemented | Adopted (supported alongside vbs gen-tests in src/SelfHost/TestRegistryGen.cpp) |
VL-010 |
Advisory FileLock, reflink_copy_file, set_canonical_mtime, atomic_symlink_swap (Void::FileSystem) |
Implemented | Adopted (include/Void/Build/Platform/FileOps.hpp, src/Platform/FileOps.cpp) |
VL-011a |
Subcommands, option_many, positional_many, ParseOutcome::Help (Void::Argparse::Parser) |
Implemented | Adopted (src/Main.cpp, src/Describe.cpp, registry/service/Main.cpp, benchmarks/EngineBenchmarks.cpp — 100% auto-generated help) |
VL-011b |
Optional SQLite3 FetchContent (Void::Sqlite) |
Implemented (VOID_FETCH_SQLITE3) |
Opportunistic when system SQLite3 is installed (VOID_FETCH_SQLITE3=OFF to keep offline configures fast); journaled atomic CAS store retained |
VL-012 |
Naming consistency observation | Noted | VBS strictly uses Void::Build, PascalCase types/enums/paths, snake_case functions/methods |
VL-013 |
Shorthand SemVer ranges (^1.0, ~1.2, >=1.2 <2) in Void::Semver::parse_range |
Implemented | Adopted (src/Package/Solver.cpp delegates directly to Void::Semver::parse_range) |
Detailed Notes
Adopted Upstream Capabilities (VL-001, VL-002, VL-003, VL-006, VL-007, VL-008, VL-009, VL-010, VL-011a, VL-013)
VL-001(Void::Process):src/Platform/ProcessSupervisor.cppdelegates process spawning, pipe multiplexing, timeouts, cancellation,PR_SET_CHILD_SUBREAPER, and-pgidSIGTERM -> SIGKILLtermination toVoid::Process::spawn,Void::Process::communicate_blocking, andVoid::Process::enable_subreaper, adding post-leader process-group drain supervision for detached grandchildren with redirected stdio.VL-002(Void::Data::Toml):src/Package/Toml.cppdelegates all TOML 1.0 parsing and canonical table serialization toVoid::Data::Toml::parseandVoid::Data::Toml::serialize_table.VL-003(Void::FileSystem::DirectoryWatcher):src/Watch/Watcher.cppwrapsVoid::FileSystem::DirectoryWatcherfor recursive Linuxinotifyobservation, ignore predicates, andRescanRequiredoverflow handling.VL-006(Void::Archive):CMakeLists.txt,cmake/VoidDependency.cmake,recipes/VoidLibrary/VoidLibraryRecipe.cpp, andrecipes/SelfHost/VbsSelfHostRecipe.cppunconditionally enableVoid::Archive(VOID_ARCHIVE_HAS_LIBARCHIVE=0built-in USTAR/PAX tar), andsrc/Package/Archive.cppdelegates archive creation and staged security-checked extraction toVoid::Archive::createandVoid::Archive::extract_staged+StagedTree::publish.VL-007(Void::Crypto):Void::Crypto(VOID_CRYPTO_HAS_OPENSSL=0built-in FIPS 180-4 SHA-256) is unconditionally linked, andsrc/Util/Sha256.cppdelegates directly toVoid::Crypto::Hasher,Void::Crypto::sha256, andVoid::Crypto::sha256_file.VL-008(Void::Json::Strict/Void::Unicode): Strict UTF-8 validation is active acrossVoid::Json::Strictandsrc/Util/Json.cpp.VL-010(Void::FileSystem):src/Platform/FileOps.cppdelegatesFileLock,copy_isolated,set_canonical_mtime, andatomic_swap_symlinkdirectly toVoid::FileSystem::FileLock,reflink_copy_file,set_canonical_mtime, andatomic_symlink_swap.VL-011a(Void::Argparse::Parser): Every VBS executable (vbs,vbs-registry,vbs_describe,vbs_benchmarks) usesVoid::Argparse::Parser::parse_detailed()with nativesubcommand(),option_many(),positional_many(), andrequire_subcommand()— eliminating all custom help strings, manual--helpchecks, and manual repeatable-argument slicing.VL-013(Void::Semver::parse_range):src/Package/Solver.cppcallsVoid::Semver::parse_range()directly without local range normalization.
Remaining Optional External-Dependency Adapters (VL-004, VL-005, VL-011b)
VL-004/VL-005(Void::Net):Void::Netin VoidLibrary still requires externalBoost+OpenSSL(src/Net/module.cmake), which are absent in minimaldev cpp-gcc. VBS keeps its zero-dependency POSIX loopbackHttpServer(registry/service/HttpServer.cpp) andRegistryClient(src/Package/RegistryClient.cpp) until a Boost-free/minimal-dependency transport is desired or available in the base toolchain.VL-011b(Void::Sqlite):cmake/VoidDependency.cmakedisables network fetches during CMake configure (VOID_FETCH_SQLITE3=OFF) and opportunistically enablesVoid::Sqlitewhen systemSQLite3is installed;src/State/StateStore.cppcontinues providing crash-safe atomic-replace CAS persistence in minimal shells.