<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">https://pulp.plan.io/issues/3589</a></div><div>[1] <a href="https://en.wikipedia.org/wiki/TOML">https://en.wikipedia.org/wiki/TOML</a><br clear="all"><div><div class="gmail_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>
</div></div>