Return-Path: X-Original-To: apmail-xmlgraphics-general-archive@www.apache.org Delivered-To: apmail-xmlgraphics-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6E58E954 for ; Wed, 6 Mar 2013 11:08:06 +0000 (UTC) Received: (qmail 20556 invoked by uid 500); 6 Mar 2013 11:08:01 -0000 Mailing-List: contact general-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@xmlgraphics.apache.org Delivered-To: mailing list general@xmlgraphics.apache.org Received: (qmail 20510 invoked by uid 99); 6 Mar 2013 11:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 11:07:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vhennebert@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 11:07:54 +0000 Received: by mail-wg0-f49.google.com with SMTP id 15so7126905wgd.28 for ; Wed, 06 Mar 2013 03:07:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=SZHfeHdK1SDpzPmH+Krey/6yo78wi1I6SpcPNCqyRMY=; b=DDdrEo6c0qFWuu/l26di8NLuVj+9OE0VMqI+cHVSXD/boZCcyFDJKRXN9Ue30eUtFi cNoUXhVW1CDwHhpLvOLzjb29bvmcZF4p6/JLIfI8OKehJv+KjAJ2d99nUrAZZ42d9hSq XohwGJ2VIPO5cYmWMSF3TUZrlB7r+nWzU9oZ0Cm/6Qa7SkZs09PpENhT/9HcDZCLTazs xKWP7EDvwGYGdZ/2kpR+xhpGAuaIL2O0fZUA3qAU7CycBK+srLBzzdRFx38N8UsV3PEM tn3u56qA7qyEz26bHDXVEl6wXBIiv2kK9gn8TPJw2tSKS70netN7XFuyEs7azcFyfeYK CB7g== X-Received: by 10.180.87.170 with SMTP id az10mr25400539wib.3.1362568053406; Wed, 06 Mar 2013 03:07:33 -0800 (PST) Received: from [192.168.1.68] (184-80-190-109.dsl.ovh.fr. [109.190.80.184]) by mx.google.com with ESMTPS id bj9sm26090541wib.4.2013.03.06.03.07.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 03:07:31 -0800 (PST) Message-ID: <51372370.1010900@gmail.com> Date: Wed, 06 Mar 2013 12:07:28 +0100 From: Vincent Hennebert User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: general@xmlgraphics.apache.org Subject: Re: Checkstyle, Epilogue References: <512E7CE9.7070707@gmail.com> In-Reply-To: <512E7CE9.7070707@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Ok, so it seems that consensus has been reached. I’ll update the Checkstyle config file progressively as I implement the new rules. I’ll also update the documentation on the website as suggested by Glenn. Thanks, Vincent On 02/27/2013 10:38 PM, Vincent Hennebert wrote: > Hi All, > > An extremely long time ago I proposed on this list [1] a new set of > Checkstyle rules that we would all agree to follow, so that we can > enforce a no warning policy. Glenn expressed disagreements with some of > the rules. > > [1] http://markmail.org/thread/wnevlowocmlcm6xa > > A very long time ago I had a Skype discussion with Glenn in order to try > and find a common ground; We agreed that, pending some action from my > part, we would settle on a compromise. > > A long time ago I undertook that action and submitted my results to > Glenn, who was ok to proceed with the compromise we had found. > > So, today, I’d like to propose this compromise to the rest of the > community and ask if everybody is ok with it. Mainly, we keep the rules > about whitespace that I suggested last year, but we introduce an > exception regarding line length: files originally authored by Glenn are > allowed to disable that rule. > > The differences with the Checkstyle file currently in FOP are the > following (see [2] for rule descriptions): > • remove SuppressWithNearbyCommentFilter > • remove EqualsHashCode > • remove NoWhiteSpaceAfter for ARRAY_INIT > • add LineLength > • add MethodParamPad > • add ParenPad > • WhiteSpaceAfter: add TYPECAST > • WhiteSpaceAround: remove DIV and STAR > > [2] http://checkstyle.sourceforge.net/availablechecks.html > > I would also like to add ExplicitInitialization eventually, once I’ve > figured out an automatic way of removing the existing ones. > > Some source files (e.g. o.a.f.complexscripts.bidi.BidiClass) were > automatically generated and are not meant to be human-readable, > therefore I will exclude them from the checks. > > I’ll apply lazy consensus and, if nobody objects within 3 working days, > I will start to progressively apply the new rules and enable them in > Checkstyle. Then we can modify Gump to automatically run Checkstyle for > us after every commit. > > > Thanks, > Vincent > --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org For additional commands, e-mail: general-help@xmlgraphics.apache.org