You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/13 18:33:00 UTC
[jira] [Updated] (AVRO-3150) Checkstyle requires LF line endings:
add .gitattributes hint
[ https://issues.apache.org/jira/browse/AVRO-3150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AVRO-3150:
---------------------------------
Labels: pull-request-available (was: )
> Checkstyle requires LF line endings: add .gitattributes hint
> ------------------------------------------------------------
>
> Key: AVRO-3150
> URL: https://issues.apache.org/jira/browse/AVRO-3150
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.10.2
> Reporter: Ryan
> Assignee: Daniel Kulp
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Running the Java unit tests on a Windows machine with the commonly configured git line ending configuration:
> {quote}{{git config --global core.autocrlf true}}
> {quote}
> Results in test failure of:
> {quote}{{NewlineAtEndOfFile: Expected line ending for file is LF(\n), but CRLF(\r\n) is detected.}}
> {quote}
> This is due to a checkstyle rule. If the unit tests require LF line endings then it would be helpful to add a .gitattributes file to automatically ensure the correct line endings are used on git clone.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)