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 2BA3CC948 for ; Sat, 19 May 2012 00:44:20 +0000 (UTC) Received: (qmail 12137 invoked by uid 500); 19 May 2012 00:44:20 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 12107 invoked by uid 500); 19 May 2012 00:44:20 -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 12098 invoked by uid 99); 19 May 2012 00:44:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2012 00:44:19 +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 anis.kadri@gmail.com designates 209.85.213.47 as permitted sender) Received: from [209.85.213.47] (HELO mail-yw0-f47.google.com) (209.85.213.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2012 00:44:15 +0000 Received: by yhjj56 with SMTP id j56so3676391yhj.6 for ; Fri, 18 May 2012 17:43:54 -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=djwvrN4BEoTzRnFQa7Bl6AytWr7Ugsn3D+DckOsJyKg=; b=fI3y4jkCyOxLd/mDWHQscqyEiY6u/QH+YqlpgXZrFeo7e4Ju5w2+ktC7iMVzw+zUIf /ZFVZpGa/OBObWTwfi0AAu8PjWS1BEfFQODdFWgMzd8tNNss5ss7kK/GX598pLE95W5E iyaJiKIirsHSSr2Su5ui85dS6pUyiOWUNT+QtRLmdrP6ktNPuFuRO1cwAY7bvwGtlwXq nI4oGnkbgIZU7FqNHGvpQZWAYTM+aVMETtZsQOrdiO0AGErWlwHT9ze3sLUMRwaKoZWO uscxmjZNZJOWQJux7IZgE/e61FnWYdZf6MfMX5de8FodkS+jTkGrR8hPP/1VsxBkMkV7 rbTA== MIME-Version: 1.0 Received: by 10.236.170.130 with SMTP id p2mr14441461yhl.73.1337388234757; Fri, 18 May 2012 17:43:54 -0700 (PDT) Received: by 10.236.50.18 with HTTP; Fri, 18 May 2012 17:43:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 18 May 2012 17:43:54 -0700 Message-ID: Subject: Re: jshint and white-space "fixes" From: Anis KADRI To: callback-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf30563e57a8d60604c058f6aa X-Virus-Checked: Checked by ClamAV on apache.org --20cf30563e57a8d60604c058f6aa Content-Type: text/plain; charset=ISO-8859-1 I usually do a build/run tests before every commit. Not sure what happened there. 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 > > --20cf30563e57a8d60604c058f6aa--