diff options
Diffstat (limited to 'sonar-scanner-protocol')
-rw-r--r-- | sonar-scanner-protocol/src/main/protobuf/scanner_report.proto | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto index 7033c31ce75..75a93b65e12 100644 --- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto +++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto @@ -30,13 +30,14 @@ option optimize_for = SPEED; message Metadata { int64 analysis_date = 1; - // TODO should we keep this project_key here or not ? Because it's a duplication of Component.key string organization_key = 2; + // TODO should we keep this project_key here or not ? Because it's a duplication of Component.key string project_key = 3; string branch = 4; int32 root_component_ref = 5; bool cross_project_duplication_activated = 6; map<string, QProfile> qprofiles_per_language = 7; + bool incremental = 8; message QProfile { string key = 1; @@ -91,6 +92,7 @@ message Component { int32 lines = 11; // Only available on PROJECT and MODULE types string description = 12; + FileStatus status = 13; enum ComponentType { UNSET = 0; @@ -100,6 +102,14 @@ message Component { FILE = 4; } + // For incremental mode + enum FileStatus { + UNAVAILABLE = 0; + SAME = 1; + CHANGED = 2; + ADDED = 3; + } + } message Measure { |