[Pki-devel] Automatic reformatting and code style

Ade Lee alee at redhat.com
Wed Nov 23 15:48:42 UTC 2011


Hi all,

It has been decided that the code should go through an automatic
reformatting on the trunk to ensure that everything matches the
project's coding standards.

Prior to this, we need to review the coding standards and confirm that
they are what we want to use.

The current coding standards for the project are referenced here:
http://pki.fedoraproject.org/wiki/PKI_C_Coding_Style
http://pki.fedoraproject.org/wiki/PKI_Java_Coding_Style

Some alternative styles: 
http://freeipa.org/page/Coding_Style (C)
http://www.oracle.com/technetwork/java/codeconvtoc-136057.html (java,
sun conventions)

We should focus on the java coding style first, followed by C. Most of
the Perl code is mostly going away most likely, so no need to focus on
that.

IPA has a style guide for python, which, unless we have another
compelling reason, we should probably use that:

http://freeipa.org/page/Python_Coding_Style 

We'd like to get this resolved soon - so as not to obscure any future
changes as we do new development.  So, please devote some attention to
this soon.

Thanks, 
Ade




More information about the Pki-devel mailing list