Skip to content

python_repository lacks the autopublish flag #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stephan2012 opened this issue Apr 11, 2025 · 0 comments · May be fixed by #198
Open

python_repository lacks the autopublish flag #197

stephan2012 opened this issue Apr 11, 2025 · 0 comments · May be fixed by #198

Comments

@stephan2012
Copy link

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.
@stephan2012 stephan2012 linked a pull request Apr 11, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant