Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33843

It's not possible to disable/uninstall optional dependencies

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.181

      Description

      The plugin manager UI does not allow disabling or removing optional dependencies, i.e. dependencies that are declared by plugins to be not strictly necessary for their use.

      This should be possible, maybe with a warning that not all features of the depending plugin will be available afterwards.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Andrei Costescu the fix is still open for review. If and when the fix is merged, this issue will be closed with details. In the meantime, see the *.disabled workaround above.

            Show
            jglick Jesse Glick added a comment - Andrei Costescu the fix is still open for review. If and when the fix is merged, this issue will be closed with details. In the meantime, see the *.disabled workaround above.
            Hide
            medianick Nick Jones added a comment -

            Daniel Beck FWIW, analysis-core 1.96 still shows the security warning:

            We first saw the warning with 1.95 installed, upgraded, and still see it.

            Show
            medianick Nick Jones added a comment - Daniel Beck FWIW, analysis-core 1.96 still shows the security warning: We first saw the warning with 1.95 installed, upgraded, and still see it.
            Hide
            danielbeck Daniel Beck added a comment -

            Nick Jones Thanks. Looks like I typoed the versions regex, fixed in https://github.com/jenkins-infra/update-center2/pull/273

             

            Show
            danielbeck Daniel Beck added a comment - Nick Jones Thanks. Looks like I typoed the versions regex, fixed in https://github.com/jenkins-infra/update-center2/pull/273  
            Hide
            olivergondza Oliver Gondža added a comment -

            I am postponing backport of this fix to give it some more soaking time.

            Show
            olivergondza Oliver Gondža added a comment - I am postponing backport of this fix to give it some more soaking time.
            Hide
            medianick Nick Jones added a comment -

            In case it's helpful to anyone else (as I've just gone through this to uninstall Mask Passwords due to SECURITY-157), Jesse Glick's workaround disables the optional dependency in question (mask-passwords.jpi in my case), after which point the Uninstall button in the Manage Plugins page will enable, and the plugin can be uninstalled as desired.

            Show
            medianick Nick Jones added a comment - In case it's helpful to anyone else (as I've just gone through this to uninstall Mask Passwords due to SECURITY-157 ), Jesse Glick 's workaround disables the optional dependency in question ( mask-passwords.jpi in my case), after which point the Uninstall button in the Manage Plugins page will enable, and the plugin can be uninstalled as desired.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                danielbeck Daniel Beck
              • Votes:
                20 Vote for this issue
                Watchers:
                21 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: