Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56F7C189CD for ; Thu, 5 Nov 2015 20:33:28 +0000 (UTC) Received: (qmail 84995 invoked by uid 500); 5 Nov 2015 20:33:28 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 84871 invoked by uid 500); 5 Nov 2015 20:33:28 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 84780 invoked by uid 99); 5 Nov 2015 20:33:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 20:33:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C45CC2C1F5F for ; Thu, 5 Nov 2015 20:33:27 +0000 (UTC) Date: Thu, 5 Nov 2015 20:33:27 +0000 (UTC) From: "Bob Hansen (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9328) Formalize coding standards for libhdfs++ and put them in a README.txt MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-9328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992415#comment-14992415 ] Bob Hansen commented on HDFS-9328: ---------------------------------- I am not keen on tying the coding standards to a tool such as clang-format. That can be a handy tool in applying the rest of the standards, but doesn't actually specify what the standards should be. I would remove (1) completely, and specify any deltas from the google standards that we expect to be enforced. Adding an if/else example to (2) for extra clarity would be a Good Thing. > Formalize coding standards for libhdfs++ and put them in a README.txt > --------------------------------------------------------------------- > > Key: HDFS-9328 > URL: https://issues.apache.org/jira/browse/HDFS-9328 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: James Clampffer > Assignee: James Clampffer > Priority: Blocker > Attachments: HDFS-9328.HDFS-8707.000.patch > > > We have 2-3 people working on this project full time and hopefully more people will start contributing. In order to efficiently scale we need a single, easy to find, place where developers can check to make sure they are following the coding standards of this project to both save their time and save the time of people doing code reviews. > The most practical place to do this seems like a README file in libhdfspp/. > The foundation of the standards is google's C++ guide found here: https://google-styleguide.googlecode.com/svn/trunk/cppguide.html > Any exceptions to google's standards or additional restrictions need to be explicitly enumerated so there is one single point of reference for all libhdfs++ code standards. -- This message was sent by Atlassian JIRA (v6.3.4#6332)