diff --git a/docs/appendices/0.30.0-migration-guide.md b/docs/appendices/0.30.0-migration-guide.md index 2944c4c14..00678862b 100644 --- a/docs/appendices/0.30.0-migration-guide.md +++ b/docs/appendices/0.30.0-migration-guide.md @@ -10,3 +10,8 @@ - `post-release-dockerfile` - `post-release-pack` - The ability to call `logs:failed` without specifying an app or `--all` flag has been removed. This was deprecated in 0.22.0. Please see the [logs:failed](/docs/deployment/logs.md#failed-deploy-logs). +- The following app shell functions - deprecated since 0.20.0 - have been removed in favor of their plugin trigger equivalents. Sourcing the `app/functions` file will fail going forward. + - `apps#apps_create()` is removed in favor of `plugn trigger app-create`. + - `apps#apps_destroy()` is removed in favor of `plugn trigger app-destroy`. + - `apps#apps_exists()` is removed in favor of `plugn trigger app-exists`. + - `apps#apps_maybe_create()` is removed in favor of `plugn trigger app-maybe-create`. diff --git a/plugins/apps/functions b/plugins/apps/functions deleted file mode 100755 index 0865982f8..000000000 --- a/plugins/apps/functions +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash -set -eo pipefail -[[ $DOKKU_TRACE ]] && set -x -source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" -source "$PLUGIN_AVAILABLE_PATH/config/functions" - -apps_create() { - declare desc="verifies app name and creates an app" - declare APP="$1" - declare deprecated=true - - dokku_log_warn "Deprecated: plugn#app-create" - plugn trigger app-create "$APP" -} - -apps_destroy() { - declare desc="destroys an app" - declare APP="$1" - declare deprecated=true - - dokku_log_warn "Deprecated: plugn#app-destroy" - plugn trigger app-destroy "$APP" -} - -apps_exists() { - declare desc="checks if an app exists" - declare APP="$1" - declare deprecated=true - - dokku_log_warn "Deprecated: plugn#app-exists" - plugn trigger app-exists "$APP" -} - -apps_maybe_create() { - declare desc="creates an app dir if allowed" - declare APP="$1" - declare deprecated=true - - dokku_log_warn "Deprecated: plugn#app-maybe-create" - plugn trigger app-maybe-create "$APP" -} diff --git a/plugins/git/functions b/plugins/git/functions index 6d402d0db..c626a53fc 100755 --- a/plugins/git/functions +++ b/plugins/git/functions @@ -1,7 +1,6 @@ #!/usr/bin/env bash source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions" -source "$PLUGIN_AVAILABLE_PATH/apps/functions" source "$PLUGIN_AVAILABLE_PATH/config/functions" source "$PLUGIN_AVAILABLE_PATH/git/internal-functions" set -eo pipefail