Skip to content

pulp rpm repository sync --no-optimize doesn't work #648

Description

@ggainey

Summary

sync --no-optimize doesn't pass False to the server, because the check is "if optimize" instead of "if optimize is not None". --mirror/--no-mirror works only because the server-side default is "False".

See https://github.com/pulp/pulp-cli/blob/main/pulpcore/cli/rpm/repository.py#L222-L225

Metadata

Metadata

Assignees

Labels

bugSomething isn't working (template-set)

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions