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

What is the rationale behind removing the Spectral binary from within the Plugin? #137

Open
sungjinwoo-arise opened this issue Jan 22, 2025 · 1 comment

Comments

@sungjinwoo-arise
Copy link

We notice that Spectral CLI was bundled within this Intellij Plugin in version 1.x but we see that it has been removed after versions 2.x.
Could you please share the rationale behind removing the binary from within the bundle?
Thanks in advance!

@markbrockhoff
Copy link
Member

Hi @sungjinwoo-arise, yes, in the beginning we thought it'd be a good idea to bundle the spectral binaries with the plugin to make using it as seamless as possible. However this turned out to be pretty unreliable. We had lots of issues with executing code on different systems. E.g. permissions which (rightfully) might not allow some IDE plugin to execute a new binary. It also was a pretty big hasstle to keep the binaries up to date and working on all different environments and operating systems.

That's why in the end we decided to do this breaking change and have the users install the binary themselfs.
The best way to execute spectral would be by invoking it through javascript directly like e.g. the VS Code plugin is doing it. But as far as I'm aware there is no option of doing so inside Jetbrains IDEs.

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