(sigil deps fetch)
(sigil deps fetch) - Dependency Fetching
This module handles fetching git dependencies using bare repos and worktrees. Dependencies are cached globally in ~/.sigil/repos/ as bare repos, and worktrees are created per-project in .sigil/deps/.
Exports
report-workspace-sigil-conflictprocedurePrint a structured error when two workspace members declare non-intersecting sigil: ranges. Names both sides + their respective ranges so the user knows exactly which package.sgl to reconcile. Bracketed by separator newlines for visual contrast, matching the look of check-sigil-version-compatible.
Verify that every member of ws declares a sigil: range whose intersection with every other member's range is non-empty. Errors loudly with report-workspace-sigil-conflict on the first offending pair encountered.
No-op for non-workspace inputs and for workspaces with fewer than two members carrying a sigil: field. Members without a sigil: field are skipped here (presence enforcement is the job of validate-host-sigil-field, which is called separately).
Helly's theorem applies in 1D: pairwise compatibility is equivalent to a non-empty common intersection. The loop is O(N²) over member count, which is fine for the 2-5-member workspaces the ecosystem actually uses.
validate-host-sigil-fields-onprocedureWorkspace-aware version of validate-host-sigil-fields-on. Calls the bootstrap-friendly presence check from (sigil deps installed) for every host package, then runs the cross-member intersection check. Shadows the re-export above so post-bootstrap callers get the richer behavior automatically.
fetch-git-dependencyvariable(No description)
fetch-all-dependenciesvariable(No description)
fetch-failure-countvariable(No description)
resolve-path-dependencyvariable(No description)
collect-path-depsvariable(No description)
collect-git-depsvariable(No description)
check-dependenciesvariable(No description)
missing-dependenciesvariable(No description)
prune-dependenciesvariable(No description)
global-repos-dirvariable(No description)
global-deps-dirvariable(No description)
local-deps-dirvariable(No description)
get-dep-package-pathvariable(No description)
check-dep-version-conflictvariable(No description)
check-for-updatesvariable(No description)
generate-lock-entriesvariable(No description)
lock-entry-stale?variable(No description)
parse-git-urlvariable(No description)
git-url-repovariable(No description)
validate-host-sigil-fieldvariable(No description)
report-clone-failurevariable(No description)
report-missing-package-filevariable(No description)