From 8e8dbd22f7276e2d3950fe96f7d38b9742d2fdb8 Mon Sep 17 00:00:00 2001 From: Sheng Zha Date: Wed, 27 Jan 2021 21:29:42 -0500 Subject: [PATCH] fix license issues in 1.x Signed-off-by: Sheng Zha --- .travis.yml | 16 ++++++++++++++++ ci/docker/install/ubuntu_base.sh | 1 + ci/docker/install/ubuntu_core.sh | 1 + ci/docker/install/ubuntu_rat.sh | 4 ++-- cpp-package/.travis.yml | 16 ++++++++++++++++ example/image-classification/__init__.py | 16 ++++++++++++++++ example/image-classification/common/__init__.py | 16 ++++++++++++++++ .../image-classification/predict-cpp/Makefile | 17 +++++++++++++++++ .../image-classification/symbols/__init__.py | 16 ++++++++++++++++ example/module/utils/__init__.py | 16 ++++++++++++++++ example/rcnn/symdata/__init__.py | 16 ++++++++++++++++ example/rcnn/symimdb/__init__.py | 16 ++++++++++++++++ example/rcnn/symnet/__init__.py | 16 ++++++++++++++++ example/ssd/__init__.py | 16 ++++++++++++++++ example/ssd/config/__init__.py | 16 ++++++++++++++++ example/ssd/dataset/__init__.py | 16 ++++++++++++++++ example/ssd/detect/__init__.py | 16 ++++++++++++++++ example/ssd/evaluate/__init__.py | 16 ++++++++++++++++ example/ssd/symbol/__init__.py | 16 ++++++++++++++++ example/ssd/tools/__init__.py | 16 ++++++++++++++++ example/ssd/train/__init__.py | 16 ++++++++++++++++ julia/Project.toml | 16 ++++++++++++++++ julia/docs/Project.toml | 16 ++++++++++++++++ rat-excludes | 6 ++++++ 24 files changed, 331 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 485faadee277..bccf989aefd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,19 @@ +# 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. sudo: true language: cpp diff --git a/ci/docker/install/ubuntu_base.sh b/ci/docker/install/ubuntu_base.sh index f36e53279f57..fc81f87bc5de 100755 --- a/ci/docker/install/ubuntu_base.sh +++ b/ci/docker/install/ubuntu_base.sh @@ -37,4 +37,5 @@ apt-get install -y \ gnupg \ gnupg2 \ gnupg-agent \ + default-jdk \ wget diff --git a/ci/docker/install/ubuntu_core.sh b/ci/docker/install/ubuntu_core.sh index 2773aa26246c..16bcab80c001 100755 --- a/ci/docker/install/ubuntu_core.sh +++ b/ci/docker/install/ubuntu_core.sh @@ -52,6 +52,7 @@ apt-get install -y \ sudo \ unzip \ vim-nox \ + default-jdk \ wget # Use libturbojpeg package as it is correctly compiled with -fPIC flag diff --git a/ci/docker/install/ubuntu_rat.sh b/ci/docker/install/ubuntu_rat.sh index 2c905fc275c7..917d0b683e28 100755 --- a/ci/docker/install/ubuntu_rat.sh +++ b/ci/docker/install/ubuntu_rat.sh @@ -25,10 +25,10 @@ apt-get install -y subversion maven openjdk-8-jdk openjdk-8-jre echo "download RAT" #svn co http://svn.apache.org/repos/asf/creadur/rat/trunk/ -svn co http://svn.apache.org/repos/asf/creadur/rat/branches/0.12-release/ +svn co http://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/ echo "cd into directory" -cd 0.12-release +cd apache-rat-project-0.13 echo "mvn install" mvn -Dmaven.test.skip=true install diff --git a/cpp-package/.travis.yml b/cpp-package/.travis.yml index e7a332d09125..7cd69d4d4510 100644 --- a/cpp-package/.travis.yml +++ b/cpp-package/.travis.yml @@ -1,3 +1,19 @@ +# 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. sudo: false language: cpp diff --git a/example/image-classification/__init__.py b/example/image-classification/__init__.py index e69de29bb2d1..13a83393a912 100755 --- a/example/image-classification/__init__.py +++ b/example/image-classification/__init__.py @@ -0,0 +1,16 @@ +# 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/example/image-classification/common/__init__.py b/example/image-classification/common/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/image-classification/common/__init__.py +++ b/example/image-classification/common/__init__.py @@ -0,0 +1,16 @@ +# 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/example/image-classification/predict-cpp/Makefile b/example/image-classification/predict-cpp/Makefile index 5c084119b966..59f6133e380f 100644 --- a/example/image-classification/predict-cpp/Makefile +++ b/example/image-classification/predict-cpp/Makefile @@ -1,3 +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. + # Special thanks to https://github.com/pertusa for the Makefile CFLAGS=-std=c++11 -Wno-unknown-pragmas -Wall diff --git a/example/image-classification/symbols/__init__.py b/example/image-classification/symbols/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/image-classification/symbols/__init__.py +++ b/example/image-classification/symbols/__init__.py @@ -0,0 +1,16 @@ +# 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/example/module/utils/__init__.py b/example/module/utils/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/module/utils/__init__.py +++ b/example/module/utils/__init__.py @@ -0,0 +1,16 @@ +# 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/example/rcnn/symdata/__init__.py b/example/rcnn/symdata/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/rcnn/symdata/__init__.py +++ b/example/rcnn/symdata/__init__.py @@ -0,0 +1,16 @@ +# 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/example/rcnn/symimdb/__init__.py b/example/rcnn/symimdb/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/rcnn/symimdb/__init__.py +++ b/example/rcnn/symimdb/__init__.py @@ -0,0 +1,16 @@ +# 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/example/rcnn/symnet/__init__.py b/example/rcnn/symnet/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/rcnn/symnet/__init__.py +++ b/example/rcnn/symnet/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/__init__.py b/example/ssd/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/__init__.py +++ b/example/ssd/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/config/__init__.py b/example/ssd/config/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/config/__init__.py +++ b/example/ssd/config/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/dataset/__init__.py b/example/ssd/dataset/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/dataset/__init__.py +++ b/example/ssd/dataset/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/detect/__init__.py b/example/ssd/detect/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/detect/__init__.py +++ b/example/ssd/detect/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/evaluate/__init__.py b/example/ssd/evaluate/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/evaluate/__init__.py +++ b/example/ssd/evaluate/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/symbol/__init__.py b/example/ssd/symbol/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/symbol/__init__.py +++ b/example/ssd/symbol/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/tools/__init__.py b/example/ssd/tools/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/tools/__init__.py +++ b/example/ssd/tools/__init__.py @@ -0,0 +1,16 @@ +# 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/example/ssd/train/__init__.py b/example/ssd/train/__init__.py index e69de29bb2d1..13a83393a912 100644 --- a/example/ssd/train/__init__.py +++ b/example/ssd/train/__init__.py @@ -0,0 +1,16 @@ +# 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/julia/Project.toml b/julia/Project.toml index 994a696c1399..18d2b83bcb59 100644 --- a/julia/Project.toml +++ b/julia/Project.toml @@ -1,3 +1,19 @@ +# 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. name = "MXNet" uuid = "a7949054-b901-59c6-b8e3-7238c29bf7f0" authors = ["Chiyuan Zhang ", "Valentin Churavy ", "Iblis Lin "] diff --git a/julia/docs/Project.toml b/julia/docs/Project.toml index 023a222beba6..aa1e77aa9eae 100644 --- a/julia/docs/Project.toml +++ b/julia/docs/Project.toml @@ -1,3 +1,19 @@ +# 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. [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433" diff --git a/rat-excludes b/rat-excludes index c37ffb25dea8..787853668ba2 100644 --- a/rat-excludes +++ b/rat-excludes @@ -49,6 +49,7 @@ # are available at the path of the subcomponent. 3rdparty clipboard.js +coco.py # Licenses licenses/* @@ -84,6 +85,7 @@ themes/* .*\.pyc .*\.so .*\.json +.*\.ref .*\.txt .*\.svg .*\.lst @@ -97,6 +99,7 @@ themes/* .*\.interp .*\.tokens .*\.cPickle +.*\.names # Modules that are deleted prior to distribution R-package/* @@ -106,7 +109,10 @@ R-package/* # Files that don't support comment DISCLAIMER-WIP MANIFEST +Changes .codecov.yml +libmxnet.sym +libmxnet.ver # GitHub files CODEOWNERS