From b967f5c17a04d6a01c234427b3b5c9b49dff6ca5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 29 Feb 2020 01:49:56 -0500 Subject: [PATCH] release: add tips for when to push prod changes Change-Id: Iabfdd322acbc60ee16e5222ecdb261cd3a3c2cf9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/257332 Tested-by: Mike Frysinger Reviewed-by: David Pursehouse --- release/sign-tag.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/release/sign-tag.py b/release/sign-tag.py index 7b4b4cab..09f89187 100755 --- a/release/sign-tag.py +++ b/release/sign-tag.py @@ -15,7 +15,14 @@ """Helper tool for signing repo release tags correctly. -This is intended to be run only by the official Repo release managers. +This is intended to be run only by the official Repo release managers, but it +could be run by people maintaining their own fork of the project. + +NB: Avoid new releases on off-hours. If something goes wrong, staff/oncall need +to be active in order to respond quickly & effectively. Recommend sticking to: +* Mon - Thu, 9:00 - 14:00 PT (i.e. MTV time) +* Avoid US holidays (and large international ones if possible) +* Follow the normal Google production freeze schedule """ import argparse @@ -86,7 +93,9 @@ To roll back a release: def get_parser(): """Get a CLI parser.""" - parser = argparse.ArgumentParser(description=__doc__) + parser = argparse.ArgumentParser( + description=__doc__, + formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument('-n', '--dry-run', dest='dryrun', action='store_true', help='show everything that would be done')