Apache DataFusion SQL Query Engine
ARROW-321: fix arrow licenses
Julien Le Dem957efd72fcae
diff --git a/NOTICE.txt b/NOTICE.txtindex ce6e567dcb..679bb59e6a 100644--- a/NOTICE.txt+++ b/NOTICE.txt@@ -18,3 +18,23 @@ https://github.com/wesm/featherThis product includes software from the DyND project (BSD 2-clause)https://github.com/libdynd++This product includes software from the LLVM project+ * distributed under the University of Illinois Open Source++This product includes software from the google-lint project+ * Copyright (c) 2009 Google Inc. All rights reserved.++This product includes software from the mman-win32 project+ * Copyright https://code.google.com/p/mman-win32/+ * Licensed under the MIT License;++This product includes software from the LevelDB project+ * Copyright (c) 2011 The LevelDB Authors. All rights reserved.+ * Use of this source code is governed by a BSD-style license that can be+ * Moved from Kudu http://github.com/cloudera/kudu++This product includes software from the CMake project+ * Copyright 2001-2009 Kitware, Inc.+ * Copyright 2012-2014 Continuum Analytics, Inc.+ * All rights reserved.diff --git a/README.md b/README.mdindex 84bae78cc7..89114ee39b 100644--- a/README.md+++ b/README.md@@ -1,3 +1,17 @@+<!---+ Licensed 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. See accompanying LICENSE file.+-->+## Apache Arrow<table>@@ -42,4 +56,4 @@ integrations in other projects, we'd be happy to have you involved:[1]: mailto:[email protected][2]: https://github.com/apache/arrow/tree/master/format-[3]: https://issues.apache.org/jira/browse/ARROW\ No newline at end of file+[3]: https://issues.apache.org/jira/browse/ARROWdiff --git a/ci/travis_before_script_cpp.sh b/ci/travis_before_script_cpp.shindex 2f02ef247a..acd820bbed 100755--- a/ci/travis_before_script_cpp.sh+++ b/ci/travis_before_script_cpp.sh@@ -1,5 +1,18 @@#!/usr/bin/env bash+# Licensed 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. See accompanying LICENSE file.++set -exsource $TRAVIS_BUILD_DIR/ci/travis_install_conda.shdiff --git a/ci/travis_conda_build.sh b/ci/travis_conda_build.shindex a787df79a5..17a33ae971 100755--- a/ci/travis_conda_build.sh+++ b/ci/travis_conda_build.sh@@ -1,5 +1,17 @@#!/usr/bin/env bash+# Licensed 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. See accompanying LICENSE file.+set -exsource $TRAVIS_BUILD_DIR/ci/travis_install_conda.shdiff --git a/ci/travis_install_conda.sh b/ci/travis_install_conda.shindex e9225259e6..ffa017cbaf 100644--- a/ci/travis_install_conda.sh+++ b/ci/travis_install_conda.sh@@ -1,5 +1,17 @@#!/usr/bin/env bash+# Licensed 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. See accompanying LICENSE file.+set -eif [ $TRAVIS_OS_NAME == "linux" ]; thendiff --git a/ci/travis_script_cpp.sh b/ci/travis_script_cpp.shindex a3585507f0..c3bd3b5f20 100755--- a/ci/travis_script_cpp.sh+++ b/ci/travis_script_cpp.sh@@ -1,5 +1,17 @@#!/usr/bin/env bash+# Licensed 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. See accompanying LICENSE file.+set -e: ${CPP_BUILD_DIR=$TRAVIS_BUILD_DIR/cpp-build}diff --git a/ci/travis_script_java.sh b/ci/travis_script_java.shindex 2d11eaeb4c..4679f9c6da 100755--- a/ci/travis_script_java.sh+++ b/ci/travis_script_java.sh@@ -1,5 +1,17 @@#!/usr/bin/env bash+# Licensed 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. See accompanying LICENSE file.+set -eJAVA_DIR=${TRAVIS_BUILD_DIR}/javadiff --git a/ci/travis_script_python.sh b/ci/travis_script_python.shindex 61c8e44436..a75ff0778b 100755--- a/ci/travis_script_python.sh+++ b/ci/travis_script_python.sh@@ -1,5 +1,17 @@#!/usr/bin/env bash+# Licensed 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. See accompanying LICENSE file.+set -ePYTHON_DIR=$TRAVIS_BUILD_DIR/pythondiff --git a/dev/release/02-source.sh b/dev/release/02-source.shindex f44692d5e9..1bbe2e9275 100644--- a/dev/release/02-source.sh+++ b/dev/release/02-source.sh@@ -56,12 +56,43 @@ tarball=$tag.tar.gz# archive (identical hashes) using the scm taggit archive $release_hash --prefix $tag/ -o $tarball+# download apache rat+curl -s https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.12/apache-rat-0.12.jar > apache-rat-0.12.jar++RAT="java -jar apache-rat-0.12.jar -d "++# generate the rat report+$RAT $tarball \+ -e ".*" \+ -e mman.h \+ -e "*_generated.h" \+ -e random.h \+ -e status.cc \+ -e status.h \+ -e asan_symbolize.py \+ -e cpplint.py \+ -e FindPythonLibsNew.cmake \+ -e pax_global_header \+ -e MANIFEST.in \+ -e __init__.pxd \+ -e __init__.py \+ -e requirements.txt \+ > rat.txt+UNAPPROVED=`cat rat.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`++if [ "0" -eq "${UNAPPROVED}" ]; then+ echo "No unnaproved licenses"+else+ echo "${UNAPPROVED} unapproved licences. Check rat report: rat.txt"+ exit+fi+# sign the archivegpg --armor --output ${tarball}.asc --detach-sig $tarballgpg --print-md MD5 $tarball > ${tarball}.md5shasum $tarball > ${tarball}.sha-# check out the parquet RC folder+# check out the arrow RC foldersvn co --depth=empty https://dist.apache.org/repos/dist/dev/arrow tmp# add the release candidate for the tagdiff --git a/dev/release/README b/dev/release/READMEindex 4fcc5d9728..07402030bf 100644--- a/dev/release/README+++ b/dev/release/README@@ -3,6 +3,9 @@ requirements:- a gpg key to sign the artifactsto release, run the following (replace 0.1.0 with version to release):++#create a release branch+git co -b release-0_1_0# prepare release v 0.1.0 (run tests, sign artifacts). Next version will be 0.1.1-SNAPSHOTdev/release/00-prepare.sh 0.1.0 0.1.1# tag and push to maven repo (repo will have to be finalized separately)@@ -11,5 +14,12 @@ dev/release/01-perform.shdev/release/02-source.sh 0.1.0 0useful commands:-to set the mvn version in the poms+- to set the mvn version in the pomsmvn versions:set -DnewVersion=0.1-SNAPSHOT+- reset your workspace+git reset --hard+- setup gpg agent+eval $(gpg-agent --daemon --allow-preset-passphrase)+gpg --use-agent -s LICENSE.txt+- delete tag localy+git tag -d apache-arrow-0.1.0diff --git a/format/File.fbs b/format/File.fbsindex a29bbc694b..f28dc204d5 100644--- a/format/File.fbs+++ b/format/File.fbs@@ -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.+include "Message.fbs";namespace org.apache.arrow.flatbuf;diff --git a/format/Guidelines.md b/format/Guidelines.mdindex 14f1057850..c75da9f98b 100644--- a/format/Guidelines.md+++ b/format/Guidelines.md@@ -1,3 +1,16 @@+<!---+ Licensed 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. See accompanying LICENSE file.+--># Implementation guidelinesAn execution engine (or framework, or UDF executor, or storage engine, etc) can implements only a subset of the Arrow spec and/or extend it given the following constraints:diff --git a/format/IPC.md b/format/IPC.mdindex 1f39e762ab..3f78126ef5 100644--- a/format/IPC.md+++ b/format/IPC.md@@ -1,3 +1,17 @@+<!---+ Licensed 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. See accompanying LICENSE file.+-->+# Interprocess messaging / communication (IPC)## File formatdiff --git a/format/Layout.md b/format/Layout.mdindex a953930e17..251af9dd8a 100644--- a/format/Layout.md+++ b/format/Layout.md@@ -1,3 +1,17 @@+<!---+ Licensed 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. See accompanying LICENSE file.+-->+# Arrow: Physical memory layout## Definitions / Terminologydiff --git a/format/Message.fbs b/format/Message.fbsindex d8fa65006c..2ec9fd1817 100644--- a/format/Message.fbs+++ b/format/Message.fbs@@ -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.+namespace org.apache.arrow.flatbuf;enum MetadataVersion:short {diff --git a/format/Metadata.md b/format/Metadata.mdindex e227b8d4af..fa5f623ac9 100644--- a/format/Metadata.md+++ b/format/Metadata.md@@ -1,3 +1,17 @@+<!---+ Licensed 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. See accompanying LICENSE file.+-->+# Metadata: Logical types, schemas, data headersThis is documentation for the Arrow metadata specification, which enablesdiff --git a/format/README.md b/format/README.mdindex 78e15207ee..048badb122 100644--- a/format/README.md+++ b/format/README.md@@ -1,3 +1,17 @@+<!---+ Licensed 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. See accompanying LICENSE file.+-->+## Arrow specification documents> **Work-in-progress specification documents**. These are discussion documents@@ -21,4 +35,4 @@ couple related pieces of information:schema, and enable a system to send and receive Arrow row batches in a formthat can be precisely disassembled or reconstructed.-[1]: http://github.com/google/flatbuffers\ No newline at end of file+[1]: http://github.com/google/flatbuffers