kafka-commits mailing list archives

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

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


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

commit a9124097e1719b55b204a6f8ef8911d06aabfeee
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 0ef3239..7a24b7c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -134,7 +134,8 @@ if (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