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

Wrong casing when indexing individual files lead to issue during scm blame

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5
    • Component/s: Scanner, Scm
    • Labels:
      None

      Description

      Step to reproduce: on a case insensitive OS, let's say you have a file named src/Foo.php but you run SQ analysis with sonar.sources=src/FOO.PHP. The indexation will not fix the file name and keep the one with different casing.
      Everything works fine except that some SCM systems like SVN will not find the file.
      We should try to fix the case or fail fast to avoid this issue.

      See: https://groups.google.com/d/msg/sonarqube/Hk7q1doCqwk/Xce2c94PyMAJ

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              julien.henry Julien Henry
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: