Skip to content

Commit

Permalink
Migrate final development VSIX extension to extensions.json
Browse files Browse the repository at this point in the history
- Richterger Perl language server now published on the Open VSX registry
  (see richterger/Perl-LanguageServer#98,
  which is now closed)
  • Loading branch information
struanb committed Aug 21, 2023
1 parent 82da0ee commit 6c7c9de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ ARG HOME=/home/newsnow
################################################################################
# INSTALL DEVELOPMENT VSIX PLUGINS
#
COPY --from=vsix-plugins --chown=$USER:$USER /root/theia-plugins $HOME/theia-plugins/
# (disabled as there are currently no VSIX extensions needing to be embedded in the image)
# COPY --from=vsix-plugins --chown=$USER:$USER /root/theia-plugins $HOME/theia-plugins/

################################################################################
# THEIA INTEGRATION
Expand Down
1 change: 1 addition & 0 deletions build/development/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"richterger.perl",
"vscode.css",
"vscode.docker",
"dbaeumer.vscode-eslint",
Expand Down
10 changes: 5 additions & 5 deletions build/development/install-vsix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ mkdir -p $PLUGIN_DIR
# curl --fail --silent --location --retry 3 --max-time 20 -o $PLUGIN_DIR/$file $vsix
# done

RICHTERGER="2.5.0"
echo "Downloading vsix plugin richterger.perl-$RICHTERGER.vsix ..." >&2
curl --fail --silent --location --retry 2 --max-time 20 -o $PLUGIN_DIR/richterger.perl-$RICHTERGER.vsix https://marketplace.visualstudio.com/_apis/public/gallery/publishers/richterger/vsextensions/perl/$RICHTERGER/vspackage --compressed || \
curl --fail --silent --location --retry 3 --max-time 20 -o $PLUGIN_DIR/richterger.perl-$RICHTERGER.vsix https://storage.googleapis.com/dockside/vsix/richterger.perl-$RICHTERGER.vsix || \
curl --fail --silent --location --retry 3 --max-time 20 -o $PLUGIN_DIR/richterger.perl-2.2.0.vsix https://storage.googleapis.com/dockside/vsix/richterger.perl-2.2.0.vsix
# RICHTERGER="2.5.0"
# echo "Downloading vsix plugin richterger.perl-$RICHTERGER.vsix ..." >&2
# curl --fail --silent --location --retry 2 --max-time 20 -o $PLUGIN_DIR/richterger.perl-$RICHTERGER.vsix https://marketplace.visualstudio.com/_apis/public/gallery/publishers/richterger/vsextensions/perl/$RICHTERGER/vspackage --compressed || \
# curl --fail --silent --location --retry 3 --max-time 20 -o $PLUGIN_DIR/richterger.perl-$RICHTERGER.vsix https://storage.googleapis.com/dockside/vsix/richterger.perl-$RICHTERGER.vsix || \
# curl --fail --silent --location --retry 3 --max-time 20 -o $PLUGIN_DIR/richterger.perl-2.2.0.vsix https://storage.googleapis.com/dockside/vsix/richterger.perl-2.2.0.vsix

0 comments on commit 6c7c9de

Please sign in to comment.