[Openstack] Comparing roles - case (in)sensitivity

Zach Borboa zach.borboa at opensgi.com
Fri Jun 8 22:08:16 UTC 2012


Explicit is better than implicit. Case-sensitive.

On Fri, Jun 8, 2012 at 2:50 PM, Brian Waldon <brian.waldon at rackspace.com> wrote:
> tl;dr - Should we compare roles as case-sensitive or case-insensitive? I
> vote case-sensitive.
>
> This bug was recently filed in
> Glance: https://bugs.launchpad.net/glance/+bug/1010519. It points out that
> Nova and Keystone are both case-insensitive when it comes to role
> comparison, yet Glance *is* case sensitive. I'm in favor of moving other
> projects to a case-sensitive approach for two main reasons:
>
> 1) If a role is a string, and comparing strings is inherently
> case-sensitive, then role comparison would logically be case-sensitive
> 2) I get to do less work
>
> Thoughts?
>
> Brian Waldon
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>




More information about the Openstack mailing list