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

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

Vladimir Sitnikov created CALCITE-3623:
------------------------------------------

             Summary: Replace Spotless with Autostyle
                 Key: CALCITE-3623
                 URL: https://issues.apache.org/jira/browse/CALCITE-3623
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.21.0
            Reporter: Vladimir Sitnikov


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)