<div dir="ltr">+1 to make it more consistent. -0 for option 3 since it leaves our settings inconsistent. The other options seem reasonable.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 18, 2018 at 5:24 PM, David Davis <span dir="ltr"><<a href="mailto:daviddavis@redhat.com" target="_blank">daviddavis@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">Background<div>=========</div><div><br></div><div>We discovered that some of our settings in server.yaml all uppercase (SERVER_KEY, MEDIA_ROOT, etc) while others are lowercase (working_directory, databases, etc)[0]. We originally decided to go with lowercase to match the yaml convention (although yaml itself doesn’t prescribe all lowercase). </div><div><br></div><div>The problem we’ve now run into is that we’ve run into some technical obstacles in dealing with stuff like nested dictionaries. </div><div><br></div><div><br></div><div>Solutions</div><div>=======</div><div><br></div><div>1. Just use UPPER_SNAKE_CASE. This is probably the easiest solution.</div><div>2. Drop yaml for another config language like Python (which Django uses) or toml[1]</div><div>3. Fix the problem of nested dictionaries so we can keep using lower_snake_case.</div><div><br></div><div>Does anyone have a strong preference on which we go with?</div><div><br></div><div>[0] <a href="https://pulp.plan.io/issues/3589" target="_blank">https://pulp.plan.io/<wbr>issues/3589</a></div><div>[1] <a href="https://en.wikipedia.org/wiki/TOML" target="_blank">https://en.wikipedia.org/<wbr>wiki/TOML</a><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div class="m_9040983797789287756gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>David<br></div></div></div></div></div></div></div></div>
</font></span></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>