This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch cassandra-2.2
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-2.2 by this push:
new ad16aa1 Provide a better failure message when the rat check fails
ad16aa1 is described below
commit ad16aa17637b144d114ffc8022aa24b4e98d6a21
Author: Mick Semb Wever <[email protected]>
AuthorDate: Fri Apr 23 14:56:00 2021 +0200
Provide a better failure message when the rat check fails
patch by Mick Semb Wever; reviewed by David Capwell, Ekaterina Dimitrova
for CASSANDRA-16620
---
.build/build-rat.xml | 5 ++++-
.gitignore | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/.build/build-rat.xml b/.build/build-rat.xml
index fde28be..468c671 100644
--- a/.build/build-rat.xml
+++ b/.build/build-rat.xml
@@ -67,7 +67,10 @@
<exclude NAME="**/LICENSE.md"/>
</fileset>
</rat:report>
- <fail message="Some files have missing or incorrect license
information. Check RAT report in ${build.dir}/rat.txt for more details!">
+ <exec executable="grep" outputproperty="rat.failed.files"
failifexecutionfails="false">
+ <arg line="-A5 'Unapproved licenses' ${build.dir}/rat.txt"/>
+ </exec>
+ <fail message="Some files have missing or incorrect license
information. Check RAT report in ${build.dir}/rat.txt for more details! \n
${rat.failed.files}">
<condition>
<and>
<not>
diff --git a/.gitignore b/.gitignore
index cc25cbc..715f971 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,7 @@ logs/
data/
conf/hotspot_compiler
doc/cql3/CQL.html
+pylib/src/
# C* debs
build-stamp
@@ -26,7 +27,7 @@ debian/files
# IntelliJ
.idea/
*.eml
-*.iml
+**/*.iml
*.ipr
*.iws
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]