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

Extend the Scanner SCM API to provide changed line numbers of a branch

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: None
    • Labels:
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The new method should be:

      @CheckForNull
      Map<Path, Set<Integer>> branchChangedLines(String targetBranchName, Path rootBaseDir, Set<Path> files)
      

      It returns, for the given paths, the lines detected as changed when compared with the target branch.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              janos.gyerik Janos Gyerik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: