-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[plugin] Added extensionDependency automatically downloading. Fixes: #4504 #5379
[plugin] Added extensionDependency automatically downloading. Fixes: #4504 #5379
Conversation
Should not it be a part of the vscode plugin resolver without any other changes? It could add a current extension, then look at it package.json, find dependencies, download them, unarchive them and then apply itself recursively till all dependencies are collected. Otherwise it looks like a broken abstraction, since plugin system assumes that any dependency should be resolved as a vscode extension. |
e0aedde
to
e9b6699
Compare
@akosyakov I've just fixed it up so that it almost entirely lives in the VSCode plugin resolver, if you don't mind reviewing again! |
0b6c8d9
to
1acc628
Compare
@benoitf @akosyakov what do we need to do to move this PR forward? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good, i had some remarks please have a look.
@tsmaeder it should be rebased and add a notice which extension to use to test it. Someone can test after fixing remarks and rebasing.
…heia#4504 Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
1acc628
to
0f28b77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code wise it looks good to me and worked very well as well 👍
@JPinkney i will let it sit for today and merge tomorrow morning, just in case if @theia-ide/plugin-system want to check changes to the deployment logic
It would be good to nominate your as a committer as well! I hope @tsmaeder can do it, if not let me know i will do.
This PR enables VSCode extension dependencies that comes from package.json.
You can test by using
deploy by plugin id
command withvscode:extension/vscjava.vscode-java-debug
andvscode-java
will automatically be installed beforevscjava.vscode-java-debug
is.Fixes: #4504
Signed-off-by: Josh Pinkney joshpinkney@gmail.com