<div dir="ltr"><div>Having a user focus made me realize that it would be useful if a user could easily tell which attributes were common to all content units versus just that one content unit. When scripting for instance that is really useful to know. We could document the 5 attributes that platform provides, but when there are 20+ attributes on a subclassed content unit the underscores would provide an easy, consistent answer to this question. This is an additional reason separate from the the issue that our content attribute names are colliding (id at least for now). The underscore prefix would make collisions highly unlikely also. This problem is only scoped to the Content unit since that is the place where we expect a large number of subclassed attributes.<br></div><div><br></div><div>For this reason I believe using the _ as the prefix will provide 2 benefits. I wrote them here on this ticket:  <a href="https://pulp.plan.io/issues/3704">https://pulp.plan.io/issues/3704</a></div><div><br></div><div>I am still +1 on adopting those changes for those reasons. More feedback is welcome given the additional problem statements and discussion.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 18, 2018 at 8:43 AM, Ina Panova <span dir="ltr"><<a href="mailto:ipanova@redhat.com" target="_blank">ipanova@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">uuid sounds like good compromise.<br></div><div class="gmail_extra"><br clear="all"><div><div class="m_4152275193296911872gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br>--------<br>Regards,<br><br>Ina Panova<br>Software Engineer| Pulp| Red Hat Inc.<br><br>"Do not go where the path may lead,<br> go instead where there is no path and leave a trail."<br></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Thu, Jun 14, 2018 at 9:38 PM, Jeff Ortel <span dir="ltr"><<a href="mailto:jortel@redhat.com" target="_blank">jortel@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
On 06/14/2018 12:19 PM, Jeff Ortel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 06/14/2018 10:37 AM, Daniel Alley wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I will make one more suggestion.  What about naming "id" -> "uuid"?  This carries the clear connotation that it is a unique identifier so it is less likely to be confusing a la "id and _id", and is still less likely to have a namespace conflict.<br>
</blockquote>
<br>
Appreciate the suggestion but this would only be marginally less confusing.<br>
</blockquote>
<br></span>
Reconsidering this suggestion for the reasons you outlined.<div class="m_4152275193296911872HOEnZb"><div class="m_4152275193296911872h5"><br>
<br>
______________________________<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>
</div></div></blockquote></div><br></div></div></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>