You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2019/12/28 16:23:00 UTC

[jira] [Resolved] (CALCITE-3623) Replace Spotless with Autostyle

     [ https://issues.apache.org/jira/browse/CALCITE-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Sitnikov resolved CALCITE-3623.
----------------------------------------
    Resolution: Fixed

> 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)