【问题标题】:In the SonarQube Marketplace, what does it mean for a plugin to be incompatible?在 SonarQube 市场中,插件不兼容意味着什么?
【发布时间】:2020-05-21 22:20:57
【问题描述】:

我刚刚从 SonarQube 6.1 升级到 6.7.7。对于 SonarJava,它自动安装了 4.15.0.12310(之前是 4.10.0.10260)。在 Marketplace 中,当我将鼠标悬停在 5.0-5.13 的可用版本上时,它显示“不兼容”。当我将鼠标悬停在 5.13.1+ 上时,它显示“需要系统更新”。不需要系统更新不兼容是什么意思?

我在其他各种插件中也看到了这一点,例如自动安装了 1.8 的 SonarPython。我必须手动安装 1.9.1 才能修复这个错误(这就是我最初升级服务器的原因):https://community.sonarsource.com/t/python-s1481-code-smell-unused-local-variables-should-be-removed-false-positive-with-string-interpolation/8961

我也可以手动安装其他插件的较新版本,但我不知道这是否安全。

我也找不到官方的插件兼容性矩阵,因为它只显示 7.9+:https://docs.sonarqube.org/latest/instance-administration/plugin-version-matrix/

【问题讨论】:

    标签: sonarqube


    【解决方案1】:

    Incompatible 表示该插件不适用于您安装的 SonarQube 版本。

    不兼容插件的一个例子是插件依赖于您当前 SonarQube 版本中删除的 API。如果您将 SonarQube 实例降级到以前的版本,则可以使用该版本的插件。

    Requires system update 表示您需要升级 SonarQube 才能安装插件。

    对于它的价值,API 文档描述的状态是:

    Update status values are:
    COMPATIBLE: plugin is compatible with current SonarQube instance.
    INCOMPATIBLE: plugin is not compatible with current SonarQube instance.
    REQUIRES_SYSTEM_UPGRADE: plugin requires SonarQube to be upgraded before being installed.
    DEPS_REQUIRE_SYSTEM_UPGRADE: at least one plugin on which the plugin is dependent requires SonarQube to be upgraded.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-02-20
      • 1970-01-01
      • 1970-01-01
      • 2014-10-01
      • 2023-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多