SonarQube
  1. SonarQube
  2. SONAR-1608

Allow adapting artifact and group id of projects

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 3.2
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The scenario is as follows:

      One has gathered metrics for a project for quite some time. Now the project's artifact id has to be changed. Right now, to be able to continue gathering metrics for this projects you manually have to alter the kee column of the PROJECTS table, because otherwise Sonar thinks this is a new project.

        Issue Links

          Activity

          Hide
          Freddy Mallet added a comment -

          For the Bulk change operation I guess it would be better :

          • to try matching the input string whatever is its location in the key(s) -> this will provide more flexibility.
          • to display all impacts when displaying the confirmation page and not only the impact on the root project
          • to provide the ability to update some module keys even if the root project key is not impacted
          Show
          Freddy Mallet added a comment - For the Bulk change operation I guess it would be better : to try matching the input string whatever is its location in the key(s) -> this will provide more flexibility. to display all impacts when displaying the confirmation page and not only the impact on the root project to provide the ability to update some module keys even if the root project key is not impacted
          Hide
          Freddy Mallet added a comment -

          Works well Fabrice, but :

          • there isn't any index on the projects.root_id column so response time of this page can be very long when the Sonar DB contains a lot of projects
          • In the confirmation page of a bulk update, a whitespace is missing between Rename and Cancel actions.
          Show
          Freddy Mallet added a comment - Works well Fabrice, but : there isn't any index on the projects.root_id column so response time of this page can be very long when the Sonar DB contains a lot of projects In the confirmation page of a bulk update, a whitespace is missing between Rename and Cancel actions.
          Hide
          Fabrice Bellingard added a comment -

          Index added on projects.root_id

          Show
          Fabrice Bellingard added a comment - Index added on projects.root_id
          Hide
          Freddy Mallet added a comment -

          Manually tested !

          Show
          Freddy Mallet added a comment - Manually tested !
          Hide
          Fabrice Bellingard added a comment -

          ITs added.

          Show
          Fabrice Bellingard added a comment - ITs added.

            People

            • Assignee:
              Fabrice Bellingard
              Reporter:
              Oliver Gierke
            • Votes:
              26 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: