This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #127: [HIVEMALL-2] Change Maven release scheme for ASF release
- Loading branch information
Showing
58 changed files
with
1,213 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ spark/bin/zinc-* | |
.project | ||
metastore_db | ||
.java-version | ||
*.bak | ||
release.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Dotfiles | ||
.*/** | ||
**/.* | ||
**/.*/** | ||
|
||
**/*.txt | ||
**/*.csv | ||
**/*.tsv | ||
**/*.css | ||
**/*.svg | ||
**/*.avro | ||
**/*.seq | ||
**/*.json | ||
|
||
# eclipse | ||
**/*.prefs | ||
|
||
VERSION | ||
**/target/** | ||
**/META-INF/** | ||
|
||
# hivemall specific entries | ||
conf/MIXSERV_LIST | ||
resources/eclipse-style.xml | ||
**/*.hive | ||
**/*.spark | ||
**/*.hql | ||
docs/gitbook/_book/** | ||
docs/gitbook/node_modules/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
This file contains the PGP keys of various developers. | ||
Please don't use them for email unless you have to. Their main purpose is code signing. | ||
|
||
Users: | ||
pgp < KEYS | ||
gpg --import KEYS | ||
|
||
Developers: | ||
pgp -kxa <your name> # and append to KEYS (this file) | ||
(pgpk -ll <your name> && pgpk -xa <your name>) >> KEYS | ||
(gpg --list-sigs <your name> && gpg --armor --export <your name>) >> KEYS | ||
|
||
---- | ||
pub rsa4096 2017-11-01 [SC] | ||
7A6BA1A10CC6ABF47159152193F4D08DC8CE801B | ||
uid [ultimate] Makoto Yui (CODE SIGNING KEY) <myui@apache.org> | ||
sig 3 93F4D08DC8CE801B 2017-11-01 Makoto Yui (CODE SIGNING KEY) <myui@apache.org> | ||
sub rsa4096 2017-11-01 [E] | ||
sig 93F4D08DC8CE801B 2017-11-01 Makoto Yui (CODE SIGNING KEY) <myui@apache.org> | ||
|
||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
|
||
mQINBFn5ekEBEADOXvJr0Xshsus+AFEEaKJqw/4Vr+aHsn8a+QjMyQYtWrEt6mOD | ||
ekwzIOLYC4LNNuxge8umLuZqnJrEtwwIlB5eBTjD+TVoAfqSW6oEq0hnCIb9Oecu | ||
hHwsrpW+vfX7LPLT7wYlDZqnL+Fd9oCYnWlnlnKxJL/DIGRJu6+L9yUPAH0Oq1YG | ||
d1oE5OmhrbZG2lrva3Ch81cFQ1FDSSpB1qwbT7g0zDcbfsoxBqz1kA+jdEb5KOmO | ||
Tzme1MPlaVjGusWUovy41LvfKQJRVeeLaDvzo/yuNicnePHH/wIIv9lABPL7yzEW | ||
ji7obKQVkqs/kAWVdCcG6g8fStlg40ysoMEgEM2BqI+cggU6qtDkojoM0qP++3NP | ||
cInvLOMeDRcTTwGBKnpwbN1ihFMT1Iqd2l7/MPFO5FndjEBu3Un1RCMshfHLwBUX | ||
AN1NWfLyTo6/cOCC61hgPdMFVb9x9lDta6bWLjikfqU4q4WqS/k6oCKOt70o7THt | ||
Al2Z3wl4Cmp+43Dc7tL1GcubCZCk4tWtHp+d1uXSfcUuqgY+k0vD37f4Jpce8ZHU | ||
V0pRjpKcbecoEXh+JSrxnzGIORBHXIKUHutq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pJ0NGJvT00vS7Zz3wmpfIOOMZEvYZ0U6mWds318L/uvsMs03Ru4FEP | ||
PPJIJSf4Cb+YCSZY9maKJ3YxQim82Gv5G6F3pwhaX42IqtMZ30yBFlOEmQp+5u6N | ||
ZTENzVxrznQWq50WOP7FKEOTMhdolldXa6A4Fy61Z7dROXut/2iZ8J7lNsg9V1+r | ||
CxRczlFCoxJ9E1+YY5xrdANxlBx/ukqk5CdElrUjZH7Wmnn5CBOw6B/z1ExcPjFP | ||
tWQ6/C2pTmUPveQUKCBbTYTC45mWfysEkDtQnBnn+W5uQRagiAQOMfdPih5pg6j3 | ||
4MpergMLYWtU95ylfAKDiQqXfs9IXZj+k6E2E6R4pkJEUGXI0tPWZiYOSb7/foJo | ||
njFvxzTmNvLEvRA= | ||
=hdfh | ||
-----END PGP PUBLIC KEY BLOCK----- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#!/bin/bash | ||
# | ||
# 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. | ||
# | ||
|
||
if [ "$HIVEMALL_HOME" = "" ]; then | ||
if [ -e ../bin/${0##*/} ]; then | ||
HIVEMALL_HOME=".." | ||
elif [ -e ./bin/${0##*/} ]; then | ||
HIVEMALL_HOME="." | ||
else | ||
echo "env HIVEMALL_HOME not defined" | ||
exit 1 | ||
fi | ||
fi | ||
|
||
cd $HIVEMALL_HOME | ||
|
||
function yes_or_no() { | ||
while true; do | ||
echo "Type [Y/N]" | ||
echo -n ">>" | ||
read answer | ||
|
||
case $answer in | ||
[yY]) | ||
return 0 | ||
;; | ||
[nN]) | ||
return 1 | ||
;; | ||
esac | ||
done | ||
} | ||
|
||
old_version=`cat VERSION` | ||
echo "Current version number is ${old_version}" | ||
echo | ||
|
||
echo "This script will update the version string of Hivemall." | ||
echo | ||
echo "Please input a version string (e.g., 0.4.3-rc.2)" | ||
echo -n ">>" | ||
read new_version | ||
|
||
echo | ||
echo "--------------------------------------------------------------------------" | ||
echo "[Here are the list of files to update]" | ||
echo | ||
find . -type f \( -name 'VERSION' -o -name 'pom.xml' -o -name 'HivemallConstants.java' -o -name 'HivemallOpsSuite.scala' -o -name 'HiveUdfSuite.scala' \) | xargs grep ${old_version} | ||
echo "--------------------------------------------------------------------------" | ||
echo | ||
|
||
echo "Do you really want to update Hivemall version string from ${old_version} to ${new_version}?" | ||
echo | ||
|
||
yes_or_no | ||
|
||
if [ "$?" -eq 1 ]; then | ||
echo "aborted!" | ||
exit 1 | ||
fi | ||
echo | ||
|
||
echo -n "Updating ..." | ||
find . -type f \( -name 'VERSION' -o -name 'pom.xml' -o -name 'HivemallConstants.java' -o -name 'HivemallOpsSuite.scala' -o -name 'HiveUdfSuite.scala' \) | xargs sed -i '' -e "s/${old_version}/${new_version}/g" | ||
echo "Done!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.