(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 compatible with the workspace's concrete version. Unlike dependency resolution, this does not require pairwise member ranges to intersect; a monorepo workspace has one active language version, and older members can remain valid as long as that version is at or above their declared floor.
The workspace's concrete version is a Sigil language version only when the workspace ships the language itself, i.e. it has a sigil-lib member. For application workspaces (including standalone packages wrapped by package->workspace), the workspace version is the app's own release version and is unrelated to the members' sigil: language floors; comparing them would reject every fresh sigil init app (version "0.1.0" vs sigil: "^0.15"). Those workspaces are validated against the resolved sigil dependency at resolution time instead, so this check no-ops for them.
No-op for non-workspace inputs. Members without a sigil: field are skipped here (presence enforcement is the job of validate-host-sigil-field, which is called separately).
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)
find-package-in-worktreevariable(No description)
worktree-workspace-membersvariable(No description)
(No description)