From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B20ECE008EA; Wed, 1 Apr 2015 08:06:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.212.176 listed in list.dnswl.org] Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2E483E0056E for ; Wed, 1 Apr 2015 08:06:20 -0700 (PDT) Received: by wixo5 with SMTP id o5so52883800wix.1 for ; Wed, 01 Apr 2015 08:06:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=wAjhSeo21B+n0qwQMFe+u99VcF7gITnCu1viFJ9rLjg=; b=SAcE6IIqBlGa5/qGCiidNImm4pyoqe5+2v9tZgeYKMdkyk78oRUlxEtNfFtvTfLY/F YL5/WPCif+72vnlD2Du4Ui60BAfMkTvdZ0lOO2qM8GvSu2o3VGARTa8oq6SGC3pPUEQ8 3NDGg0pcjR6YjSxerEystP8XxBIX6CVfT7O8PJ5sEhY1+3RHFE+HZ+uny79TvnfgZ/LW 66XHzLtGjpjfLceMv9vYRbwQC8AZJRTtvdMBu+oRBrFvPjxF/YHUj8PngedZyM5GB5QH JYH3UaoGdnrYFluLxsFGxRfY1h6GJze5M0mvnekKlCIENFHBlgFA4EUszsMo2l5nzksO 6+bA== X-Gm-Message-State: ALoCoQmf8imP5buONWSh3vkNh+gObTCzqcp9vTVh+JWJHSnzL4zeSK1w9PDaTshVxhkrfDrPNe3u X-Received: by 10.194.92.97 with SMTP id cl1mr85960418wjb.133.1427900779179; Wed, 01 Apr 2015 08:06:19 -0700 (PDT) Received: from [192.168.2.151] ([83.217.123.106]) by mx.google.com with ESMTPSA id ax10sm3082897wjc.26.2015.04.01.08.06.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 08:06:18 -0700 (PDT) Message-ID: <551C0969.2070301@intel.com> Date: Wed, 01 Apr 2015 16:06:17 +0100 From: Michael Wood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "toaster@yoctoproject.org" Subject: [RFC] Coding style guide X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 15:06:22 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit I think it would be good if we adopted an agreed on code style guide so that we can gain some consistency in the code for readability in new contributions. Note that I don't want to become one of those projects that bike-sheds every patch on the code style! Which is why I'm calling them guides/recommendations. I've written up some here: https://wiki.yoctoproject.org/wiki/Contribute_to_Toaster#Style_guide_DRAFT http://tinyurl.com/ocykv2s It's by no means complete but would like to get some comments first. Michael