vinothchandar commented on code in PR #19265:
URL: https://github.com/apache/hudi/pull/19265#discussion_r3568110404


##########
scripts/release/validate_source_copyright.sh:
##########
@@ -50,7 +50,7 @@ echo "Performing custom Licensing Check "
 # Exclude the 'hudi-trino-plugin' directory. Its license checks are handled by 
airlift:
 # 
https://github.com/airlift/airbase/blob/823101482dbc60600d7862f0f5c93aded6190996/airbase/pom.xml#L1239
 # ---
-numfilesWithNoLicense=$(find . -path './hudi-trino-plugin' -prune -o -type f 
-iname '*' | grep -v './hudi-trino-plugin' | grep -v NOTICE | grep -v LICENSE | 
grep -v '.jpg' | grep -v '.json' | grep -v '.zip' | grep -v '.hfile' | grep -v 
'.data' | grep -v '.commit' | grep -v emptyFile | grep -v DISCLAIMER | grep -v 
'.sqltemplate' | grep -v KEYS | grep -v '.mailmap' | grep -v 'banner.txt' | 
grep -v '.txt' | grep -v "fixtures" | xargs grep -L "Licensed to the Apache 
Software Foundation (ASF)")
+numfilesWithNoLicense=$(find . -path './hudi-trino-plugin' -prune -o -type f 
-iname '*' | grep -v './hudi-trino-plugin' | grep -v NOTICE | grep -v LICENSE | 
grep -v '.jpg' | grep -v '.png' | grep -v '.json' | grep -v '.zip' | grep -v 
'.hfile' | grep -v '.data' | grep -v '.commit' | grep -v emptyFile | grep -v 
DISCLAIMER | grep -v '.sqltemplate' | grep -v KEYS | grep -v '.mailmap' | grep 
-v 'banner.txt' | grep -v '.txt' | grep -v "fixtures" | xargs grep -L "Licensed 
to the Apache Software Foundation (ASF)")

Review Comment:
   we can make it a URI. Can you leave shorter comments though :) 



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

Reply via email to