Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3623

Replace Spotless with Autostyle

    XMLWordPrintableJSON

Details

    Description

      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 (

      Attachments

        Activity

          People

            Unassigned Unassigned
            vladimirsitnikov Vladimir Sitnikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h