Madhan Neethiraj created RANGER-5017:
----------------------------------------

             Summary: Code readability improvement
                 Key: RANGER-5017
                 URL: https://issues.apache.org/jira/browse/RANGER-5017
             Project: Ranger
          Issue Type: Improvement
          Components: Ranger
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


Ranger code base has been evolving over a decade, with contributions from large 
number of authors. Having a common coding style enforced during build time will 
help improve the readability of the code base. I propose to use 
[checkstyle|https://github.com/airlift/airbase/blob/master/airbase-policy/src/main/resources/checkstyle/airbase-checks.xml]
 based on airbase, which is used by open-source projects like Trino.

Updating the entire code base will take considerable time, hence this will need 
to be done in phases, perhaps one module at a time. To start with, I suggest 
updating the checkstyle currently in the master branch but not fail the build 
in case of violations.  This should be followed by updates to sources to comply 
with the checkstyle - one module at a time. Once all modules are updated, build 
should be updated to fail on violations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to