Branch issue/4-package-resolver targeting main. Summary, tests and the documented contracts are in the commit message and the issue comment.
Closes #4.
Branch `issue/4-package-resolver` targeting `main`. Summary, tests and the documented contracts are in the commit message and the issue comment.
- 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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #4.
Branch
issue/4-package-resolvertargetingmain. Summary, tests and the documented contracts are in the commit message and the issue comment.