Repository navigation
v0.4.0
Added
- Fuzzy search:
gale searchmatches against a
registry index by name and description. Scores
by exact, prefix, substring, and subsequence match. - Lockfile pinning:
gale.lockstores version +
SHA256 per package. Written on install and update.
Sync verifies SHA256 against lockfile. .tool-versionscompatibility:gale syncfalls
back to.tool-versionswhen no gale.toml exists.
Maps asdf/mise names (golang→go, nodejs→node).- Build dep library/header resolution: build steps
now getLIBRARY_PATH,C_INCLUDE_PATH, and
PKG_CONFIG_PATHfrom installed build deps. Recipes
withbuild = ["bzip2"]can link-lbz2without
explicit-Lflags. - Binary index separation:
.binaries.tomlfiles
alongside recipes. GHCR URLs derived at runtime.
Backward compatible with inline[binary.*]. - Lint: warns on missing build deps (
go build
withoutbuild = ["go"], etc.). Validates
platform strings. - Runtime deps installed at build time. Recipes no
longer need to list deps in bothbuildand
runtime. - Transitive dep resolution with cycle detection.
If A→B→C, all three paths in build env. - Dynamic linker paths:
LD_LIBRARY_PATH(Linux),
DYLD_FALLBACK_LIBRARY_PATH(macOS) set from
build deps. - Recipe
platformsfield: restrict builds to
specific platforms.gale buildskips gracefully. - Recipe
verifyfield: CI can read custom verify
commands instead of guessing--version/--help. - Platform variables:
${OS},${ARCH},
${PLATFORM}available in build steps. - Auto-detect
--local:gale buildinside a
recipes repo auto-detects local dep resolution. ${VERSION}build variable: recipe version
available in build steps alongside${PREFIX}.- Style guide:
docs/style-guide.mdcovering
writing, documentation, and code conventions.
Changed
-
Man page rewritten in OpenBSD mandoc style with
EXAMPLES section. -
README rewritten: concise reference, practical
examples, correct PATH setup. -
Build functions accept
*BuildDepsstruct instead
of variadic path strings. Carries both bin dirs
(for PATH) and store dirs (for lib/include paths). -
lockfilePath()andwriteConfigAndLock()shared
helpers replace duplicated lock path computation
across install, update, and sync. -
Sync uses
resolveVersionedRecipeinstead of
inlining the versioned recipe resolution logic. -
InstallBuildDepsrefactored: public wrapper +
private recursiveinstallDepsInnerwith shared
seenmap for cycle detection and dedup.
Fixed
installFromGit --localnow uses local resolver
for build dep resolution. Previously hardcoded
the registry, ignoring the--localflag for
transitive deps.- Transitive deps' lib/include/bin paths now
available in build env (previously only direct
deps' paths were returned). - Lint:
cargo installno longer falsely triggers
missinggodep warning. gale lintskips.binaries.tomland.versions
files.