Closed FrostyX closed 4 months ago
Duplicate of https://github.com/dcermak/rpm-spec-language-server/issues/30.
Just make sure in the container that ~/.cache/rpm/spec.md
exists and has the proper content.
I think the issue is still valid. As a user, I have no idea that I have to create ~/.cache/rpm/spec.md
and what should be inside. Failing with a user-friendly error message would be a good enough fix.
I think the issue is still valid. As a user, I have no idea that I have to create
~/.cache/rpm/spec.md
and what should be inside. Failing with a user-friendly error message would be a good enough fix.
Yes, this is just a hack for those who cannot help themselves (like me, who is on MicroOS, which doesn’t install documentation on the host system). A proper solution would be to install in your container whatever package you need for spec.md
fully, including its documentation (rpm
in my case).
Running the LSP server in container (
quay.io/fedora/fedora:39
) fails with:Is it possible to put some fallback into the code in case the file doesn't exist? So we don't have a runtime dependency on a documentation file?
Tested with both 0.0.1 version and current upstream commit (1143f882308912962090d3ff9b3c2bf6b3e6ebc0).