kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject [kafka] branch 2.0 updated: MINOR: Rat should ignore generated directories (#7729)
Date Thu, 21 Nov 2019 23:17:36 GMT
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 2.0
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.0 by this push:
     new bcb413d  MINOR: Rat should ignore generated directories (#7729)
bcb413d is described below

commit bcb413dab6b00efc06b0dbde53b8631590700a78
Author: Ismael Juma <ismael@juma.me.uk>
AuthorDate: Thu Nov 21 10:51:55 2019 -0800

    MINOR: Rat should ignore generated directories (#7729)
    
    For some reason, PR builds are failing due to the `rat` license
    check even though it should ignore files included in `.gitignore`.
    
    Reviewers: Jason Gustafson <jason@confluent.io>
---
 build.gradle | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 0d04af5..31a38df 100644
--- a/build.gradle
+++ b/build.gradle
@@ -129,7 +129,8 @@ if (new File('.git').exists()) {
         '**/id_rsa.pub',
         'checkstyle/suppressions.xml',
         'streams/quickstart/java/src/test/resources/projects/basic/goal.txt',
-        'streams/streams-scala/logs/*'
+        'streams/streams-scala/logs/*',
+        '**/generated/**'
     ])
   }
 }


Mime
View raw message