<div dir="ltr"><div>+1 to option 1 <br><br></div>The plugin writer's experience will be much simpler. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 11, 2017 at 8:20 PM, Mihai Ibanescu <span dir="ltr"><<a href="mailto:mihai.ibanescu@gmail.com" target="_blank">mihai.ibanescu@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">If you ever want to implement a version diff endpoint, where you can compare one version of a repo with another version of the same repo (or of another repo, maybe), then #2 is pure pain.<div><br></div><div>I find myself diffing repos more often than I want to, so I would definitely want a way to diff, between versions, between repos, and/or both.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Mihai</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Dec 11, 2017 at 5:18 PM, Jeremy Audet <span dir="ltr"><<a href="mailto:jaudet@redhat.com" target="_blank">jaudet@redhat.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div dir="ltr">Regarding the second option: What happens if I (as a user) add a content unit to a repo, later remove it, later add it again, and later remove it again? Would this result in two "version_added" and two "version_removed" records?<br></div>
<br></span><span class="">______________________________<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></span></blockquote></div><br></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>