Skip to content

Commit 87f29f6

Browse files
committed
chore: Make output more consistent
1 parent baa7f56 commit 87f29f6

9 files changed

+13
-17
lines changed

druid/upload_new_druid_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ cd "$WORK_DIR" || exit
3838

3939
src_file="apache-druid-${VERSION}-src.tar.gz"
4040

41-
echo "Downloading Druid (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+
echo "Downloading Druid source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/${VERSION}/${src_file}"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/${VERSION}/${src_file}.asc"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/${VERSION}/${src_file}.sha512"

hadoop/upload_new_hadoop_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ cd "$WORK_DIR" || exit
3939
bin_file=hadoop-$VERSION.tar.gz
4040
src_file=hadoop-$VERSION-src.tar.gz
4141

42-
echo "Downloading Hadoop (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
42+
echo "Downloading Hadoop binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hadoop-$VERSION/$bin_file"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hadoop-$VERSION/$bin_file.asc"
4545
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hadoop-$VERSION/$bin_file.sha512"
4646

47+
echo "Downloading Hadoop source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4748
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hadoop-$VERSION/$src_file"
4849
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hadoop-$VERSION/$src_file.asc"
4950
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hadoop-$VERSION/$src_file.sha512"
5051

51-
5252
# It is probably redundant to check both the checksum and the signature but it's cheap and why not
5353
echo "Validating SHA512 Checksums"
5454
if ! (sha512sum --tag "$bin_file" | diff - "$bin_file.sha512" && sha512sum --tag "$src_file" | diff - "$src_file.sha512"); then

hbase/upload_new_hbase-operator-tools_version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ cd "$WORK_DIR" || exit
3838

3939
src_file=hbase-operator-tools-$VERSION-src.tar.gz
4040

41-
echo "Downloading hbase-operator-tools (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+
echo "Downloading hbase-operator-tools source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hbase-operator-tools-$VERSION/$src_file"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hbase-operator-tools-$VERSION/$src_file.asc"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hbase-operator-tools-$VERSION/$src_file.sha512"
4545

46-
4746
# It is probably redundant to check both the checksum and the signature but it's cheap and why not
4847
echo "Validating SHA512 Checksums"
4948
if ! (gpg --print-md SHA512 "$src_file" | diff - "$src_file.sha512"); then

hbase/upload_new_phoenix_version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ cd "$WORK_DIR" || exit
3838

3939
src_file=phoenix-$VERSION-src.tar.gz
4040

41-
echo "Downloading phoenix (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+
echo "Downloading phoenix source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/phoenix-$VERSION/$src_file"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/phoenix-$VERSION/$src_file.asc"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/phoenix-$VERSION/$src_file.sha512"
4545

46-
4746
# It is probably redundant to check both the checksum and the signature but it's cheap and why not
4847
echo "Validating SHA512 Checksums"
4948
if ! (gpg --print-md SHA512 "$src_file" | diff - "$src_file.sha512"); then

hive/upload_new_hive_version.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,16 @@ cd "$WORK_DIR" || exit
3939
bin_file="apache-hive-${VERSION}-bin.tar.gz"
4040
src_file="apache-hive-$VERSION-src.tar.gz"
4141

42-
echo "Downloading Hive Binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
42+
echo "Downloading Hive binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hive-${VERSION}/${bin_file}"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hive-${VERSION}/${bin_file}.asc"
4545
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hive-${VERSION}/${bin_file}.sha256"
4646

47-
echo "Downloading Hive Source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
47+
echo "Downloading Hive source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4848
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hive-${VERSION}/${src_file}"
4949
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hive-${VERSION}/${src_file}.asc"
5050
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/hive-${VERSION}/${src_file}.sha256"
5151

52-
5352
# It is probably redundant to check both the checksum and the signature but it's cheap and why not
5453
echo "Validating SHA256 Checksums"
5554
if ! (sha256sum "${bin_file}" | diff - "${bin_file}.sha256" && sha256sum "${src_file}" | diff - "${src_file}.sha256"); then

kafka/upload_new_kafka_version.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ cd "$WORK_DIR" || exit
3939
bin_file=kafka_2.13-$VERSION.tgz
4040
src_file=kafka-$VERSION-src.tgz
4141

42-
echo "Downloading Kafka (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
42+
echo "Downloading Kafka binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/$VERSION/$bin_file"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/$VERSION/$bin_file.asc"
4545
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/$VERSION/$bin_file.sha512"
4646

47+
echo "Downloading Kafka source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4748
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/$VERSION/$src_file"
4849
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/$VERSION/$src_file.asc"
4950
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/$VERSION/$src_file.sha512"

omid/upload_new_omid_version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,11 @@ trap cleanup EXIT
3737
cd "$WORK_DIR" || exit
3838
src_file=phoenix-omid-$VERSION-src.tar.gz
3939

40-
echo "Downloading Omid (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
40+
echo "Downloading Omid source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4141
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/phoenix-omid-${VERSION}/${src_file}"
4242
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/phoenix-omid-$VERSION/$src_file.asc"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/phoenix-omid-$VERSION/$src_file.sha512"
4444

45-
4645
# It is probably redundant to check both the checksum and the signature but it's cheap and why not
4746
echo "Validating SHA512 Checksums"
4847
if ! (gpg --print-md SHA512 "$src_file" | diff - "$src_file.sha512"); then

spark-k8s/upload_new_spark_version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ cd "$WORK_DIR" || exit
3838

3939
src_file="spark-${VERSION}.tgz"
4040

41-
echo "Downloading Spark (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+
echo "Downloading Spark source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/spark-${VERSION}/${src_file}"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/spark-${VERSION}/${src_file}.asc"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/spark-${VERSION}/${src_file}.sha512"

zookeeper/upload_new_zookeeper_version.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,16 @@ cd "$WORK_DIR" || exit
3939
bin_file=apache-zookeeper-$VERSION-bin.tar.gz
4040
src_file=apache-zookeeper-$VERSION.tar.gz
4141

42-
echo "Downloading ZooKeeper (this can take a while, it is intentionally downloading from a slow mirror that contains all old versions)"
42+
echo "Downloading ZooKeeper binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/zookeeper-$VERSION/$bin_file"
4444
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/zookeeper-$VERSION/$bin_file.asc"
4545
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/zookeeper-$VERSION/$bin_file.sha512"
4646

47-
echo "Downloading ZooKeeper sources (this can take a while, it is intentionally downloading from a slow mirror that contains all old versions)"
47+
echo "Downloading ZooKeeper source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4848
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/zookeeper-$VERSION/$src_file"
4949
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/zookeeper-$VERSION/$src_file.asc"
5050
curl --fail -LO --progress-bar "${BASE_DOWNLOAD_URL}/zookeeper-$VERSION/$src_file.sha512"
5151

52-
5352
# It is probably redundant to check both the checksum and the signature but it's cheap and why not
5453
echo "Validating SHA512 Checksums for binary releases"
5554
if ! (sha512sum "$bin_file" | diff -Z - "$bin_file.sha512"); then

0 commit comments

Comments
 (0)