From 3c2782c714dcb2a8b1c5aa6c356ca4d38e43a3f4 Mon Sep 17 00:00:00 2001 From: Erik Martin-Dorel Date: Mon, 15 Jul 2024 17:49:02 +0200 Subject: [PATCH] fix: Improve two details * Add `date -u -R` in propagate job * Fix `./keeper.py generate-config --help` --- VERSION | 2 +- gitlab_functions.sh | 1 + keeper.py | 16 ++++++++++------ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index f25c43c..c70613a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.13 +0.10.14 diff --git a/gitlab_functions.sh b/gitlab_functions.sh index 3276391..da022ac 100755 --- a/gitlab_functions.sh +++ b/gitlab_functions.sh @@ -47,6 +47,7 @@ dk_curl() { local gitlab_project="$4" local cron_mode="$5" local item="$6" + date -u -R if [ -n "$gitlab_token" ]; then echo >&2 "For child repo $slug:" if [ -z "$item" ]; then diff --git a/keeper.py b/keeper.py index c24cb11..c3832ac 100755 --- a/keeper.py +++ b/keeper.py @@ -1407,13 +1407,17 @@ def main(argv): # generate-config help_generate_config = """ Print a GitLab CI YAML config to standard output. - This requires files: {generated/build_data_chosen.json, - generated/remote_tags_to_rm.json}""" + This requires files: + - generated/build_data_chosen.json + - generated/remote_tags_to_rm.json + - generated/propagate.json""" parser_generate_config = \ - subparsers.add_parser('generate-config', - # no parents parser - help=help_generate_config, - description=help_generate_config) + subparsers.add_parser( + 'generate-config', + # no parents parser + help=help_generate_config, + description=help_generate_config, + formatter_class=argparse.RawDescriptionHelpFormatter) parser_generate_config.set_defaults(func=main_generate_config) # write-artifacts