You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/08/05 22:48:24 UTC

[1/4] lucene-solr:master: Fix precommit on Windows with native line endings

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x d4b40a347 -> aa8a6b607
  refs/heads/branch_7_0 ec99019b3 -> 9005e27e5
  refs/heads/branch_7x 23541b75c -> 2406f7b0c
  refs/heads/master 3e7adf4cd -> 440747c06


Fix precommit on Windows with native line endings


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/440747c0
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/440747c0
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/440747c0

Branch: refs/heads/master
Commit: 440747c066c49a238a308cc2bddf82452d2f5dac
Parents: 3e7adf4
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Aug 5 18:46:06 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Aug 5 18:46:06 2017 -0400

----------------------------------------------------------------------
 build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/440747c0/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index cc1aff6..1176dc7 100644
--- a/build.xml
+++ b/build.xml
@@ -208,6 +208,7 @@
         def lineNumber = 0;
         singleLineSplitter.split(text).each {
           ++lineNumber;
+          it.trim(); // remove trailing carriage return after split on Windows with native line endings
           if (underSourceHeader) { // This line is either a single source line, or the boundary of a code block
             inCodeBlock = blockBoundaryPattern.matcher(it).matches();
             if ( ! blockTitlePattern.matcher(it).matches()) { // Keep underSourceHeader=true


[3/4] lucene-solr:branch_7_0: Fix precommit on Windows with native line endings

Posted by sa...@apache.org.
Fix precommit on Windows with native line endings


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9005e27e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9005e27e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9005e27e

Branch: refs/heads/branch_7_0
Commit: 9005e27e596ff3b461cb72557aebd7521a7c409c
Parents: ec99019
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Aug 5 18:46:06 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Aug 5 18:46:31 2017 -0400

----------------------------------------------------------------------
 build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9005e27e/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index cc1aff6..1176dc7 100644
--- a/build.xml
+++ b/build.xml
@@ -208,6 +208,7 @@
         def lineNumber = 0;
         singleLineSplitter.split(text).each {
           ++lineNumber;
+          it.trim(); // remove trailing carriage return after split on Windows with native line endings
           if (underSourceHeader) { // This line is either a single source line, or the boundary of a code block
             inCodeBlock = blockBoundaryPattern.matcher(it).matches();
             if ( ! blockTitlePattern.matcher(it).matches()) { // Keep underSourceHeader=true


[2/4] lucene-solr:branch_7x: Fix precommit on Windows with native line endings

Posted by sa...@apache.org.
Fix precommit on Windows with native line endings


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2406f7b0
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2406f7b0
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2406f7b0

Branch: refs/heads/branch_7x
Commit: 2406f7b0cff5ff0729f5d540b84d27ce52ddb798
Parents: 23541b7
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Aug 5 18:46:06 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Aug 5 18:46:24 2017 -0400

----------------------------------------------------------------------
 build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2406f7b0/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index cc1aff6..1176dc7 100644
--- a/build.xml
+++ b/build.xml
@@ -208,6 +208,7 @@
         def lineNumber = 0;
         singleLineSplitter.split(text).each {
           ++lineNumber;
+          it.trim(); // remove trailing carriage return after split on Windows with native line endings
           if (underSourceHeader) { // This line is either a single source line, or the boundary of a code block
             inCodeBlock = blockBoundaryPattern.matcher(it).matches();
             if ( ! blockTitlePattern.matcher(it).matches()) { // Keep underSourceHeader=true


[4/4] lucene-solr:branch_6x: Fix precommit on Windows with native line endings

Posted by sa...@apache.org.
Fix precommit on Windows with native line endings


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/aa8a6b60
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/aa8a6b60
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/aa8a6b60

Branch: refs/heads/branch_6x
Commit: aa8a6b6072f925c1b7dbaee5c848f1329e7bfc1d
Parents: d4b40a3
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Aug 5 18:46:06 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Aug 5 18:47:00 2017 -0400

----------------------------------------------------------------------
 build.xml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/aa8a6b60/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index cc1aff6..1176dc7 100644
--- a/build.xml
+++ b/build.xml
@@ -208,6 +208,7 @@
         def lineNumber = 0;
         singleLineSplitter.split(text).each {
           ++lineNumber;
+          it.trim(); // remove trailing carriage return after split on Windows with native line endings
           if (underSourceHeader) { // This line is either a single source line, or the boundary of a code block
             inCodeBlock = blockBoundaryPattern.matcher(it).matches();
             if ( ! blockTitlePattern.matcher(it).matches()) { // Keep underSourceHeader=true