Skip to content
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

Display a warning in the Installed tab if the admin is about to disable or uninstall a detached plugin #4098

Merged
merged 3 commits into from
Jul 9, 2019

Conversation

jglick
Copy link
Member

@jglick jglick commented Jul 3, 2019

As discussed in #4001 (comment) (JENKINS-33843). The warning is displayed only for a plugin which is in the detached list (whether or not it has since been upgraded, or was even installed this way to begin with); which is currently enabled (otherwise presumably it is too late); and for which there was not already an informational row about enabled mandatory dependents which would have been disabling the enablement checkbox and Uninstall button. In this example, these conditions select matrix-auth and matrix-project:

detached

Proposed changelog entries

  • Added a warning to the Installed tab of the plugin manager alerting administrators to possible problems from disabling detached plugins, which became possible as of 2.181.

@jglick jglick requested a review from daniel-beck July 3, 2019 19:55
Copy link
Member

@daniel-beck daniel-beck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for following up on this!

@oleg-nenashev oleg-nenashev added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Jul 4, 2019
Co-Authored-By: Oleg Nenashev <o.v.nenashev@gmail.com>
@oleg-nenashev
Copy link
Member

Will merge tomorrow if nobody is against

@oleg-nenashev oleg-nenashev merged commit 2bfded1 into jenkinsci:master Jul 9, 2019
@jglick jglick deleted the detached-warning branch July 9, 2019 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants