[ 
https://issues.apache.org/jira/browse/CALCITE-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004514#comment-17004514
 ] 

Vladimir Sitnikov commented on CALCITE-3623:
--------------------------------------------

Fixed in 
[https://github.com/apache/calcite/commit/2daa185832f983d11a763d5bbc10454d4c56d7ac]
 and 
[https://github.com/apache/calcite-avatica/commit/8d3fce35eb3eb851df2620800a1baa90a1048ee2]
 

> Replace Spotless with Autostyle
> -------------------------------
>
>                 Key: CALCITE-3623
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3623
>             Project: Calcite
>          Issue Type: Improvement
>          Components: avatica, core
>    Affects Versions: 1.21.0
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.22.0, avatica-1.17.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Spotless has certain drawbacks:
> 1) It is not able to verify license headers for non-Java files. For instance, 
> it skips `package-info.java`, it skips `*.kts` and so on :(
> 2) Its error messages are too verbose. Sometimes it prints the full 
> stacktrace when just one line was enough: "file X line Y column Z has error: 
> ..."
> 3) It uses unsafe Gradle APIs, so it will be incompatible with Gradle 7.0
> I suggest to replace it with https://github.com/autostyle/autostyle
> Note: I tried to contact Spotless authors, and their way to manage code makes 
> it very hard to co-operate :((



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to