Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22E6399F3 for ; Mon, 18 Jun 2012 06:43:15 +0000 (UTC) Received: (qmail 16189 invoked by uid 500); 18 Jun 2012 06:43:14 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 16149 invoked by uid 500); 18 Jun 2012 06:43:14 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 16107 invoked by uid 99); 18 Jun 2012 06:43:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 06:43:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.tzolov@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2012 06:43:07 +0000 Received: by pbbrq2 with SMTP id rq2so7357755pbb.6 for ; Sun, 17 Jun 2012 23:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RFF88nnOUj72Al2yltSTUE2jFp/9htbOn1xGVbUIm6Q=; b=mUXhdN6ifHSXCdleFVDy4d/Vfg4u1cta9osXOHOUvUdrCz45JxZaKhRjZ5Jk01e3Hx GXdJNztd/+prJr7kko3NvTVpfEAcdcRBLHXk6BxZlsBK8wJwXA5Ylmy7U9JS+vFmRriK aOfltwiKrOPR+XRzLxLcinGuvtYcal2B1Ux4wMgTbwW/uToKZnMsioO2TANuyok4A7Go 5+j4d/yBGcGnrVsVMEKWYo9FZ5cqRhrTKvBwoSGwkOLNWWioPAWMdTCJQpn7l2yAziVO EU7S1Sq1bQL6eoum1AjoIpVfvK+mX/TQ5z19o6SNuWf7gWv8F8y0M4/p7KZVfmhU1W9Y nT+g== MIME-Version: 1.0 Received: by 10.68.229.2 with SMTP id sm2mr48208103pbc.57.1340001767465; Sun, 17 Jun 2012 23:42:47 -0700 (PDT) Received: by 10.142.90.17 with HTTP; Sun, 17 Jun 2012 23:42:47 -0700 (PDT) In-Reply-To: <86AEC9345436442F937C7B7D5681F39D@gmail.com> References: <3fd46440-f94e-494c-a5c5-1f640d545f96@s6g2000pbi.googlegroups.com> <86AEC9345436442F937C7B7D5681F39D@gmail.com> Date: Mon, 18 Jun 2012 08:42:47 +0200 Message-ID: Subject: Re: Checkstyle & Reviews From: Christian Tzolov To: Gabriel Reid Cc: Josh Wills , Robert Chu , Crunch Dev , crunch-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b162fd75923f504c2b979be X-Virus-Checked: Checked by ClamAV on apache.org --047d7b162fd75923f504c2b979be Content-Type: text/plain; charset=ISO-8859-1 +1 for shared eclipse code style configuration IMO using code quality tools as maven plugins is inefficient and hard to maintain. More consistent and complete solution would be use Hudson or Jenkins. Not sure though if apache provides such CI tools? On Sat, Jun 16, 2012 at 10:27 AM, Gabriel Reid wrote: > +1 for a style guide and/or formatting rules and coding rules. > > For code style, something that I've seen work well (at least if everyone > is using Eclipse) is to just have a shared code style definition that you > can import into Eclipse, and then set Eclipse to apply that style whenever > you save a file. This works great if everyone uses the same style > definition, and breaks down rapidly if they don't. > > I don't have any experience using the maven-findbugs-plugin, but I do find > the Checkstyle useful, as long as the settings are sane (which is not > always the case). > > On Saturday 16 June 2012 at 00:17, Josh Wills wrote: > > > I'm in favor of a style guide; consistent layout makes it easier for > > my brain to devour code. That said, I'm not up-to-date on best > > practices here in the real world; my only experience with automated > > code review tools was at teh goog. > > > > Re: code reviews, let's start that discussion up in another thread. > > > > J > > > > On Fri, Jun 15, 2012 at 3:13 PM, Robert Chu robert@wibidata.com)> wrote: > > > Hey Everybody, > > > > > > I'd like to start a discussion about using automated code review tools > > > to improve the crunch development process. I'd I'm personally a big > > > fan of using tools that can help improve code quality. These tools > > > often include things like the maven-checkstyle-plugin and the maven- > > > findbugs-plugin. I am currently unaware of any comparable scala > > > automated tools. If people have opinions on whether or not we should > > > use tools like this or which tools we should be using specifically > > > please let us know. > > > > > > Also, another related question: Should we have some sort of a code > > > review process? > > > > > > Robert Chu > > > > > > > > -- > > Director of Data Science > > Cloudera > > Twitter: @josh_wills > > > --047d7b162fd75923f504c2b979be--