Option --no-pr to propose-update
@@ -59,6 +59,11 @@ logger = logging.getLogger(__file__)
default=False,
help="Upload the new sources also when the archive is already in the lookaside cache.",
)
+@click.option(
+ "--no-pr",
+ is_flag=True,
+ help="Do not create a pull request to downstream repository.",
+)
@click.option(
"--remote",
default=None,
@@ -87,6 +92,7 @@ def update(
dist_git_path,
dist_git_branch,
force_new_sources,
+ no_pr,
local_content,
path_or_url,
upstream_ref,
@@ -111,4 +117,5 @@ def update(
version=version,
force_new_sources=force_new_sources,
upstream_ref=upstream_ref,
+ create_pr=not no_pr,
)
