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

Check dependencies for a better error #123

Open
panglesd opened this issue Oct 4, 2022 · 1 comment
Open

Check dependencies for a better error #123

panglesd opened this issue Oct 4, 2022 · 1 comment

Comments

@panglesd
Copy link
Contributor

panglesd commented Oct 4, 2022

When a dependency is missing, the error message is never informative.

We should check existence of dependencies at startup to directly warn the user about missing dependencies.

@Julow
Copy link
Member

Julow commented Oct 4, 2022

For the external dependencies of the tools, opam depext should have nice messages and can also install them on distros where it knows about the package manager. It's also future proof, we don't need to hardcode a list of packages and we don't have to deal with packages that have different names on different distros.
For the dependencies of the installer script, we need a clear error message.

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

2 participants