<div dir="ltr">Jiri,<div><br></div><div>There's no particularly good reason. It would just increase the complexity of that command on the client side by a fair amount. But you're right that it would be an improvement for most users.</div><div><br></div><div>Right now the "copy all" command makes one HTTP request, gets back a task ID, and then runs the standard task polling routine until the task finishes. Simple stuff.</div><div><br></div><div>The other option would be to queue one task for every content type, and then track progress on each separately until they're all done. It would need to use the same list of fields as the individual type commands, so there would be a bit of shared code, and that would add to the complexity of implementation.</div><div><br></div><div>There may also be some users who want to ensure that all modification to the destination repo happens in one task, which either fails or succeeds, rather than needing to track success and failure of several tasks. That's probably a minority use case though.</div><div><br></div><div>So your idea is probably a good one. We just haven't bee able to get that area high enough on the priority list to do this kind of refinement. If anyone is interested in making a PR though, we would welcome that. ;)</div><div><br></div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 11:35 AM, Jiri Tyr <span dir="ltr"><<a href="mailto:jiri.tyr@gmail.com" target="_blank">jiri.tyr@gmail.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">Thanks for the blog post, Michael. I have just one question: Why the "rpm repo copy all" doesn't walk through all the available types of content to prevent the program to consume all memory and fail?</div><span class=""><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 17, 2017 at 4:25 PM, Michael Hrivnak <span dir="ltr"><<a href="mailto:mhrivnak@redhat.com" target="_blank">mhrivnak@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">Since this is a relatively common issue, I decided to respond via blog post:<div><br></div><div><a href="http://pulpproject.org/2017/02/17/why-does-copy-use-lots-of-memory/" target="_blank">http://pulpproject.org/2017/02<wbr>/17/why-does-copy-use-lots-of-<wbr>memory/</a><br></div><div><br></div></div></blockquote></div></div></span></div>
</blockquote></div><br></div>