-
Notifications
You must be signed in to change notification settings - Fork 51
Migrate AutomaticUpdateScheduler from IStartup to OSGi EventHandler #400
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
base: master
Are you sure you want to change the base?
Migrate AutomaticUpdateScheduler from IStartup to OSGi EventHandler #400
Conversation
|
|
||
| @Override | ||
| public void earlyStartup() { | ||
| public void handleEvent(Event event) { |
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.
Shouldn't we check if automated updates are disabled before starting the job?
|
With "Early startup" one could disable updates job. Now it is always started even if updates are not enabled. I think this is a regression. |
52b2783 to
613cd77
Compare
613cd77 to
b3215ef
Compare
|
@HannesWell @iloveeclipse should we further work on this or should we close this? |
bfe3d8e to
f5213b9
Compare
I would still be in favor of having this and was waiting for the response of @iloveeclipse on my previous response:
|
|
This pull request changes some projects for the first time in this development cycle. An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch. Git patchFurther information are available in Common Build Issues - Missing version increments. |
a7eee7f to
f5213b9
Compare
... for the UIEvents.UILifeCycle.APP_STARTUP_COMPLETE event. This is a less Eclipse specific approach and also prevents the user from disabling the start-up task. The automatic search for updates can still be disabled.
b426237 to
4a67dd8
Compare
I would avoid starting job if possible, because compared with a single preference check extra job adds extra complexity for the overall IDE startup, uses shared resources (worker pool), adds async execution effects. |
|
@HannesWell could you move the preference check before starting the job? Would be nice to have this finished. |
|
@HannesWell my suggestion would be to either finish this for 2026-03 M1 or we close the PR as it is celebrating its second anniversary soon. |

... for the
UIEvents.UILifeCycle.APP_STARTUP_COMPLETEevent.This is a less Eclipse specific approach and also prevents the user from disabling the start-up task.
The automatic search for updates can still be disabled.
Based on the work in eclipse-platform/eclipse.platform.ui#1362.