Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

yangster: remove 'yangster' image #390

Merged
merged 1 commit into from
Aug 11, 2020
Merged

yangster: remove 'yangster' image #390

merged 1 commit into from
Aug 11, 2020

Conversation

vince-fugnitto
Copy link
Member

What it does

Fixes: #388

The following pull-request includes updates to yangster.

The yangster-docker image is removed since it makes use of the outdated yangster Theia-extension (which was replaced by the yang-vscode vscode extension. The theia-full image is updated to make use of the extension instead (so there is no need for the individual image anymore).

How to test

The yangster-docker image is removed so verify that there are no longer any references to yangster besides the new vscode extension. The full-image should now support the new extension.

The build currently fails due to #386

Review checklist

Reminder for reviewers

Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com

@marcdumais-work
Copy link
Member

Until eclipse-theia/theia#8315 (review) is merged and released at the end of the month, the latest full image will not have a working yang extension. We could add a quick chmod after extensions download, to make plugins/<yangster>/extension/server/bin/yang-language-server executable, as a temporary work-around.

@vince-fugnitto
Copy link
Member Author

Until eclipse-theia/theia#8315 (review) is merged and released at the end of the month, the latest full image will not have a working yang extension. We could add a quick chmod after extensions download, to make plugins/<yangster>/extension/server/bin/yang-language-server executable, as a temporary work-around.

@marcdumais-work we also have the #386 error to worry about before we can officially make use of the extension properly.

@vince-fugnitto vince-fugnitto force-pushed the yangster branch 3 times, most recently from 961901f to e61fee6 Compare August 10, 2020 17:42
The `yangster-docker` image is removed since the `@theia/yangster` extension
is deprecated in favor of supporting a vscode extension which provides
language-features. The old extension used deprecated theia components which are no longer in use.

The `yangster` vscode extension is added to `theia-full` (latest and next).

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
@@ -316,6 +316,9 @@ yarn --cache-folder ./ycache && rm -rf ./ycache && \
NODE_OPTIONS="--max_old_space_size=4096" yarn theia build && yarn theia download:plugins \
;fi

# Change permissions to make the `yang-language-server` executable.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paul's fix has been merged. We'll still need this work-around for latest until end of month.

@marcdumais-work
Copy link
Member

I think theia-full@next is failing because of @theia/rust, which you take case-of in your other PR.

Copy link
Member

@marcdumais-work marcdumais-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Vince!

@vince-fugnitto vince-fugnitto merged commit 6874367 into master Aug 11, 2020
@vince-fugnitto vince-fugnitto deleted the yangster branch August 11, 2020 16:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yangster: deprecated yangster-docker image
2 participants