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
            costescuandrei Andrei Costescu added a comment -

            Great news that this is resolved. Which version will have this fixed?

            (I see it in Jenkins ver. 2.164.2 where I can't uninstall Static Analysis Utilities 1.96 (which has a security warning and is end-of-life) due to an optional dependency to it from Email Extension Plugin 2.66 which I still use)

            Show
            costescuandrei Andrei Costescu added a comment - Great news that this is resolved. Which version will have this fixed? (I see it in Jenkins ver. 2.164.2 where I can't uninstall Static Analysis Utilities 1.96 (which has a security warning and is end-of-life) due to an optional dependency to it from Email Extension Plugin 2.66 which I still use)
            Hide
            danielbeck Daniel Beck added a comment -

            Are you sure? analysis-core 1.96 should not have a security warning, we fixed that issue.

            Show
            danielbeck Daniel Beck added a comment - Are you sure? analysis-core 1.96 should not have a security warning, we fixed that issue.
            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  

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: