adoroszlai opened a new pull request, #3321:
URL: https://github.com/apache/ozone/pull/3321

   ## What changes were proposed in this pull request?
   
    * Collect rat failures from the new `dev-support/annotations` directory, 
too.
    * Add missing license header.
    * Reduce duplication by looping over the dirs to be checked.
   
   https://issues.apache.org/jira/browse/HDDS-6606
   
   ## How was this patch tested?
   
   Verified that the check properly fails due to license violation:
   
   ```
   $ ./hadoop-ozone/dev-support/checks/rat.sh
   ...
   dev-support/annotations/target/rat.txt: !????? 
src/main/java/org/apache/ozone/annotations/package-info.java
   ```
   
   Then added the missing header and re-ran the check:
   
   ```
   $ ./hadoop-ozone/dev-support/checks/rat.sh
   ...
   
   $ echo $?
   0
   ```
   
   https://github.com/adoroszlai/hadoop-ozone/runs/6081893903


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to