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

Make edoc an optional dependency #1277

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

filmor
Copy link
Contributor

@filmor filmor commented Apr 22, 2022

Some distributions (like the RabbitMQ Erlang distribution for RHEL/Fedora) may not include it, and as it's not installed via hex, start up will fail.

Some distributions may not include it, and as it's not installed via hex,
startup will fail.
@robertoaloi
Copy link
Member

Hi @filmor and thanks. Won't this causes some runtime errors if the application is not available? If we make the application optional, we should probably ensure those use cases degrade gracefully (eg not to show docs).

@filmor
Copy link
Contributor Author

filmor commented Apr 28, 2022

It seemed to be doing exactly that (degrading gracefully), but I can check again.

@filmor
Copy link
Contributor Author

filmor commented May 6, 2022

It does seem to degrade half-way gracefully, it doesn't take down all of erlang-ls, just the edoc calls are crashing. Definitely much better than the current state of things for me :)

@robertoaloi robertoaloi merged commit 9aeb824 into erlang-ls:main Oct 23, 2023
@filmor filmor deleted the patch-1 branch October 23, 2023 13:05
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

Successfully merging this pull request may close these issues.

2 participants