Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5C9110086 for ; Wed, 18 Sep 2013 19:11:25 +0000 (UTC) Received: (qmail 14294 invoked by uid 500); 18 Sep 2013 19:11:24 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 14221 invoked by uid 500); 18 Sep 2013 19:11:24 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 14128 invoked by uid 99); 18 Sep 2013 19:11:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 19:11:21 +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 (nike.apache.org: domain of bowserj@gmail.com designates 209.85.212.51 as permitted sender) Received: from [209.85.212.51] (HELO mail-vb0-f51.google.com) (209.85.212.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Sep 2013 19:11:15 +0000 Received: by mail-vb0-f51.google.com with SMTP id x16so5500289vbf.38 for ; Wed, 18 Sep 2013 12:10:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=PDIflEi3ZE8WymKCvLk9fMjVKclVnXat0vWH2mxDaMs=; b=B1C/eQpAVCG684fE5uGY41RAk2VhJPXOpEQd6gaIrbGdk/PPKCUJNCX+LPmCggSbna /xAZcU9BR3wU9mi/Aa4G9B19EwJKHMkgJJPSRCQXZ/Bzy+9Hlo5QtN/lMwujdCEpQqtm SE+MIS1AOnRsHczaVzXzc7xIr/lOjQ+V0prVTiXAPXWL9D0MiCQYIrDHLuoroaXRzTEr l0YDTthcOKuAnLdfRwyEPLs9tc+BJsVn8hgPOyJUJf46sEXNOga3nJgGkTkTEHlg2/dS 4ewlcibo//sNNFSDk/TQladrqN0bLy8+r+Y5Hr98740P1pG9CR+LM7mrLExOsS2NF4Et m+3Q== MIME-Version: 1.0 X-Received: by 10.58.19.233 with SMTP id i9mr24976vee.36.1379531454632; Wed, 18 Sep 2013 12:10:54 -0700 (PDT) Received: by 10.220.183.5 with HTTP; Wed, 18 Sep 2013 12:10:54 -0700 (PDT) Reply-To: bowserj@apache.org In-Reply-To: References: Date: Wed, 18 Sep 2013 12:10:54 -0700 Message-ID: Subject: Re: Cordova JS, CordovaWebView and Coho From: Joe Bowser To: Andrew Grieve Cc: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org OK, that's pretty damn dishonest. I did pull and see that it was retagged like you said it was yesterday. I think blaming me for using the old tag back before you retagged is a pretty crap thing to do. Also, Why in the hell are we storing the version in CordovaWebView.java? Does it need to be there? I thought that we've gone past having to hardcode Android versions in Java files. On Wed, Sep 18, 2013 at 12:04 PM, Andrew Grieve wrote: > The extra hash on the end was the reason for the re-tag of cordova-js. Maybe > you forgot to "git pull" and still have your cordova-js at the previous tag? > > Coho's not involved in any of that. The code is in > cordova-js/build/packager.js > > > On Wed, Sep 18, 2013 at 2:35 PM, Joe Bowser wrote: >> >> After I let Andrew do the tagging of RC1, I noticed something that >> looks broken by the fact that I can't reproduce this result without >> using coho, and I can't find in the source where coho messes with the >> build labels. >> >> Now, as well all know, the JS is generated by Grunt. Assuming that >> we're going to be building off the same branch for the JS, we should >> all be getting the same JS by doing this: >> >> git checkout 3.1.0-rc1 >> grunt >> >> That produces a JS file with this header: >> 3.1.0-rc1-0-g0d70465 >> >> However, when you look at the JS checked into Android, it's simply just >> this: >> 3.1.0-rc1 >> >> Now, they're the same, but when we remove the hash from the build, we >> have to believe that it's the same thing. What's worse, I can't see >> where in coho that we delete the hash from the build label. >> >> I know that this was cited as one of the things that I was doing wrong >> with the release process, but I have no idea why it's wrong to have >> the hash in the header of the JS, since this is what you get when >> manually generate the JS from the tag that is on the CordovaJS >> repository. I think that this process isn't transparent, and I can't >> find anywhere in the coho command that messes with this. >> >> Anyone know why one is correct, and one is wrong? This seems pretty >> subjective. >> >> Joe > >