You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg: Use filtered_formula to represent dependencies (ocaml#10918)
* pkg: Pass-through `filtered_formula` from opam files to solver
The `Dependency_set.t` representation can't deal with disjunctions but
in most cases that is not even necessary as the set gets turned into a
`filtered_formula` again. Thus it might be easier to keep the original
representation and implement the necessary dependency set functionality
on top of that.
Signed-off-by: Marek Kubica <[email protected]>
* Remove unused `Dependency_set`
Signed-off-by: Marek Kubica <[email protected]>
* Add a test showing that the disjunction in OPAM files is supported now
Signed-off-by: Marek Kubica <[email protected]>
* Move `filtered_formula` into our own module
Signed-off-by: Marek Kubica <[email protected]>
* Determine the hash from the Sexp
Signed-off-by: Marek Kubica <[email protected]>
* Move reachability into the formula
Signed-off-by: Marek Kubica <[email protected]>
* Add test for dependency formula changes
Signed-off-by: Marek Kubica <[email protected]>
* Clean up the awkward API
Signed-off-by: Marek Kubica <[email protected]>
* Promote expected hash changes
Signed-off-by: Marek Kubica <[email protected]>
* Update the test wording and show the difference
Signed-off-by: Marek Kubica <[email protected]>
* test(pkg): demonstrate unreachable packages being included
Signed-off-by: Rudi Grinberg <[email protected]>
Signed-off-by: Marek Kubica <[email protected]>
* Do not include post dependencies in reachable packages
Signed-off-by: Marek Kubica <[email protected]>
* Replace sexp by dyn
Signed-off-by: Marek Kubica <[email protected]>
* Promote expected hash changes
Signed-off-by: Marek Kubica <[email protected]>
* `post` deps are excluded now
Signed-off-by: Marek Kubica <[email protected]>
* Simplify
Signed-off-by: Marek Kubica <[email protected]>
* Use `Resolve_opam_formula` to determine dependencies
Signed-off-by: Marek Kubica <[email protected]>
0 commit comments