From 0e1612cda16ddad3fa537351b8ef23a4912367d0 Mon Sep 17 00:00:00 2001 From: David Steele Date: Thu, 31 Dec 2020 12:29:11 -0500 Subject: [PATCH] Remove explicit command lists where they equal the default. This reduces noise in the file and new commands will automatically get these options. --- build/lib/pgBackRestBuild/Config/Data.pm | 105 ----------------------- 1 file changed, 105 deletions(-) diff --git a/build/lib/pgBackRestBuild/Config/Data.pm b/build/lib/pgBackRestBuild/Config/Data.pm index 404c26383..34865d8d4 100644 --- a/build/lib/pgBackRestBuild/Config/Data.pm +++ b/build/lib/pgBackRestBuild/Config/Data.pm @@ -766,27 +766,6 @@ my %hConfigDefine = &CFGDEF_TYPE => CFGDEF_TYPE_STRING, &CFGDEF_DEFAULT => CFGDEF_DEFAULT_CONFIG, &CFGDEF_NEGATE => true, - &CFGDEF_COMMAND => - { - &CFGCMD_ARCHIVE_GET => {}, - &CFGCMD_ARCHIVE_PUSH => {}, - &CFGCMD_BACKUP => {}, - &CFGCMD_CHECK => {}, - &CFGCMD_EXPIRE => {}, - &CFGCMD_INFO => {}, - &CFGCMD_REPO_CREATE => {}, - &CFGCMD_REPO_GET => {}, - &CFGCMD_REPO_LS => {}, - &CFGCMD_REPO_PUT => {}, - &CFGCMD_REPO_RM => {}, - &CFGCMD_RESTORE => {}, - &CFGCMD_STANZA_CREATE => {}, - &CFGCMD_STANZA_DELETE => {}, - &CFGCMD_STANZA_UPGRADE => {}, - &CFGCMD_START => {}, - &CFGCMD_STOP => {}, - &CFGCMD_VERIFY => {}, - } }, &CFGOPT_CONFIG_INCLUDE_PATH => @@ -1640,27 +1619,6 @@ my %hConfigDefine = &CFGDEF_SECTION => CFGDEF_SECTION_GLOBAL, &CFGDEF_TYPE => CFGDEF_TYPE_PATH, &CFGDEF_DEFAULT => '/var/log/' . PROJECT_EXE, - &CFGDEF_COMMAND => - { - &CFGCMD_ARCHIVE_GET => {}, - &CFGCMD_ARCHIVE_PUSH => {}, - &CFGCMD_BACKUP => {}, - &CFGCMD_CHECK => {}, - &CFGCMD_EXPIRE => {}, - &CFGCMD_INFO => {}, - &CFGCMD_REPO_CREATE => {}, - &CFGCMD_REPO_GET => {}, - &CFGCMD_REPO_LS => {}, - &CFGCMD_REPO_PUT => {}, - &CFGCMD_REPO_RM => {}, - &CFGCMD_RESTORE => {}, - &CFGCMD_STANZA_CREATE => {}, - &CFGCMD_STANZA_DELETE => {}, - &CFGCMD_STANZA_UPGRADE => {}, - &CFGCMD_START => {}, - &CFGCMD_STOP => {}, - &CFGCMD_VERIFY => {}, - }, }, &CFGOPT_PROTOCOL_TIMEOUT => @@ -2428,27 +2386,6 @@ my %hConfigDefine = lc(DEBUG), lc(TRACE), ], - &CFGDEF_COMMAND => - { - &CFGCMD_ARCHIVE_GET => {}, - &CFGCMD_ARCHIVE_PUSH => {}, - &CFGCMD_BACKUP => {}, - &CFGCMD_CHECK => {}, - &CFGCMD_EXPIRE => {}, - &CFGCMD_INFO => {}, - &CFGCMD_REPO_CREATE => {}, - &CFGCMD_REPO_GET => {}, - &CFGCMD_REPO_LS => {}, - &CFGCMD_REPO_PUT => {}, - &CFGCMD_REPO_RM => {}, - &CFGCMD_RESTORE => {}, - &CFGCMD_STANZA_CREATE => {}, - &CFGCMD_STANZA_DELETE => {}, - &CFGCMD_STANZA_UPGRADE => {}, - &CFGCMD_START => {}, - &CFGCMD_STOP => {}, - &CFGCMD_VERIFY => {}, - } }, &CFGOPT_LOG_LEVEL_FILE => @@ -2457,27 +2394,6 @@ my %hConfigDefine = &CFGDEF_TYPE => CFGDEF_TYPE_STRING, &CFGDEF_DEFAULT => lc(INFO), &CFGDEF_ALLOW_LIST => CFGOPT_LOG_LEVEL_CONSOLE, - &CFGDEF_COMMAND => - { - &CFGCMD_ARCHIVE_GET => {}, - &CFGCMD_ARCHIVE_PUSH => {}, - &CFGCMD_BACKUP => {}, - &CFGCMD_CHECK => {}, - &CFGCMD_EXPIRE => {}, - &CFGCMD_INFO => {}, - &CFGCMD_REPO_CREATE => {}, - &CFGCMD_REPO_GET => {}, - &CFGCMD_REPO_LS => {}, - &CFGCMD_REPO_PUT => {}, - &CFGCMD_REPO_RM => {}, - &CFGCMD_RESTORE => {}, - &CFGCMD_STANZA_CREATE => {}, - &CFGCMD_STANZA_DELETE => {}, - &CFGCMD_STANZA_UPGRADE => {}, - &CFGCMD_START => {}, - &CFGCMD_STOP => {}, - &CFGCMD_VERIFY => {}, - } }, &CFGOPT_LOG_LEVEL_STDERR => @@ -2486,27 +2402,6 @@ my %hConfigDefine = &CFGDEF_TYPE => CFGDEF_TYPE_STRING, &CFGDEF_DEFAULT => lc(WARN), &CFGDEF_ALLOW_LIST => CFGOPT_LOG_LEVEL_CONSOLE, - &CFGDEF_COMMAND => - { - &CFGCMD_ARCHIVE_GET => {}, - &CFGCMD_ARCHIVE_PUSH => {}, - &CFGCMD_BACKUP => {}, - &CFGCMD_CHECK => {}, - &CFGCMD_EXPIRE => {}, - &CFGCMD_INFO => {}, - &CFGCMD_REPO_CREATE => {}, - &CFGCMD_REPO_GET => {}, - &CFGCMD_REPO_LS => {}, - &CFGCMD_REPO_PUT => {}, - &CFGCMD_REPO_RM => {}, - &CFGCMD_RESTORE => {}, - &CFGCMD_STANZA_CREATE => {}, - &CFGCMD_STANZA_DELETE => {}, - &CFGCMD_STANZA_UPGRADE => {}, - &CFGCMD_START => {}, - &CFGCMD_STOP => {}, - &CFGCMD_VERIFY => {}, - } }, &CFGOPT_LOG_SUBPROCESS =>