Skip to content

Commit deca4eb

Browse files
authored
Merge pull request #34 from danfuzz/under-init
`_init`
2 parents f8cd69a + 9246869 commit deca4eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+97
-97
lines changed

upstream-deps/bashy-lib/scripts/lib/init.sh renamed to scripts/lib/_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Main library initialization file.
66
#
77

8-
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/bashy-core/init.sh" \
8+
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/bashy-core/_init.sh" \
99
|| return "$?"
1010

1111
# Indicate that the base directory of this project is two layers up from this

scripts/lib/bashy-basics/init.sh renamed to scripts/lib/bashy-basics/_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
# Boilerplate init file.
66
#
77

8-
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../init.sh" \
8+
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../_init.sh" \
99
|| return "$?"

scripts/lib/bashy-basics/_prereqs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Prerequisite checks for this sublibrary.
88
#
99

10-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
10+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
1111

1212
jqVersion="$(jq 2>/dev/null --version)" \
1313
|| {

scripts/lib/bashy-basics/json-array

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-basics/json-get

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-basics/json-length

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-basics/json-val

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-basics/rsync-local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-core/_default-run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

upstream-deps/bashy-lib/scripts/lib/bashy-core/init.sh renamed to scripts/lib/bashy-core/_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
#
5-
# Main initialization for Bashy-lib.
5+
# Main entrypoint for Bashy-lib.
66
#
77

88

scripts/lib/bashy-core/helpy/init.sh renamed to scripts/lib/bashy-core/helpy/_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
# Boilerplate init file.
66
#
77

8-
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../init.sh" \
8+
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../_init.sh" \
99
|| return "$?"

scripts/lib/bashy-core/helpy/print-all-commands

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-core/helpy/print-subcommands

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/bashy-core/helpy/print-usage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Bashy-lib Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/_aws_ec2_create-security-group

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# as an example of how the special handler mechanism works, just in case it's
1010
# needed for some other reason.
1111

12-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
12+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
1313

1414

1515
#

scripts/lib/milky-cloud/init.sh renamed to scripts/lib/milky-cloud/_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
# Boilerplate init file.
66
#
77

8-
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../init.sh" \
8+
. "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")/../_init.sh" \
99
|| return "$?"

scripts/lib/milky-cloud/_prereqs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Prerequisite checks for this sublibrary.
88
#
99

10-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
10+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
1111

1212
jqVersion="$(jq 2>/dev/null --version)" \
1313
|| {

scripts/lib/milky-cloud/add-internet-gateway

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/add-ip-security-group-rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/add-subnets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/aws-identity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/aws-json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/certbot-get-certificate

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/cidr-calc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/configure-security-group

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/control-instance

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/delete-internet-gateway

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/delete-security-group-rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/delete-subnets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/extract-public-key

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/filter-spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/find-ami

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/find-dns-zone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/find-instance

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/find-security-group

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/find-vpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/find-vpc-subnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/generate-private-key

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/ip-permission-spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/list-availability-zones

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/make-instance

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/make-security-group

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/make-vpc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/now-stamp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

scripts/lib/milky-cloud/parse-location

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2022-2023 the Milky-cloud Authors (Dan Bornstein et alia).
44
# SPDX-License-Identifier: Apache-2.0
55

6-
. "$(dirname "$(readlink -f "$0")")/init.sh" || exit "$?"
6+
. "$(dirname "$(readlink -f "$0")")/_init.sh" || exit "$?"
77

88

99
#

0 commit comments

Comments
 (0)