<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 2, 2018 at 12:38 AM, Eric Helms <span dir="ltr"><<a href="mailto:ehelms@redhat.com" target="_blank">ehelms@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Thu, Feb 1, 2018 at 10:30 AM, Dennis Kliban <span dir="ltr"><<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@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>Distributors are only used for exporting Publications out of Pulp. <br><br>Distributions make Publications available to consume via http(s) at /content/relative/path/of/dist<wbr>ribution/. Each Publication can be associated with any number of Distributions. <br></div></div></blockquote><div><br></div></span><div>You lost me a bit here getting into distributions. I think I want to be able to export the same repository to two separate published locations.</div><div><br></div><div>Say I have a repository A. I want to make repository A available at the following paths:</div><div><br></div><div><a href="https://myserver/pulp/repos/Acme/Dev/Version_2/" target="_blank">https://myserver/pulp/repos/<wbr>Acme/Dev/Version_2/</a></div><div><a href="https://myserver/pulp/repos/Acme/Test/Version_2/" target="_blank">https://myserver/pulp/repos/<wbr>Acme/Test/Version_2/</a><br></div><div><br></div><div>Is that possible in the design? </div><span class="gmail-"><div> </div></span></div></div></div></blockquote><div><br></div><div>Yes it is possible. A Distribution defines a relative path at which a Publication is made available. In Pulp 3, 'pulp/repos' portion of the path has been replaced with 'content'. The rest of the URL is defined by the relative path of a Distribution. Your example would actually be <br><br></div><div><a href="https://myserver/content/Acme/Dev/Version_2/">https://myserver/content/Acme/Dev/Version_2/</a><br><a href="https://myserver/content/Acme/Test/Version_2/">https://myserver/content/Acme/Test/Version_2/</a><br><br></div><div>'Acme/Dev/Version_2' would be the relative path of one Distribution.<br></div><div>'Acme/Test/Version_2' would be the relative path of the other Distribution.<br><br>I foresee Katello only using Distributions and not Distributors. Distributors are needed for use cases where users want to continue using symlinks for their published content. A good example would be to export a Publication to the CDN which does not have access to the Pulp database. A Distributor would generate symlinks and rsync them and the artifacts they point to to the CDN. Then content can be consumed from the CDN without Pulp being installed there. <br><br></div><div>As long as content is being served from a web server that has access to the Pulp database, a Distribution should be all that is necessary. <br></div><div><br> </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 class="gmail_extra"><div class="gmail_quote"><span class="gmail-"><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><br></div>The names are very similar, but perform different function. Perhaps Distributors should be called Exporters instead. <br></div></blockquote><div><br></div></span><div>For me, either naming scheme works though perhaps for most exporters might click easier.</div><span class="gmail-"><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 class="gmail-m_7370660114665935634gmail-h5"><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 1, 2018 at 2:35 PM, Eric Helms <span dir="ltr"><<a href="mailto:ehelms@redhat.com" target="_blank">ehelms@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">Will Pulp 3 support multiple distributors on a single repository? Could I, for example, attach the yum distributor multiple times but with a different output path to publish the same repository at different locations?<div><br></div><div><br></div><div>Thanks,</div><div>Eric</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="gmail-m_7370660114665935634gmail-m_-8011179868741264256h5">On Thu, Feb 1, 2018 at 6:54 AM, Dennis Kliban <span dir="ltr"><<a href="mailto:dkliban@redhat.com" target="_blank">dkliban@redhat.com</a>></span> wrote:<br></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><div class="gmail-m_7370660114665935634gmail-m_-8011179868741264256h5"><div dir="ltr"><div>I've updated the MVP use cases for the Distributors. The diff is here[0]. I removed the use case of a distributor exporting a Repository Version. The idea is to give users a single way to export repository versions. Users will first create a publication and then use a distributor to export that publication. <br><br>Please reply to this thread with any suggestions for the use cases related to Distributors. <br></div><div><div><br>I'd like to write up stories for these use cases early next week, so the work can be merged by Feb 15th. <br><br>[0] <a href="https://pulp.plan.io/projects/pulp/wiki/Pulp_3_Minimum_Viable_Product/diff?utf8=%E2%9C%93&version=143&version_from=142&commit=View+differences" target="_blank">https://pulp.plan.io/projects/<wbr>pulp/wiki/Pulp_3_Minimum_Viabl<wbr>e_Product/diff?utf8=%E2%9C%93&<wbr>version=143&version_from=142&c<wbr>ommit=View+differences</a><br><br></div><div>Thanks,<br></div><div>Dennis<br></div></div></div>
<br></div></div>______________________________<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>
</blockquote></div><br></div></div></div></div></div></div></div></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>