From 1fd4a8cc71c40dfdcf027f6bfb724e092c058196 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Tue, 29 Jul 2014 13:51:21 +0200 Subject: [PATCH] SONAR-5037 Remove "automatic" plugin upgrade features from "system updates" tab --- server/sonar-web/pom.xml | 1 - .../updatecenter/system_updates.html.erb | 39 +++++++------------ 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml index e61cb39ede6..cc6e2043a1b 100644 --- a/server/sonar-web/pom.xml +++ b/server/sonar-web/pom.xml @@ -350,7 +350,6 @@ true BASIC /dev - false diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb index 9399514f7bc..9b7c63199ce 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/updatecenter/system_updates.html.erb @@ -69,34 +69,25 @@ Follow those steps to upgrade SonarQube from version <%= sonar_version -%> to version <%= release.getVersion() -%> :
    +
  1. Stop SonarQube
  2. +
  3. <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and install + SonarQube <%= release.getVersion() -%> after having carefully read the upgrade guide. +
  4. <% update.getIncompatiblePlugins().each do |incompatible_plugin| %> -
  5. -
    - <%= image_tag 'warning.png' -%> - - the plugin <%= incompatible_plugin.getName() -%> which is not compatible with - SonarQube <%= release.getVersion() -%>. -
    -
  6. +
  7. + Uninstall the plugin <%= incompatible_plugin.getName() -%> which is not compatible with + SonarQube <%= release.getVersion() -%>. + +
  8. <% end %> <% update.getPluginsToUpgrade().each do |plugin_to_upgrade| %> -
  9. -
    - - the plugin <%= plugin_to_upgrade.getArtifact().getName() -%> to - version <%= plugin_to_upgrade.getVersion() -%> -
    -
  10. - <% end %> -
  11. Stop Sonar
  12. -
  13. <%= link_to 'Download', release.getDownloadUrl(), :class => 'external' -%> and install - SonarQube <%= release.getVersion() -%> after having carefully read the upgrade guide. +
  14. + Replace current version of plugin <%= plugin_to_upgrade.getArtifact().getName() -%> by + version <%= plugin_to_upgrade.getVersion() -%> +
  15. -
  16. Start Sonar
  17. + <% end %> +
  18. Start SonarQube
<% else %> -- 2.39.5