This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemml.git


The following commit(s) were added to refs/heads/master by this push:
     new 99a7271  [MINOR] Fix missing licenses and build rat check
99a7271 is described below

commit 99a7271a12a8d30e9f604cb46db5c6c6ee20d241
Author: Sebastian <[email protected]>
AuthorDate: Fri May 15 22:49:56 2020 +0200

    [MINOR] Fix missing licenses and build rat check
    
    ignore __pycache__ folders for rat
    add license missing in compression tests
    add license missing in scripts - __init__.py files
    rat check for build workflow
    
    Closes #912.
---
 .github/workflows/build.yml                          |  2 +-
 pom.xml                                              |  1 +
 scripts/staging/slicing/__init__.py                  | 20 ++++++++++++++++++++
 scripts/staging/slicing/base/__init__.py             | 20 ++++++++++++++++++++
 scripts/staging/slicing/tests/__init__.py            | 20 ++++++++++++++++++++
 .../staging/slicing/tests/classification/__init__.py | 20 ++++++++++++++++++++
 scripts/staging/slicing/tests/regression/__init__.py | 20 ++++++++++++++++++++
 .../compress/colgroup/JolEstimateDDCTest.java        | 19 +++++++++++++++++++
 .../component/compress/colgroup/JolEstimateTest.java | 19 +++++++++++++++++++
 9 files changed, 140 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0ae7f82..ac762cd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -48,4 +48,4 @@ jobs:
           ${{ runner.os }}-maven-
 
     - name: Build
-      run: mvn package
+      run: mvn package -P rat
diff --git a/pom.xml b/pom.xml
index 6d6ab8d..bbc3088 100644
--- a/pom.xml
+++ b/pom.xml
@@ -509,6 +509,7 @@
                                                                
<exclude>**/*.mtx</exclude>
                                                                
<exclude>**/*.mtd</exclude>
                                                                
<exclude>**/*.out</exclude>
+                                                               
<exclude>**/__pycache__/**</exclude>
                                                                
<exclude>**/part-*</exclude>
                                                                
<exclude>**/*.keep</exclude>
                                                                
<exclude>**/target/**</exclude>
diff --git a/scripts/staging/slicing/__init__.py 
b/scripts/staging/slicing/__init__.py
index e69de29..e66abb4 100644
--- a/scripts/staging/slicing/__init__.py
+++ b/scripts/staging/slicing/__init__.py
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# -------------------------------------------------------------
diff --git a/scripts/staging/slicing/base/__init__.py 
b/scripts/staging/slicing/base/__init__.py
index e69de29..e66abb4 100644
--- a/scripts/staging/slicing/base/__init__.py
+++ b/scripts/staging/slicing/base/__init__.py
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# -------------------------------------------------------------
diff --git a/scripts/staging/slicing/tests/__init__.py 
b/scripts/staging/slicing/tests/__init__.py
index e69de29..e66abb4 100644
--- a/scripts/staging/slicing/tests/__init__.py
+++ b/scripts/staging/slicing/tests/__init__.py
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# -------------------------------------------------------------
diff --git a/scripts/staging/slicing/tests/classification/__init__.py 
b/scripts/staging/slicing/tests/classification/__init__.py
index e69de29..e66abb4 100644
--- a/scripts/staging/slicing/tests/classification/__init__.py
+++ b/scripts/staging/slicing/tests/classification/__init__.py
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# -------------------------------------------------------------
diff --git a/scripts/staging/slicing/tests/regression/__init__.py 
b/scripts/staging/slicing/tests/regression/__init__.py
index e69de29..e66abb4 100644
--- a/scripts/staging/slicing/tests/regression/__init__.py
+++ b/scripts/staging/slicing/tests/regression/__init__.py
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# -------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateDDCTest.java
 
b/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateDDCTest.java
index 0e93af7..4cc5b8c 100644
--- 
a/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateDDCTest.java
+++ 
b/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateDDCTest.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.sysds.test.component.compress.colgroup;
 
 import java.util.ArrayList;
diff --git 
a/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateTest.java
 
b/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateTest.java
index 1089544..b34d061 100644
--- 
a/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateTest.java
+++ 
b/src/test/java/org/apache/sysds/test/component/compress/colgroup/JolEstimateTest.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.sysds.test.component.compress.colgroup;
 
 import static org.junit.Assert.assertTrue;

Reply via email to