Create a label config for copying all scores if list of files is the same
This change allows creating new labels or setting to an old label a new label config: copyAllScoresIfListOfFilesDidNotChange. Labels that have this config set to true will copy all scores if the list of files did not change. Renames count as the same file (= no file change); as long as there are no explicit additions or deletions to the list of files, the scores will be copied to the next patch-set. Change-Id: I0051ea1236e6bd50a69455d799ce27081091d21a
This commit is contained in:
		@@ -28,6 +28,7 @@ public class LabelDefinitionInfo {
 | 
			
		||||
  public Boolean copyAnyScore;
 | 
			
		||||
  public Boolean copyMinScore;
 | 
			
		||||
  public Boolean copyMaxScore;
 | 
			
		||||
  public Boolean copyAllScoresIfListOfFilesDidNotChange;
 | 
			
		||||
  public Boolean copyAllScoresIfNoChange;
 | 
			
		||||
  public Boolean copyAllScoresIfNoCodeChange;
 | 
			
		||||
  public Boolean copyAllScoresOnTrivialRebase;
 | 
			
		||||
 
 | 
			
		||||
@@ -27,6 +27,7 @@ public class LabelDefinitionInput extends InputWithCommitMessage {
 | 
			
		||||
  public Boolean copyAnyScore;
 | 
			
		||||
  public Boolean copyMinScore;
 | 
			
		||||
  public Boolean copyMaxScore;
 | 
			
		||||
  public Boolean copyAllScoresIfListOfFilesDidNotChange;
 | 
			
		||||
  public Boolean copyAllScoresIfNoChange;
 | 
			
		||||
  public Boolean copyAllScoresIfNoCodeChange;
 | 
			
		||||
  public Boolean copyAllScoresOnTrivialRebase;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user