Issue #3392
closedDocument Autodistribution
Description
Publisher and Repository fields are not required fields for a standard distribution.
If both are provided, this distribution will automatically update to the newest publication every time the specified publisher publishes the specified repository.
This issue is to make this clear in the documentation (by fixing in-code comments) https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/models/publication.py#L180-L183
Related issues
Updated by amacdona@redhat.com over 6 years ago
- Subject changed from Redudant fields for distribution model to Clarify publisher and repository fields on distribution model
- Description updated (diff)
Updated by amacdona@redhat.com over 6 years ago
- Description updated (diff)
- Tags Documentation added
Updated by amacdona@redhat.com over 6 years ago
- Related to Task #3394: Validate that repository AND publisher must both be EITHER set or unset on a distribution added
Updated by daviddavis over 6 years ago
It might be also worth considering renaming the fields (e.g. auto_distro_publisher, auto_distro_repository).
Updated by kersom over 6 years ago
These fields will be used to auto-distribute feature. Currently there is no mention to such feature in the docs.
Updated by amacdona@redhat.com almost 6 years ago
- Subject changed from Clarify publisher and repository fields on distribution model to Document Autodistribution
IMO this is clear in the help text on the distribution serializer. Still, the auto-distribution feature should be documented outside of the API docs, maybe in "Workflows"
Updated by amacdona@redhat.com over 5 years ago
- Is duplicate of Story #4680: As a user I have lifecycle docs in pulpcore workflows added
Updated by amacdona@redhat.com over 5 years ago
- Status changed from NEW to CLOSED - DUPLICATE
Autodistribution will be be covered by https://pulp.plan.io/issues/4680, so closing as a dupe.