Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose SolverCache #95

Open
growler opened this issue Jan 8, 2025 · 0 comments
Open

Expose SolverCache #95

growler opened this issue Jan 8, 2025 · 0 comments

Comments

@growler
Copy link

growler commented Jan 8, 2025

Hi,

It's me again with another request.

Once Resolvo has found a solution, I need to calculate the correct installation order. This involves constructing a directed graph and determining a sorted list of SCCs (as a simple toposort might fail due to potential circular dependencies between packages).

This is a trivial task, all I need is the access to the list of solvables, their dependencies, and the matching candidates (filtered then by those included in the solution). Most of this information is already present in the SolverCache maintained by the solver.

Could you consider exposing the SolverCache, assuming its API is public? Doing so would save me from duplicating the caching effort or recalculating the same information.

Thank you for your time and consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant