stackb / bazel-stack-vscode

VSCode Extension for Bazel
https://docs.stack.build
Other
65 stars 4 forks source link

Provide offline installer #53

Open jheaff1 opened 3 years ago

jheaff1 commented 3 years ago

Hi,

The bazel-stack-vscode plugin is very impressive indeed! As someone who develops on in an environment that is air-gapped from the internet, an offline installer for the plugin would be brilliant.

pcj commented 3 years ago

Hi @jheaff1 can you expand on your requirements a bit?

VSCode extensions are packaged as a "vsix" file (basically a zip file with a manifest) and published to vscode marketplace. Are you requesting to have the vsix and code --install-extension bazel-stack-vscode.vsix instead?

jheaff1 commented 3 years ago

Hi @pcj.

Apologies for being unclear.

Like the cpptools extension, the bazel-stack-vscode extension downloads a number of artefacts from the internet during installation. If the bazel-stack-vscode extension .vsix file were downloaded and copied to a machine with no internet connection and installed into vscode on that machine, the extension would still attempt (and fail) to contact the internet.

The cpptools extension GitHub page provides offline .vsix installers, which are different from those published on the vscode marketplace and provide all dependencies, removing the need for internet access.

Would it be possible for bazel-stack-vscode to offer a similar offline .vsix installer?