[Pki-devel] Automatic reformatting and code style

Adam Young ayoung at redhat.com
Wed Nov 23 17:26:08 UTC 2011


MIght I highly encourage that we folow the Sun guides,  as it is the Inustry standard in Java,  and it is pretty staightforward.

----- Original Message -----
From: "Ade Lee" <alee at redhat.com>
To: pki-devel at redhat.com
Sent: Wednesday, November 23, 2011 10:48:42 AM
Subject: [Pki-devel] Automatic reformatting and code style

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

_______________________________________________
Pki-devel mailing list
Pki-devel at redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel




More information about the Pki-devel mailing list