Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-5684

When exporting a Quality Profile, the content should be sorted to facilitate comparisons of Quality Profiles

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Quality Profile
    • Labels:
      None

      Description

      Context

      Before and after each SQ upgrade, you export your Quality Profiles and you want to compare their content to see what changed by doing this upgrade.
      Today the content of a Quality Profile backup file is not formatted (for this we can arrange) and its content is not sorted at all.
      By sorting the content of this file, it will become very easy to compare 2 versions of the file and detect case like : rule duplications (not possible but sometimes this happen), deletion of rules after an upgrade, ...
      Currently there is a message displayed during the loading of a QP file but once it's done this kind of information is lost. You have no choice than relying on the content of the files.

      Expected behaviour

      Sort the backup file by the following fields:

      • <repositoryKey> ASC
      • <key> ASC

        Attachments

          Activity

            People

            Assignee:
            jb.lievremont OLD - Jean-Baptiste Lièvremont (Inactive)
            Reporter:
            agigleux OLD - Alexandre Gigleux (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: