ARROW-321: fix arrow licenses

This commit is contained in:
Julien Le Dem committed 2016-10-05 14:58:04 -07:00
1 parent 7fb4d24a35
commit 51db31bdae
12 files changed
+190 -3

No files matched your search

+12
View File
@@ -1,3 +1,15 @@
# 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.
{
# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
+12
View File
@@ -1,3 +1,15 @@
# 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.
{
# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
+12
View File
@@ -1,3 +1,15 @@
# 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.
{
# Symbols marked as 'local' are not exported by the DSO and thus may not
# be used by client applications.
+39 -1
View File
@@ -56,12 +56,50 @@ tarball=$tag.tar.gz
# archive (identical hashes) using the scm tag
git archive $release_hash --prefix $tag/ -o $tarball
# download apache rat
curl https://repo1.maven.org/maven2/org/apache/rat/apache-rat/0.12/apache-rat-0.12.jar > apache-rat-0.12.jar
# generate the rat report
java -jar apache-rat-0.12.jar \
-d cpp/src \
-e ".*" \
-e mman.h \
-e "*_generated.h" \
-e random.h \
-e status.cc \
-e status.h \
../apache-arrow-0.1.0.tar.gz > rat_cpp.txt
UNAPPROVED_CPP=`cat rat_cpp.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`
java -jar apache-rat-0.12.jar \
-d format \
-e ".*" \
../apache-arrow-0.1.0.tar.gz > rat_format.txt
UNAPPROVED_FORMAT=`cat rat_format.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`
java -jar apache-rat-0.12.jar \
-d python/src \
-e ".*" \
-e status.cc \
-e status.h \
../apache-arrow-0.1.0.tar.gz > rat_python.txt
UNAPPROVED_PYTHON=`cat rat_python.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`
UNAPPROVED=$(($UNAPPROVED_CPP + $UNAPPROVED_FORMAT + $UNAPPROVED_PYTHON))
if [ "0" -eq "${UNAPPROVED}" ]; then
echo "No unnaproved licenses"
else
echo "${UNAPPROVED} unapporved licences. Check rat report: rat_*.txt"
exit
fi
# sign the archive
gpg --armor --output ${tarball}.asc --detach-sig $tarball
gpg --print-md MD5 $tarball > ${tarball}.md5
shasum $tarball > ${tarball}.sha
# check out the parquet RC folder
# check out the arrow RC folder
svn co --depth=empty https://dist.apache.org/repos/dist/dev/arrow tmp
# add the release candidate for the tag
+11 -1
View File
@@ -3,6 +3,9 @@ requirements:
- a gpg key to sign the artifacts
to 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-SNAPSHOT
dev/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.sh
dev/release/02-source.sh 0.1.0 0
useful commands:
to set the mvn version in the poms
- to set the mvn version in the poms
mvn 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.0
+17
View File
@@ -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;
+13
View File
@@ -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 guidelines
An 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:
+14
View File
@@ -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 format
+14
View File
@@ -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 / Terminology
+17
View File
@@ -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 {
+14
View File
@@ -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 headers
This is documentation for the Arrow metadata specification, which enables
+15 -1
View File
@@ -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 form
that can be precisely disassembled or reconstructed.
[1]: http://github.com/google/flatbuffers
[1]: http://github.com/google/flatbuffers