mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hai...@apache.org
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 https://gitbox.apache.org/repos/asf/incubator-mxnet.git


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 <30911248+mbaijal@users.noreply.github.com>
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/README.md   | 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 @@
+.*xml
+\..*
+.*css
+\\.*
+.*ipynb
+.*html
+.*json
+.*js
+.*txt
+.*md
+3rdparty/*
+R-package/*
+src/operator/mkl/*
+trunk/*
+docker/*
+docker_multiarch/*
+.*\\.m
+.*\\.mk
+.*\\.R
+contrib/*
+Dockerfile*
+.*svg
+.*cfg
+.*config
+docs/*
+__init__.py
+build/*
+.*\\.t
+perl-package/*
+.*csv
+.*names
+CODEOWNERS
+prepare_mkl.sh
+readthedocs.yml
+snap.python
+snapcraft.yaml
+image-classification-predict.cc
+bbox.pyx
+cpu_nms.pyx
+gpu_nms.pyx
+nms_kernel.cu
+_mask.pyx
+unicodemap_en_baidu.csv
+coco.py
+base.pyi
+special_functions-inl.h
+im2col.cuh
+im2col.h
+pool.h
+README.rst
+dataset.cPickle
+
+rcnn/*
+image-classification/*
\ No newline at end of file
diff --git a/tests/nightly/apache_rat_license_check/README.md b/tests/nightly/apache_rat_license_check/README.md
new file mode 100644
index 0000000..b040882
--- /dev/null
+++ b/tests/nightly/apache_rat_license_check/README.md
@@ -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 http://svn.apache.org/repos/asf/creadur/rat/trunk/ #>/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
haibin@apache.org.

Mime
View raw message