Plugin Manager - Uninstalling/Disabling plugins that have active dependant plugins ???

72 views
Skip to first unread message

Tom Fennelly

unread,
Sep 26, 2015, 5:41:03 AM9/26/15
to Jenkins Developers
Hi.

While doing the unbundling and plugin wizard, it became more obvious to me that how the Plugin Manager works is a bit weird. I can go in there and just uninstall or disable any plugin... restart Jenkins and BANG ... NCDF errors etc !!!

So, I did a bit of experimenting and was fairly easily able to get the "Installed" page to only allow the Uninstall or Disable of plugins that do not have any active dependants. The disable part doesn't work fully (should be able to disable plugins after all dependant plugins have been disabled), but there's enough there to get the picture.

Do we think this is something we should fix?

I'm sure there's a long list of possible issues/scenarios with the PM that people could draw up. I'm not proposing to fix them all, but I think if we can fix some of them we are making progress.

Tom Fennelly

unread,
Sep 26, 2015, 5:43:54 AM9/26/15
to Jenkins Developers
Here's a 15s video of how it might work (from the code I linked to above) ... https://youtu.be/EWkrbRjTqSs

Stephen Connolly

unread,
Sep 26, 2015, 6:31:16 AM9/26/15
to jenkin...@googlegroups.com
+1000 (but I'd also like to see the dependencies listed on the "installed" page - if you don't already - so I know what I need to disable/uninstall to be able to do this one that is blocked)

* me not watchee video clip so maybe you did that.

** can I have a pony too


On Saturday 26 September 2015, Tom Fennelly <tom.fe...@gmail.com> wrote:
Here's a 15s video of how it might work (from the code I linked to above) ... https://youtu.be/EWkrbRjTqSs

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/790e14d0-2aaf-4bf4-95ea-116dc0ebca71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from my phone

Tom Fennelly

unread,
Sep 26, 2015, 8:20:28 AM9/26/15
to Jenkins Developers
On Saturday, September 26, 2015 at 11:31:16 AM UTC+1, Stephen Connolly wrote:
+1000 (but I'd also like to see the dependencies listed on the "installed" page - if you don't already - so I know what I need to disable/uninstall to be able to do this one that is blocked)

* me not watchee video clip so maybe you did that.

No I haven't done that yet but will for sure. It needs that. 

Stephen Connolly

unread,
Sep 26, 2015, 9:09:07 AM9/26/15
to jenkin...@googlegroups.com


On Saturday 26 September 2015, Tom Fennelly <tom.fe...@gmail.com> wrote:
What about my pony? 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/52f8b12d-3908-4a08-b2e3-81bbff5a256d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Tom Fennelly

unread,
Sep 26, 2015, 12:11:39 PM9/26/15
to Jenkins Developers
On Saturday, September 26, 2015 at 2:09:07 PM UTC+1, Stephen Connolly wrote:


On Saturday 26 September 2015, Tom Fennelly <tom.fe...@gmail.com> wrote:
On Saturday, September 26, 2015 at 11:31:16 AM UTC+1, Stephen Connolly wrote:
+1000 (but I'd also like to see the dependencies listed on the "installed" page - if you don't already - so I know what I need to disable/uninstall to be able to do this one that is blocked)

* me not watchee video clip so maybe you did that.

No I haven't done that yet but will for sure. It needs that. 

What about my pony? 

Shouldn't be a problem. Would you like a trap with it? 

Daniel Beck

unread,
Sep 26, 2015, 12:25:16 PM9/26/15
to jenkin...@googlegroups.com
Alternatively, just add a real generic index page for plugins. Could look like this (part of a POC that was never finished):

https://github.com/daniel-beck/jenkins/blob/e7b8fd97475ad45ff1100aa83696fcb9a7f0451d/core/src/main/resources/hudson/PluginWrapper/index.jelly

Link there rather than to the wiki from the plugin manager, or in addition to it. This would help reduce the clutter.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CA%2BnPnMy0wNRdcGjfmkpa6ro6NF5hGoYVFDmBO%3DbpEkcWGv1M2Q%40mail.gmail.com.

Stephen Connolly

unread,
Sep 26, 2015, 2:08:57 PM9/26/15
to jenkin...@googlegroups.com


On Saturday 26 September 2015, Tom Fennelly <tom.fe...@gmail.com> wrote:
On Saturday, September 26, 2015 at 2:09:07 PM UTC+1, Stephen Connolly wrote:


On Saturday 26 September 2015, Tom Fennelly <tom.fe...@gmail.com> wrote:
On Saturday, September 26, 2015 at 11:31:16 AM UTC+1, Stephen Connolly wrote:
+1000 (but I'd also like to see the dependencies listed on the "installed" page - if you don't already - so I know what I need to disable/uninstall to be able to do this one that is blocked)

* me not watchee video clip so maybe you did that.

No I haven't done that yet but will for sure. It needs that. 

What about my pony? 

Shouldn't be a problem. Would you like a trap with it? 

I certainly don't want one of them thingys they use in Killarney castle... What with the open cloth to catch doings... 

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/9e80a148-0bab-4c36-99e2-9a6e1b5c6659%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Tom Fennelly

unread,
Oct 1, 2015, 12:50:03 PM10/1/15
to Jenkins Developers
I Created PR #1847 for this.

Here's the changes in action: https://youtu.be/YMLKumX-kkI
Reply all
Reply to author
Forward
0 new messages