python_repository lacks the autopublish flag
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 29
- Forks
- 45
- Avg merge
- 4h 45m
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pulp.squeezer.python_repository entry point and compare its repository options with pulp.squeezer.rpm_repository. Run pulp python repository create --help to confirm the current behavior; done means the Python repository command exposes the autopublish option consistently with the RPM repository command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100