-
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
Upgrade to Electron 4 #6307
Upgrade to Electron 4 #6307
Conversation
Hi @thegecko, Generally, for production dependency updates, "running" this process is good enough, assuming we do not find surprises. Can you give this a try and ping @eclipse-theia/ip-help if you have questions? For Electron, we need to pay special attention since we went through a lot of trouble last spring to "license certify" its usage despite the bundled LGPL-licensed
So I think we're good for Electron. |
Update: to be safe I sent an email to Sharon (with @thegecko in cc), to confirm if we should take further steps wr to the Electron update or if the above is satisfactory. |
I do not mind this update, it is excellent, but I cannot verify it. What would you expect from a reviewer? |
I guess all we can do is check it works. Things like menus, dialogs, etc. |
Got it, thanks! So no bundled electron app verification is required. I will check it soon. |
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.
I have verified the electron example on macOS. I have checked:
- the main application menu,
- the context menus in the editor and the navigator.
I have tried the bare-minimum TS LS capabilities with
- validation,
- CA, and
- the outline.
I started a few new terminals and executed a few Git commands from the Git view. It worked as expected.
The Node.js version also looks good to me:
npx electron -i
> console.log(process.versions.node)
10.11.0
undefined
> .exit
Thank you! 👍
Thanks @kittaakos I'll consider merging this once I've completed |
Thanks @marcdumais-work, I've followed the process outlined above for this PR. All licences listed for electron 4 are permitted in the Approved Third Party Content Licenses
Is this enough to merge or do you want to complete the email thread with Sharon? |
Thanks Rob
Yes, I think you can go ahead and merge |
Signed-off-by: thegecko rob.moran@arm.com
What it does
Upgrades the electron version used to be the latest version 4 (4.2.11) to align with VS Code usage of electron.
This also means the static versions of packaged tools available within Electron are also upgraded:
Node: 10.11.0
Chromium: 69.0.3497.106
As discussed in the dev meeting, this is a step towards adopting Electron 6. We should consider doing that once VS Code have stabilised their use of it.
@marcdumais-work Will this require CQs to be raised for the new dependency version?
How to test
Build application locally and run
Review checklist
Reminder for reviewers
cc @benoitf @akosyakov