@@ -148,15 +148,20 @@ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str)
148148 click .option (
149149 "--metadata-checksum-type" ,
150150 type = click .Choice (LEGACY_CHECKSUM_CHOICES , case_sensitive = False ),
151- help = _ ("DEPRECATED: Option specifying the checksum type to use for repository metadata." ),
151+ help = _ (
152+ "DEPRECATED: Option specifying the checksum type to use for repository metadata. "
153+ "Unavailable for pulp_rpm>=3.30.0"
154+ ),
155+ needs_plugins = [PluginRequirement ("rpm" , specifier = "<3.30.0" )],
152156 ),
153157 click .option (
154158 "--package-checksum-type" ,
155159 type = click .Choice (LEGACY_CHECKSUM_CHOICES , case_sensitive = False ),
156160 help = _ (
157161 "DEPRECATED: Option specifying the checksum type to use for packages in "
158- "repository metadata."
162+ "repository metadata. Unavailable for pulp_rpm>=3.30.0 "
159163 ),
164+ needs_plugins = [PluginRequirement ("rpm" , specifier = "<3.30.0" )],
160165 ),
161166 pulp_option (
162167 "--checksum-type" ,
@@ -172,17 +177,19 @@ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str)
172177 callback = choice_to_int_callback ,
173178 help = _ (
174179 """DEPRECATED: Option specifying whether a client should perform a GPG signature check
175- on packages."""
180+ on packages. Unavailable for pulp_rpm>=3.30.0 """
176181 ),
182+ needs_plugins = [PluginRequirement ("rpm" , specifier = "<3.30.0" )],
177183 ),
178184 click .option (
179185 "--repo-gpgcheck" ,
180186 type = click .Choice (("0" , "1" )),
181187 callback = choice_to_int_callback ,
182188 help = _ (
183189 """DEPRECATED: Option specifying whether a client should perform a GPG signature check
184- on the repodata."""
190+ on the repodata. Unavailable for pulp_rpm>=3.30.0 """
185191 ),
192+ needs_plugins = [PluginRequirement ("rpm" , specifier = "<3.30.0" )],
186193 ),
187194 click .option (
188195 "--sqlite-metadata/--no-sqlite-metadata" ,
@@ -191,6 +198,7 @@ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str)
191198 """DEPRECATED: An option specifying whether Pulp should generate SQLite metadata.
192199 Unavailable for pulp_rpm>=3.25.0"""
193200 ),
201+ needs_plugins = [PluginRequirement ("rpm" , specifier = "<3.25.0" )],
194202 ),
195203 pulp_option (
196204 "--autopublish/--no-autopublish" ,
0 commit comments