Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 6437485

Browse files
authored
Merge pull request #19 from wplib/0.16.0
0.16.0
2 parents 3e81702 + c70c92b commit 6437485

Some content is hidden

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

91 files changed

+1006
-835
lines changed

bin/composer-1.4

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/composer-1.5

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/wp-1.0

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/wp-1.1

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/wp-1.2

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/wp-1.3

Lines changed: 0 additions & 1 deletion
This file was deleted.

bin/wp-1.4

Lines changed: 0 additions & 1 deletion
This file was deleted.

box

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
source /opt/box/includes/functions
77
source /opt/box/includes/constants
8+
source "${WPLIB_BOX_COLORS_FILE}"
89

910
#
1011
#
@@ -26,7 +27,7 @@ if [ "" == "${error}" ];then
2627

2728
if [ "${WPLIB_BOX_COMMAND}" == "help" ]; then
2829
source "${command_file}"
29-
check_updates_available "$*"
30+
#check_updates_available "$*"
3031
echo 1>&2
3132
exit
3233
fi

commands/container

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
DEFAULT_PROJECT="wplib"
1111

12-
source "${WPLIB_BOX_COLORS_FILE}"
13-
1412
# Return codes from functions.
1513
RETURN_OK="0"
1614
RETURN_NO_IMAGE_NAME="1"
@@ -122,8 +120,8 @@ error_car()
122120
error_cas()
123121
{
124122
RETURN="$?"
125-
echo "$ECHO_PREFIX ${YELLOW}Warning ${CYAN}${IMAGE}${YELLOW} container already stopped.${RESET}"
126-
echo "Look for possible fixes here: ${CYAN}http://wplib.github.io/wplib-box/errors/W018/${RESET}"
123+
echo "$ECHO_PREFIX ${CYAN}${IMAGE}${GREEN} container already stopped.${RESET}"
124+
# echo "Look for possible fixes here: ${CYAN}http://wplib.github.io/wplib-box/errors/W018/${RESET}"
127125
return $RETURN
128126
}
129127

commands/database

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
DEFAULT_PROJECT="wplib"
99

1010
DB_HOST_IP="172.42.0.1"
11-
source "${WPLIB_BOX_COLORS_FILE}"
12-
source "${WPLIB_BOX_COMMANDS_DIR}/readJSON"
11+
source "${WPLIB_BOX_INCLUDES_DIR}/read-json"
1312

1413
trap ctrl_c INT
1514

@@ -167,9 +166,6 @@ function database_import() {
167166
output "Dropping any prior tables"
168167

169168
if [ ! $(has_arg --dryrun) ]; then
170-
#
171-
# @TODO: Switch this to using Docker
172-
#
173169
box container exec ${database} mysql -h ${DB_HOST_IP} -u wordpress -pwordpress -Nse "show tables;" wordpress 2>&1 | grep -v "Warning:" > /tmp/mysql-table-list.txt
174170
cat /tmp/mysql-table-list.txt | while read table
175171
do

0 commit comments

Comments
 (0)