<div dir="ltr"><div>Hi Eric,</div><div><br></div><div>Let me try to share some info inline. Write back with more questions or ideas!<br></div><div><br></div><div>Cheers,</div><div>Brian<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 22, 2019 at 1:01 PM Eric Helms <<a href="mailto:ehelms@redhat.com">ehelms@redhat.com</a>> wrote:<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">Howdy,<br><div><br></div><div>I had a couple of questions around how each of the Pulp 3 services loads code and how that relates back to core code.</div><div><br></div><div> * Do all services (workers, resource-manager, pulp-api and pulp-content) load the entire stack of pulpcore and plugin code?</div></div></blockquote><div>Yes all components load Django settings of one form or another so every entrypoint calls django.setup(). That causes chain-loading of all plugins so everything inside pulpcore loads and any plugin packages too. This is true even of pulp-content which is uses a non-Django event handler.<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> * Is there a single python package that contains all code needed to run pulp-api, workers and resource manager? is the same true for content?</div></div></blockquote><div>There isn't one package. I'll try to highlight why. All components can ultimately call plugin code at one place or another. For instance, custom Distributions in even the content app may call plugin code for custom content serving features. The plugin code requires you to have their plugin python packages, and that code could call back into pulpcore.plugin which will cause you to need the pulpcore-plugin package also. Meanwhile each of these components also call pulpcore code directly so there is a direct need on that package too.</div><div><br></div><div>Ideas on improvements or feedback on pain points in this area are welcome.<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><br></div><div><br></div><div>Thanks,</div><div>Eric</div></div>
_______________________________________________<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/listinfo/pulp-dev</a><br>
</blockquote></div></div>