add hashed option

This commit is contained in:
Louis Abel 2022-10-05 16:35:09 -07:00
parent 9bfe6f505e
commit a9dd322765
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -13,6 +13,7 @@ parser = argparse.ArgumentParser(description="Peridot Upstream Repoclosure")
parser.add_argument('--release', type=str, help="Major Release Version or major-type (eg 9-beta)", required=True) parser.add_argument('--release', type=str, help="Major Release Version or major-type (eg 9-beta)", required=True)
parser.add_argument('--simple', action='store_false') parser.add_argument('--simple', action='store_false')
parser.add_argument('--enable-repo-gpg-check', action='store_true') parser.add_argument('--enable-repo-gpg-check', action='store_true')
parser.add_argument('--hashed', action='store_true')
parser.add_argument('--logger', type=str) parser.add_argument('--logger', type=str)
# Parse them # Parse them
@ -27,6 +28,7 @@ a = RepoSync(
rlvars, rlvars,
config, config,
major=major, major=major,
hashed=results.hashed,
parallel=results.simple, parallel=results.simple,
repo_gpg_check=results.enable_repo_gpg_check, repo_gpg_check=results.enable_repo_gpg_check,
logger=results.logger, logger=results.logger,