bazel-stack-vscode icon indicating copy to clipboard operation
bazel-stack-vscode copied to clipboard

Provide offline installer

Open jheaff1 opened this issue 4 years ago • 2 comments

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.

jheaff1 avatar Apr 02 '21 16:04 jheaff1

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?

pcj avatar Apr 03 '21 20:04 pcj

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?

jheaff1 avatar Apr 03 '21 23:04 jheaff1