diff --git a/dist/Dockerfile b/dev/Dockerfile similarity index 100% rename from dist/Dockerfile rename to dev/Dockerfile diff --git a/dist/docker-sqitch b/dist/docker-sqitch deleted file mode 100755 index 6f1dc7d2e..000000000 --- a/dist/docker-sqitch +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -user=${USER-$(whoami)} -if [ "Darwin" = $(uname) ]; then - fullname=$(id -P $user | awk -F '[:]' '{print $8}') -else - fullname=$(getent passwd $user | cut -d: -f5 | cut -d, -f1) -fi - -docker run -it \ - --mount "type=bind,src=$(pwd),dst=/repo" \ - --mount "type=bind,src=$HOME,dst=/home" \ - -e "SQITCH_USER=$user" \ - -e "SQITCH_USER_NAME=$fullname" \ - -e "SQITCH_USER_NAME=$user@$(hostname)" \ - -e "TZ=$(date +%Z)" \ - -e "LESS=${LESS:--R}" \ - sqitch $@ diff --git a/lib/App/Sqitch.pm b/lib/App/Sqitch.pm index ff4aafcb2..ad9ce47f9 100644 --- a/lib/App/Sqitch.pm +++ b/lib/App/Sqitch.pm @@ -97,7 +97,7 @@ has user_name => ( require Encode::Locale; return Encode::decode( locale => $name ); }; - }, + } ); has user_email => ( diff --git a/lib/sqitch-environment.pod b/lib/sqitch-environment.pod index 5ffd20d31..51daf1e8e 100644 --- a/lib/sqitch-environment.pod +++ b/lib/sqitch-environment.pod @@ -52,7 +52,7 @@ variable. =item C -Full name of the original user. Intended for use by scripts that run +Full name of the original user. Intended for use by scripts that run Sqitch from another host, where the originating host user's identity should be passed to the execution host, such as L. @@ -61,7 +61,7 @@ C L variable is set. =item C -Email address of the original user. Intended for use by scripts that run +Email address of the original user. Intended for use by scripts that run Sqitch on a separate host, where the originating host user's identity should be passed to the execution host, such as L.