Skip to content

Commit 5c7a6e7

Browse files
committed
Add autopublish option for repository creation
Signed-off-by: Balasankar 'Balu' C <[email protected]>
1 parent d4d8a43 commit 5c7a6e7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pulpcore/cli/deb/repository.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str)
119119
update_options = [
120120
click.option("--description"),
121121
remote_option,
122-
# pulp_option(
123-
# "--autopublish/--no-autopublish",
124-
# needs_plugins=[PluginRequirement("deb", specifier=">=999.0.0")],
125-
# default=None,
126-
# ),
122+
pulp_option(
123+
"--autopublish/--no-autopublish",
124+
needs_plugins=[PluginRequirement("deb", specifier=">=3.6.0")],
125+
default=None,
126+
),
127127
retained_versions_option,
128128
]
129129
create_options = update_options + [click.option("--name", required=True)]

0 commit comments

Comments
 (0)