1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-10-23 21:28:56 +03:00

Make the repo-format and repo-cipher-rotate options internal.

Repository format 6 and archive key rotation are not complete enough to release. Internal options are left out of the documentation and help but are still accepted, which allows format 6 to be tested with this release.
This commit is contained in:
David Steele
2026-10-07 13:58:08 +02:00
parent 1d217e6263
commit 269764c5b7
3 changed files with 5 additions and 0 deletions

View File

@@ -1708,6 +1708,7 @@ option:
repo-format:
group: repo
type: integer
internal: true
default: 5
allow-list:
- 5
@@ -1747,6 +1748,7 @@ option:
section: global
group: repo
type: time
internal: true
default: 90d
allow-range: [15d, 9999999d]
command:

View File

@@ -142,6 +142,7 @@
<commit subject="Add archive key rotation for repository format 6.">
<github-pull-request id="2864"/>
</commit>
<commit subject="Make the repo-format and repo-cipher-rotate options internal."/>
<release-item-contributor-list>
<release-item-contributor id="david.steele"/>

View File

@@ -6002,6 +6002,7 @@ static const ParseRuleOption parseRuleOption[CFG_OPTION_TOTAL] =
( // opt/repo-cipher-rotate
PARSE_RULE_OPTION_NAME("repo-cipher-rotate"), // opt/repo-cipher-rotate
PARSE_RULE_OPTION_TYPE(Time), // opt/repo-cipher-rotate
PARSE_RULE_OPTION_INTERNAL(true) // opt/repo-cipher-rotate
PARSE_RULE_OPTION_RESET(true), // opt/repo-cipher-rotate
PARSE_RULE_OPTION_REQUIRED(true), // opt/repo-cipher-rotate
PARSE_RULE_OPTION_SECTION(Global), // opt/repo-cipher-rotate
@@ -6124,6 +6125,7 @@ static const ParseRuleOption parseRuleOption[CFG_OPTION_TOTAL] =
( // opt/repo-format
PARSE_RULE_OPTION_NAME("repo-format"), // opt/repo-format
PARSE_RULE_OPTION_TYPE(Integer), // opt/repo-format
PARSE_RULE_OPTION_INTERNAL(true) // opt/repo-format
PARSE_RULE_OPTION_REQUIRED(true), // opt/repo-format
PARSE_RULE_OPTION_SECTION(CommandLine), // opt/repo-format
PARSE_RULE_OPTION_GROUP_ID(Repo), // opt/repo-format