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

Allow users to deactivate file move detection on projects

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.6
    • Component/s: Compute Engine
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      In some cases where a Compute Engine task has to deal with a big project and many files changed since the previous analysis, the “file move detection” step can heavily affect performance and block the analysis of the project for an unknown period of time.

      SonarQube administrators should have a way to deactivate this detection for selected projects.

      • A setting General > File Move > File move detection should allow project administrators to deactivate file move detection at the project level.
        key: sonar.skipFileMoveDetection
        default value: false
        description: If set to true, file move won't be detected. Moved/renamed files and related issues will be reported as new.
        The setting should also be available for system administrators at the global level.
      • A log should be added in Compute Engine logs, at DEBUG level, to indicate
        • when file move detection starts
        • or if file move detection is deactivated and thus skipped

      The log which indicates the end of the step remains.

        Attachments

          Activity

            People

            • Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              christophe.levis Christophe Levis
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: