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

Create distribution command is missing the repository href_pattern #157

Open
hstct opened this issue Feb 10, 2025 · 0 comments · May be fixed by #158
Open

Create distribution command is missing the repository href_pattern #157

hstct opened this issue Feb 10, 2025 · 0 comments · May be fixed by #158

Comments

@hstct
Copy link
Contributor

hstct commented Feb 10, 2025

Describe Issue

The pulp deb distribution create command allows for the --repository parameter to parse an href:

Usage: pulp deb distribution create [OPTIONS]

  Create a apt distribution.

Options:
  --base-path TEXT
  --publication TEXT  Publication to be served.
  --repository TEXT   Repository to be used for auto-distributing. Specified
                      as '[[<plugin>:]<type>:]<name>' or as href.
  --name TEXT         [required]
  --help              Show this message and exit.

However the HREF_PATTERN is not provided. This causes the following: Error: The option repository does not support href.


Possible Fix

Add the PulpAptRepositoryContext.HREF_PATTERN to the distribution command.

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