Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5557F200D5D for ; Wed, 20 Dec 2017 13:36:57 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 53FE0160C15; Wed, 20 Dec 2017 12:36:57 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96EF4160C0A for ; Wed, 20 Dec 2017 13:36:56 +0100 (CET) Received: (qmail 73935 invoked by uid 500); 20 Dec 2017 12:36:55 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 73918 invoked by uid 99); 20 Dec 2017 12:36:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Dec 2017 12:36:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9A07C1805CC for ; Wed, 20 Dec 2017 12:36:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id CULmsu6F421u for ; Wed, 20 Dec 2017 12:36:53 +0000 (UTC) Received: from mail-ot0-f193.google.com (mail-ot0-f193.google.com [74.125.82.193]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 600775F5C6 for ; Wed, 20 Dec 2017 12:36:53 +0000 (UTC) Received: by mail-ot0-f193.google.com with SMTP id i1so19477008oth.9 for ; Wed, 20 Dec 2017 04:36:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+a6eCtgnN4Iklkc09hDt0XhK7mY/WZ01nODI3xEy0Pg=; b=FS3kaZ/4/b+F7cEQAzO/jkf1qjBMYi3pANawU3V7jzZ4/K5jpL9nmOf9V4S58kVh3L AGLtjcwmXUr25nicTiR/2Nx7Phg2FIjwCd5c+t7xTNgOWhWs8LsjTOlR/VwvvI6VIYpr nQqHIomJ3yvbyyLA4XzoBhgKkZGTSv0sK8Jec3hUWBBBTabwOl0KQnC9RYFT807b0wTA oNBFatpWumGW7o1+rHwE2Satf2N55RYKjuTA89ocpKjfvUiQwtYCEuR8k4i5f17a5FhH C0uJ53DoRwrd5hTdOQG8c9J/htKOxqlOYWvLVBc1GimmaFD4928jxtjsJwN+VkH0Rs2u uVOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+a6eCtgnN4Iklkc09hDt0XhK7mY/WZ01nODI3xEy0Pg=; b=Jre76VtgiXCfeGcoJhLwVREOqW66t93urXCOOlF+1Sr32ooCoA3ovxwPcJsiGI4/+X BSQdozGWVyTwhh1vpP8yJ8toP9Ph2SWgw7VFN2712zCuWy/IELeSyCkMJ4W7ILiqTvzf xWDII2ih10JmQq1y6qab8Mm0K5TfTk8oyrBSfIyFj/lqmoaG/DUvGPVSgsDvBgUF/oHa LK4GFmhsiXSdeIiznvnv5UQkl5dcFlXoDKlNmPFTwyfGFa4zFIcaOhMOYQ/B2H95RnA3 KDENBp2LhVLvN00HLXWzibHpYFwvJvODBd4kWLKkxrCJNe6FXIJg84ftKGSrHkpD9TlI 4jPQ== X-Gm-Message-State: AKGB3mL3995EQkkBUmVdrvLD7kiekclTK9yRHVbtwF3Xn4AnHIQhrLw0 wPjjCB1NWAyNLetRnOrAj3zv1jaDYw7S5OD8wkz5WA== X-Google-Smtp-Source: ACJfBovldcX3V/Pi7RA2iHeC807P9KxisyFN2S04daMRXSmR+jG9NirXmwkE6tEpWO2vjZGuXavyM/Y1dp41WqAmxX8= X-Received: by 10.157.26.109 with SMTP id u42mr5415369otu.393.1513773406727; Wed, 20 Dec 2017 04:36:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.64.181 with HTTP; Wed, 20 Dec 2017 04:36:46 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= Date: Wed, 20 Dec 2017 10:36:46 -0200 Message-ID: Subject: Re: Adding Spellchecker to code style validator To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary="001a113528202db4a00560c4d638" archived-at: Wed, 20 Dec 2017 12:36:57 -0000 --001a113528202db4a00560c4d638 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable +1 On Wed, Dec 20, 2017 at 10:29 AM, Rohit Yadav wrote: > Hi Ivan, > > > Thanks for the PR, I think that would be a good idea. We can introduce > such a checker/task in Travis's first job that currently does some sanity > checks (rat+build+unit tests etc). > > > - Rohit > > ________________________________ > From: Ivan Kudryavtsev > Sent: Tuesday, December 19, 2017 12:48:04 PM > To: dev > Subject: Adding Spellchecker to code style validator > > Hello, devs. > > How about adding spell checking to code style guide. ACS uses a lot of ja= va > introspection including JSON generation, etc. so typos migrate to protoco= l > level. Working on CLOUDSTACK-10168 I found ipv4_adress inside python code= / > dhcp related json, trying to improve "the camp" I moved to java code and > found ipv4Adress private var which is used in gson serializer resulting t= o > the protocol with bad keywords. Might it be spellchecker is able to fix i= t. > > The same thing is for logging messages, I usually looking for "address" n= ot > for "adress" so It's really impossible to find relevant message if typos > exist. > > I'm not java guru to add spellchecker by myself and it's a project policy > thing, so might be it's a thing which worth adoption? > > > -- > With best regards, Ivan Kudryavtsev > Bitworks Software, Ltd. > Cell: +7-923-414-1515 > WWW: http://bitworks.software/ > > rohit.yadav@shapeblue.com > www.shapeblue.com > 53 Chandos Place, Covent Garden, London WC2N 4HSUK > @shapeblue > > > > --=20 Rafael Weing=C3=A4rtner --001a113528202db4a00560c4d638--