Skip to content

python_repository lacks the autopublish flag #197

@stephan2012

Description

@stephan2012

While the Pulp CLI allows passing the autopublish flag, it is missing in pulp.squeezer.python_repository. However, the flag is available in pulp.squeezer.rpm_repository. Other artifact types may be affected, too.

$ pulp python repository create --help
Usage: pulp python repository create [OPTIONS]

  Create a python repository.

Options:
  --description TEXT
  --remote TEXT                   Remote used for synching in the form
                                  '[[<plugin>:]<resource_type>:]<name>' or by
                                  href.
  --autopublish / --no-autopublish
  --retain-repo-versions INTEGER  Number of repository versions to keep.
  --labels TEXT                   JSON dictionary of labels to set on python
                                  repository (or @file containing a JSON
                                  dictionary)
  --name TEXT                     [required]
  --help                          Show this message and exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions