Skip to content
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

Intuitive workflow for adding content to repositories #171

Closed
dralley opened this issue Mar 9, 2021 · 1 comment · Fixed by #194
Closed

Intuitive workflow for adding content to repositories #171

dralley opened this issue Mar 9, 2021 · 1 comment · Fixed by #194
Labels
feature request New feature request (template-set)
Milestone

Comments

@dralley
Copy link
Contributor

dralley commented Mar 9, 2021

The command repository add --name foo --filename "shelf-reader-0.1.tar.gz" is a little unintuitive, because you might think it's adding a repository, but it's adding content to a repository.

Would a reverse order work? pulp python repository --foo add --filename "shelf-reader-0.1.tar.gz"

Or maybe the names could be changed slightly?

pulp python repository add-content --repo-name foo --filename "shelf-reader-0.1.tar.gz"

@mdellweg
Copy link
Member

The lookup option for name should be renamed to --repository-name to be in line with other nested subgroups. And the commands should be moved to a content subgroup.

pulp python repository content add --repository-name foo --filename "shelf-reader-0.1.tar.gz"

@mdellweg mdellweg added the feature request New feature request (template-set) label Mar 17, 2021
@mdellweg mdellweg added this to the 0.8.0 milestone Mar 27, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 1, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 6, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 19, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 20, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 20, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 20, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 20, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 21, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 21, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 21, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 27, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 28, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 28, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 28, 2021
gerrod3 added a commit to gerrod3/pulp-cli that referenced this issue Apr 28, 2021
mdellweg pushed a commit that referenced this issue Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature request (template-set)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants