<div dir="ltr"><div><div></div>Is there a specific user case that requires that a publisher and a publication to be part of a distribution?<br></div><div><br></div>Thanks,<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 7, 2018 at 11:11 AM, Austin Macdonald <span dir="ltr"><<a href="mailto:amacdona@redhat.com" target="_blank">amacdona@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, May 7, 2018 at 10:55 AM, Brian Bouterse <span dir="ltr"><<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>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...<br><br></div>As a user, can I create a distribution that will auto-distribute any new repository version for repo 'foo'?<br><br></div>As a user, can I create a distribution that will auto-distribute any publication produced by a specific publisher, e.g. 'baz'?<br><br></div></div></blockquote><div><br></div></span><div>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.</div><div><br></div><div>Not sure why the help text isn't showing up in the autogenerated docs.</div><div><a href="https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/serializers/repository.py#L203-L223" target="_blank">https://github.com/pulp/pulp/<wbr>blob/3.0-dev/pulpcore/<wbr>pulpcore/app/serializers/<wbr>repository.py#L203-L223</a><br></div><div><br></div><div>Heres how it works:</div><div><a href="https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/app/models/publication.py#L107-L112" target="_blank">https://github.com/pulp/pulp/<wbr>blob/3.0-dev/pulpcore/<wbr>pulpcore/app/models/<wbr>publication.py#L107-L112</a><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Thanks,<br></div><div>Brian<br></div></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com" target="_blank">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>