aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-protocol/src
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-05-09 14:28:20 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-05-11 17:01:48 +0200
commitd66fed5a96daccc1e8e6e7c78ba1206c63dcbd66 (patch)
tree7466a95fc1eae3a7286b67e908099822c9b329d8 /sonar-scanner-protocol/src
parent78d5368a7d2344fd758278c9c69971bfbe7f4f3d (diff)
downloadsonarqube-d66fed5a96daccc1e8e6e7c78ba1206c63dcbd66.tar.gz
sonarqube-d66fed5a96daccc1e8e6e7c78ba1206c63dcbd66.zip
SONAR-6897 Precise if scm data should be copied
In scanner report and for each file we will now explicitely request compute engine to copy previous SCM data.
Diffstat (limited to 'sonar-scanner-protocol/src')
-rw-r--r--sonar-scanner-protocol/src/main/protobuf/scanner_report.proto8
1 files changed, 5 insertions, 3 deletions
diff --git a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
index f7ef467f06b..d58fc8d4518 100644
--- a/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
+++ b/sonar-scanner-protocol/src/main/protobuf/scanner_report.proto
@@ -84,7 +84,7 @@ message Component {
// Only available on PROJECT and MODULE types
string version = 9;
// Only available on PROJECT and MODULE types
- // TODO rename this property -> batchKey ? moduleKey ?
+ // TODO rename this property -> moduleKey ?
string key = 10;
// Only available on FILE type
int32 lines = 11;
@@ -162,9 +162,11 @@ message Flow {
message Changesets {
int32 component_ref = 1;
- repeated Changeset changeset = 2;
+ // If set to true then it means changeset attribute is empty and compute engine should copy data from previous analysis
+ bool copy_from_previous = 2;
+ repeated Changeset changeset = 3;
// if changesetIndexByLine[5] = 2 then it means that changeset[2] is the last one on line 6
- repeated int32 changesetIndexByLine = 3 [packed = true];
+ repeated int32 changesetIndexByLine = 4 [packed = true];
message Changeset {
string revision = 1;