GSOC: Default plugins on desktop application

Just to make sure we are on the same page, we would still need installation of these plugins on first-app-start. Maybe we can give users a prompt window indicating this.

I agree, bundling plugins while building the app make more sense.

I will try troubleshooting it again and will let you know how it goes.

In my opinion, pinning them may be a better option, as we don't want a buggy version of some plugin suddenly slowing down or causing any problem to the main app. But it comes at a cost of increased workload of maintainers, as they will have to keep them updated.

Agreed

I wonder if adding additional complexity such as "The most recent patch release, or the most recent major/minor release that is at least 2 weeks old". This would give more stability without having to necessitate manual review. Although manual review is probably valuable in this case.

1 Like

I agree. This is a nice alternative as it provides more stability. We can also combine this approach with manual review, as you said, making it more secure.

Quick Update:
Just wanted to let you know that I was able to successfully test out installing default plugins on start-up without restarting the app.

1 Like

Hi there,

Recently, I tried to implement installing plugins on start-up. Turns out that we just needed to move .jpl files into the plugins' directory before loading all the plugins to install them.

The other thing I noticed is that 'Simple Backup' Plugin has a pop-up that comes after installation is complete. And it takes a bit of time to pop, but that shouldn't be a major issue.

But the issue here is that pluginSettings doesn't update immediately. Because of this, even after successful installation of plugins, we can still see the option to install them in Plugins menu. So I think we should be good after fixing this because I didn't notice any other issue.

Can you please suggest any other things that I didn't consider in this part of the project?

1 Like

By default I don't think there should be a popup on startup. Maybe we can setup the plugin with reasonable defaults?

Not sure what you mean?

1 Like

I agree!

pluginSettings is defined here:


We use pluginSettings in the code below to check the plugins' install state. This should be updated immediately after we install default plugins before loading all the other plugins.

Side note: I think I can solve the above issue by myself, in case any difficulty I will discuss it here.

Also, just to make sure, can you please suggest any other things that are remaining to be done on my part for this part of the project apart from tests?

I don't really know as I haven't read the whole thing, but you might want to check with your mentor if you have doubts.

1 Like