chore: remove deprecated git functions
This commit is contained in:
@@ -19,3 +19,6 @@
|
||||
- `common#is_container_running()` (deprecated since 0.12.6) is removed in favor of `common#is_container_status()`.
|
||||
- `common#is_app_running()` (deprecated since 0.22.0) is removed in favor of `ps#fn-ps-is-app-running()`.
|
||||
- The global `--rm-container` and `--rm` flags - deprecated since 0.25.0 - have been removed.
|
||||
- The following git shell functions hve been removed.
|
||||
- `git#use_git_worktree()` (deprecated since 0.23.7) has been removed. There is no alternative as the function has been made internal.
|
||||
- `git#git_deploy_branch()`(deprecated since 0.21.0) has been removed in favor of `plugn trigger git-deploy-branch`.
|
||||
|
||||
@@ -6,14 +6,6 @@ source "$PLUGIN_AVAILABLE_PATH/git/internal-functions"
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
use_git_worktree() {
|
||||
declare desc="detects whether to use git worktree"
|
||||
declare deprecated=true
|
||||
dokku_log_warn "Deprecated: fn-git-use-worktree"
|
||||
|
||||
fn-git-use-worktree
|
||||
}
|
||||
|
||||
git_build_app_repo() {
|
||||
declare desc="builds local git app repo for app"
|
||||
declare APP="$1" REV="$2"
|
||||
@@ -77,15 +69,6 @@ git_trigger_build() {
|
||||
dokku_receive "$APP" "$BUILDER" "$TMP_WORK_DIR"
|
||||
}
|
||||
|
||||
git_deploy_branch() {
|
||||
declare desc="retrieve the deploy branch for a given application"
|
||||
declare APP="$1"
|
||||
declare deprecated=true
|
||||
dokku_log_warn "Deprecated: plugn#git-deploy-branch"
|
||||
|
||||
fn-git-deploy-branch "$APP"
|
||||
}
|
||||
|
||||
cmd-git-hook() {
|
||||
declare desc="kick off receive-app trigger from git prereceive hook"
|
||||
declare cmd="git-hook"
|
||||
|
||||
Reference in New Issue
Block a user