<div dir="ltr"><div>Hi Jim,</div><div>thanks for reaching out. I think the use case you are describing here is best described in <a href="https://pulp-rpm.readthedocs.io/en/latest/workflows/create_sync_publish.html#sync-publish-workflow">https://pulp-rpm.readthedocs.io/en/latest/workflows/create_sync_publish.html#sync-publish-workflow</a> .</div><div>And yes it is necessary to sync, publish and distribute that repository to have a mirror. Also this mirror will AFAIK republish the synched repository in its own layout. (Anyone, please help me out if i'm wrong!)<br></div><div>We have recently discussed the possibility to republish synched repository versions in a verbatim manner (including all files and original metadata in their original relative location). Let us know if that is an important use case for you.</div><div>As of the CLI for pulp3, it is in a very ealy poc/planning phase. But personally, i would love to hear if you made any experience with using the ansible modules in <a href="https://galaxy.ansible.com/pulp/squeezer">https://galaxy.ansible.com/pulp/squeezer</a> (also incomplete, but there are some for use with RPM facilities).</div><div>  Matthias<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 21, 2020 at 10:27 PM Jim Davis <<a href="mailto:JDavis@douglas.co.us">JDavis@douglas.co.us</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 lang="EN-US">
<div class="gmail-m_4978343652622053712WordSection1">
<p class="MsoNormal">For some time now I have built up several pulp2 mirrors of various upstream rpm repos to make local updates run faster and to segregate environments. I do not require client registration so it is a dirt simple setup for basic OS patching.
 It is trivial to rebuild my rpm repositories if needed and to sync them as needed via scripts using pulp_admin.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to figure out how to do this with pulp3 – and I’m still a bit puzzled. The pulp3 ansible deploy method is really quite slick. One issue down. Simply mirroring outside repos is quite common with pulp2 usage and documented everywhere
 in the webnets but not so much for pulp3. I realize the CLI went away but surely there must be some pulp2 to pulp3 task equivalence somewhere or maybe someone has real world examples written up already and hasn’t yet published them. Searching/reading/searching
 gives me lots of information on complex issues around document versioning, history, plugins, API usage, pulp3 architecture, etc. For me this makes a simple migration to pulp3 more difficult for probably the easiest use case out there. Am I too early to the
 game to consider a move or is it all in front of me but in a million pieces!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Jim<u></u><u></u></p>
</div>
</div>

_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a></blockquote></div>