- Install.cpp: open the staging download with _wopen in binary mode and
use _commit instead of fsync on Windows (O_EXCL already rejects a
pre-existing entry, so O_NOFOLLOW has no Windows equivalent to keep).
- tests: add a @requires-openssl gate for files that sign fixtures with
OpenSSL headers (unavailable in the Windows environment), and skip the
compressed-package fixture when the Archive backend has no LibArchive.
Verified: Windows cross build under Wine 11 (x86_64-w64-mingw32 GCC 16.2)
966 tests, 954 passed, 12 skipped, 0 failed; Linux Update+Testing 982
tests, 978 passed, 4 skipped, 0 failed. Allowlist Update for Windows.
- resolve_packages() takes caller-supplied package descriptions (id,
exact version, content digest, exclusive capabilities, dependency
ranges) plus selected root ids and returns an exact dependency set.
- Deterministic: canonical input ordering, descending SemVer candidate
order and canonical requirement order make the result invariant under
permutation of installed/selected input.
- Frozen PackageIdentity compares build metadata and content digest in
addition to SemVer precedence, so equal-precedence rebuilds are never
conflated; ambiguous same-id/same-precedence inputs are rejected.
- Actionable diagnostics carry kind, input package, field
(e.g. dependencies[1].range) and related id: missing dependency,
incompatible version, cycle, ambiguity, competing exclusive providers.
- Bounded package/edge/search-node limits with backtracking search.
- 13 standalone tests cover closure, order invariance, diagnostics,
backtracking, cycles, capabilities, frozen identity and limits.