Mercurial > p > roundup > code
changeset 8368:20943bf4f1b7
build - fix issue with secret_key substitution in tracker config.
The build system replaces the tracker config's etag key with a static
value to prevent churn every time the config is built.
The replacement wasn't working because of a missing character in the regexp.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 11 Jul 2025 22:24:51 -0400 |
| parents | 1482729ba16d |
| children | b0539a19ca65 |
| files | doc/format_config.awk |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/format_config.awk Fri Jul 11 22:22:08 2025 -0400 +++ b/doc/format_config.awk Fri Jul 11 22:24:51 2025 -0400 @@ -6,8 +6,8 @@ # To prevent new file generation from causing the secret_key to # change, we replace the secret key with a fixed value. -/^# Default: [0-9A-z+=]{44}/ {sub(/[0-9A-z+=]{44}/, SECRET_KEY)} -/^secret_key = [0-9A-z+=]{44}/ {sub(/[0-9A-z+=]{44}/, SECRET_KEY)} +/^# Default: [0-9A-z+=/]{44}/ {sub(/[0-9A-z+=/]{44}/, SECRET_KEY)} +/^secret_key = [0-9A-z+=/]{44}/ {sub(/[0-9A-Za-z+=/]{44}/, SECRET_KEY)} # When we see a section [label]: # emit section index marker,
