more licenses

This commit is contained in:
Julien Le Dem committed 2016-10-05 15:29:46 -07:00
1 parent bcfc75f706
commit 30b0fa1ac7
7 files changed
+92 -27

No files matched your search

+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.
-->
## Apache Arrow
<table>
@@ -42,4 +56,4 @@ integrations in other projects, we'd be happy to have you involved:
[1]: mailto:dev-subscribe@arrow.apache.org
[2]: https://github.com/apache/arrow/tree/master/format
[3]: https://issues.apache.org/jira/browse/ARROW
[3]: https://issues.apache.org/jira/browse/ARROW
+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 C++
## Setup Build Environment
+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.
-->
## Using Arrow's HDFS (Apache Hadoop Distributed File System) interface
### Build requirements
@@ -36,4 +50,4 @@ will set it automatically for you:
```shell
export JAVA_HOME=$(/usr/libexec/java_home)
```
```
+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.
-->
## Building Arrow-Parquet integration
To use Arrow C++ with Parquet, you must first build the Arrow C++ libraries and
@@ -16,4 +30,4 @@ make -j4
make install
```
[1]: https://github.com/apache/parquet-cpp
[1]: https://github.com/apache/parquet-cpp
+5 -24
View File
@@ -57,44 +57,25 @@ tarball=$tag.tar.gz
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
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 cpp/src \
$RAT $tarball \
-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`
$RAT 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`
$RAT 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`
$RAT ci \
-e ".*" \
../apache-arrow-0.1.0.tar.gz > rat_ci.txt
UNAPPROVED_CI=`cat rat_ci.txt | grep "Unknown Licenses" | head -n 1 | cut -d " " -f 1`
UNAPPROVED=$(($UNAPPROVED_CPP + $UNAPPROVED_FORMAT + $UNAPPROVED_PYTHON + $UNAPPROVED_CI))
> 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} unapporved licences. Check rat report: rat_*.txt"
echo "${UNAPPROVED} unapporved licences. Check rat report: rat.txt"
exit
fi
+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 Java
## Setup Build Environment
+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.
-->
## Python library for Apache Arrow
This library provides a Pythonic API wrapper for the reference Arrow C++