Re: GlusterFS coding standards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/24/2013 10:33 AM, Justin Clift wrote:
Hi all,

We don't yet seem to have a "coding standards" document for the GlusterFS
code base.

This is what I reckon as the coding standard guide:

https://github.com/gluster/glusterfs/blob/master/doc/legacy/coding-standard.pdf

Should not be in legacy as most current patches do follow rules in the document.


Anyone object to having one created?

After appropriate discussion and deciding on what to put in it that is.

If that's a decent idea, these are my first random thoughts about it:

  + For the Python code base, follow the Python "PEP 8" standard:

      http://www.python.org/dev/peps/pep-0008/

    It's fairly widespread in the Python community, and many Python tools
    know how to work with it.

I do like the idea of "PEP 8". We do not have any defined standards for python code and this is something that we can adopt.

-Vijay




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux