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

Dependency logic #4

Open
qazwsxal opened this issue Sep 29, 2022 · 0 comments
Open

Dependency logic #4

qazwsxal opened this issue Sep 29, 2022 · 0 comments

Comments

@qazwsxal
Copy link
Owner

Need to figure out the logic to be used for dependency resolution.
https://fsprojects.github.io/Paket/resolver.html paket's dependency resolution algorithm
https://www.debian.org/doc/manuals/aptitude/ch02s03s02.en.html apt's algorithm

http://www.cas.mcmaster.ca/~cas724/2007/paper2.pdf lot of theory stuff here.

Cargo's dependency resolution algorithm doesn't seem applicable here, cargo "features" don't map to fsnebula "packages" well.

In apt terms, it's probably best to treat a "mod" as a meta-package made up of several packages, (some optional). Dependencies on FSN/knossos can be thought as "package depends on set of other packages". That way we can flatten the mod/package tree, just need to make sure that a selected group of packages from the same mod have the same semver.

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

No branches or pull requests

1 participant