On Mon, May 7, 2018 at 10:55 AM, Brian Bouterse <bbout...@redhat.com> wrote:

> I'm confused about the feature claim of the auto-distribute feature for
> Pulp 3.0 GA. The distribution object takes both 'repository' and
> 'publisher' as options currently...
>
> As a user, can I create a distribution that will auto-distribute any new
> repository version for repo 'foo'?
>
> As a user, can I create a distribution that will auto-distribute any
> publication produced by a specific publisher, e.g. 'baz'?
>
>
Repository and publisher must both be set at the same time. Any time the
publisher is used to create a new publication of the repository it is auto
distributed.

Not sure why the help text isn't showing up in the autogenerated docs.
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/serializers/repository.py#L203-L223

Heres how it works:
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/models/publication.py#L107-L112



> Thanks,
> Brian
>
> _______________________________________________
> Pulp-dev mailing list
> Pulp-dev@redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-dev
>
>
_______________________________________________
Pulp-dev mailing list
Pulp-dev@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-dev

Reply via email to