mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [incubator-mxnet] branch master updated: Initial PR for RAT License Check (#10390)
Date Tue, 10 Apr 2018 23:27:25 GMT
This is an automated email from the ASF dual-hosted git repository.

haibin pushed a commit to branch master
in repository

The following commit(s) were added to refs/heads/master by this push:
     new c4258a5  Initial PR for RAT License Check (#10390)
c4258a5 is described below

commit c4258a58d2d316fa06c418ebb5c62054a983eba5
Author: mbaijal <>
AuthorDate: Tue Apr 10 16:27:19 2018 -0700

    Initial PR for RAT License Check (#10390)
 .../nightly/apache_rat_license_check/.rat-excludes | 54 ++++++++++++++++++++++
 tests/nightly/apache_rat_license_check/   | 36 +++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/tests/nightly/apache_rat_license_check/.rat-excludes b/tests/nightly/apache_rat_license_check/.rat-excludes
new file mode 100644
index 0000000..b236ade
--- /dev/null
+++ b/tests/nightly/apache_rat_license_check/.rat-excludes
@@ -0,0 +1,54 @@
\ No newline at end of file
diff --git a/tests/nightly/apache_rat_license_check/ b/tests/nightly/apache_rat_license_check/
new file mode 100644
index 0000000..b040882
--- /dev/null
+++ b/tests/nightly/apache_rat_license_check/
@@ -0,0 +1,36 @@
+# Apache RAT License Check
+This is a nightly test that runs the Apache Tool RAT to check the License Headers on all
source files
+### The .rat-excludes file
+This file lists all the files, directories and file formats that are excluded from license
checks for various reasons.
+If you think something is wrong, feel free to change!
+### Nightly test script for license check
+Coming soon...
+### How to run the RAT check locally
+The following commands can be used to run a Apache RAT check locally - 
+#install maven
+sudo apt-get install maven -y #>/dev/null
+#install svn
+sudo apt-get install subversion -y #>/dev/null
+#download RAT
+svn co #>/dev/null
+#cd into correct directory
+cd trunk
+#install step
+mvn install #>/dev/null
+#If build success:
+cd apache-rat/target
+#run Apache RAT check on the src
+java -jar apache-rat-0.13-SNAPSHOT.jar -E <path-to-.rat-excludes-file> -d <path-to-mxnet-source>

To stop receiving notification emails like this one, please contact

View raw message