Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-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 89917CA95 for ; Thu, 17 May 2012 21:43:36 +0000 (UTC) Received: (qmail 20830 invoked by uid 500); 17 May 2012 21:43:36 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 20806 invoked by uid 500); 17 May 2012 21:43:36 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 20779 invoked by uid 99); 17 May 2012 21:43:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 21:43:36 +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 purplecabbage@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 21:43:31 +0000 Received: by werg55 with SMTP id g55so1584451wer.6 for ; Thu, 17 May 2012 14:43:10 -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 :content-type; bh=/lC2WUkSpUmhx1uRufl8gCfXu5GA6Bmaaed1nXBfInI=; b=ThEVwa7arjByoOJk/6820GiX39j60dvPeu2LGmPE/fvGOG6NQRE34APqdGrpySUwMq 1DH1tVjImTY32+WaqYKaGeY7NgjIQ3wk2GWFJmNqVQC5Bi+RCrvfIJzwEjXtcNz1S5is EiA8G+kaz7XrN+99Bf86CC6C4yAL+5BhCuB9l3Nh0gxPrzzHKszEVDMcKbFeZifoMeNM lSk/WN0A0K8+upu8703eHSUcHVdT/bSFB8ZcD5I1uKp7JafShlUelXgHGdijkL3dNUlL kSb74hXOuQIJVbU/L2pUF5l4Uzvz8FD5/l06u0LwPNbRWHJbW2RNrn9xwWUx1DAv6fEd 7TEQ== MIME-Version: 1.0 Received: by 10.216.212.234 with SMTP id y84mr5631927weo.81.1337290990437; Thu, 17 May 2012 14:43:10 -0700 (PDT) Received: by 10.216.196.35 with HTTP; Thu, 17 May 2012 14:43:10 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 May 2012 14:43:10 -0700 Message-ID: Subject: Re: jshint and white-space "fixes" From: Jesse To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6d5900972462204c04252ff X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d5900972462204c04252ff Content-Type: text/plain; charset=ISO-8859-1 +1, I mentioned this to Fil a while ago, but he was being anal that day. Personally, I think the builder should just build, and the Linter should just lint, but having Linting built into the builder is non-destructive, and informational only, so I can live with it. On Thu, May 17, 2012 at 2:32 PM, Filip Maj wrote: > K I get that. So let's change it to only complain and not re-write tabs. > And trailing white space if that applies here. > > Also, srsly, run the tests/a build before you push commits. Comeon folks > (I'm looking at you Mr. Bada!) > > On 5/17/12 2:16 PM, "Patrick Mueller" wrote: > > >> "why you gotta do this to me pat?" [1] > > > >jshint didn't complain to me at all, even though it seems to be running as > >part of every build. [2] What am I doing wrong? > > > >That seems weird, because in, fact, I >did< see whitespace fixes in that > >bada file (that you "fixed" in your commit), AFTER I had done a build. > > Because the white-space-fixer DOES run as part of the build [3]. Of > >course, I didn't make any changes to the bada file, so was a little > >confused it showed up as a mod in git status. (I reverted it before I did > >my commit, so my "fixed" version was not committed). > > > >It seems wrong to have the white-space-fixer run like that. I don't mind > >it COMPLAINING about a file with "wrong" whitespace during a "build". I > >DO > >NOT LIKE that it rewrites source code during a "build". > > > >The fact that a bada file with "bad whitespace" ended up committed means > >someone didn't do a build after changing the file, sometime before it was > >committed, since the evil white-space-fixer-behind-your-back woulda fixed > >it up. >THAT< is a problem. > > > >[1] > > > http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit > >;h=b1673e3e > >[2] > >https://github.com/apache/incubator-cordova-js/blob/master/Jakefile#L60 > >[3] > >https://github.com/apache/incubator-cordova-js/blob/master/Jakefile#L101 > > > >-- > >Patrick Mueller > >http://muellerware.org > > -- @purplecabbage risingj.com --0016e6d5900972462204c04252ff--