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

Only publish input files used by sensors

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Scanner
    • Labels:

      Description

      Due to SONAR-8623, some files might be indexed and yet they should not be written in the report and published.
      Ideally, we should only include them if:

      1. Sensor explicitly marks the file as source to publish with a new method in the API: sensorContext.markForPublishing(inputFile)
      2. Sensor saves any data concerning a file (issues, highlighting, ...)

      Directories should be included in the report only if they have files to be published under them or if they contain issues.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                duarte.meneses Duarte Meneses
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: