6a153ef1acd461cf24a4224e2d5ddd2db1e94108
Port of ZETA lib/deps.lua depth-first resolution algorithm: - DepNode/DepTree structs for topologically-ordered dependency trees - resolveDepTree() with function-pointer seam for testability - Cycle detection with full chain message (e.g. 'A -> B -> A') - Memoization to skip already-resolved nodes - Parses recipe.deps string[] into DepConstraint[] via DepConstraint.parse 7 unittests: constraint parsing, linear chain, self-cycle, mutual cycle, missing dep propagation, diamond shared dep, leaf node.
tofu
A package manager for the ZereneOS Unofficial User Repository
What it is
A Dlang wrapper around zeta-toolchain and ZETA for the ZUUR recipe repository, in the style of yay/paru for the ZereneOS ecosystem.
Requirements
- dub
- a D compiler (dmd or ldc2)
- lua
- curl
- zeta-toolchain
- Zeta
Build
dub build
Produces the ./tofu binary.
Description
A package manager for the ZereneOS Unofficial User Repository
241 KiB
Languages
D
97.3%
Shell
2.7%