Skip to content

Create distribution command is missing the repository href_pattern #157

@hstct

Description

@hstct

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions