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 9694018C12 for ; Wed, 13 May 2015 16:59:40 +0000 (UTC) Received: (qmail 23198 invoked by uid 500); 13 May 2015 16:59:35 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 23155 invoked by uid 500); 13 May 2015 16:59:35 -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 23143 invoked by uid 99); 13 May 2015 16:59:35 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2015 16:59:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 96CC2C4820 for ; Wed, 13 May 2015 16:59:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.15 X-Spam-Level: *** X-Spam-Status: No, score=3.15 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id qWaN_i25lmB5 for ; Wed, 13 May 2015 16:59:24 +0000 (UTC) Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 1809821784 for ; Wed, 13 May 2015 16:59:24 +0000 (UTC) Received: by qcyk17 with SMTP id k17so25869602qcy.1 for ; Wed, 13 May 2015 09:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tZBnYw4Sn1teUiMKFUJFWshwlS6titOPRetwCS9dUvk=; b=fQUGI1rPsS7YbNkO7R+bezrEoyWaHamTf7C9/2m3wjYrsT0pZKYr1qVfIGDGETFJtK gXbg8/y7CPs/GMthkr+vdl7eMBvC66g4XUtzr0wQfwmQRcgDy4it/NMnaw5/s0Rg/V1W js8g0BtSrJ/jIAjv75Op+szaY6jiXx/PfpBzp5Jcyh48x1r++St4HyY4DgYnW9ACTAzg Xu6ERRj/7/LoDE67CPpfXgL7Cc80p+bbAHhE4ewSMhBYnioRfRwzbRWLKoTOCBaa9sH6 /0eO5p+qNJeduvkZ1caBRJQBdCADP2AVJQclY7sbS8IkiZYLDXXodxPS9A+NYiesQm6a akuw== X-Received: by 10.140.132.80 with SMTP id 77mr29587491qhe.36.1431536357580; Wed, 13 May 2015 09:59:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.187.37 with HTTP; Wed, 13 May 2015 09:58:56 -0700 (PDT) In-Reply-To: References: From: Steven Gill Date: Wed, 13 May 2015 09:58:56 -0700 Message-ID: Subject: Re: [CI] WP8 mobilespec failing to get created (CB-9021) To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a11c07daa13a5270515f988de --001a11c07daa13a5270515f988de Content-Type: text/plain; charset=ISO-8859-1 I will create a new thread for dropping the suffix On Wed, May 13, 2015 at 9:20 AM, Nikhil Khandelwal wrote: > +1 for dropping the suffix - if there is no real good reason for it. I > will make the change to WP8 as it's blocking WP8 CI testing. > > Thanks, > Nikhil > > > -----Original Message----- > From: Jesse [mailto:purplecabbage@gmail.com] > Sent: Tuesday, May 12, 2015 5:15 PM > To: dev@cordova.apache.org > Subject: Re: [CI] WP8 mobilespec failing to get created (CB-9021) > > > On the flip side, if we do not update cordova-js with the latest on > > its > master, > we would have found this bug CB-8996 much later > > Yeah, true. > > Ultimately I would like to see the entire matrix of possibilities. > > cordova-wp8@npm-published-version + cordova-js@master cordova-wp8@master > cordova-wp8@master + cordova-js@master ... multiply by all platforms Some > things we would expect to fail, others not. > I also would prefer we run individual plugin tests, but that gets messy > real fast. > > > Should the code for cordova-lib be updated to strip out '-dev' suffix? > Yes. I never liked having a version suffix, I never understood why we > needed it. I would prefer we discuss removing it entirely instead of > working around it. Am I missing something? > > > > > > > @purplecabbage > risingj.com > > On Tue, May 12, 2015 at 4:44 PM, Nikhil Khandelwal > > wrote: > > > On the flip side, if we do not update cordova-js with the latest on > > its master, we would have found this bug > > https://issues.apache.org/jira/browse/CB-8996 much later - only when > > the cordova.js would have merged to the platform repo - which I > > believe happens only around the time of a release? > > > > Here's the real failure: > > Failed to install 'cordova-plugin-file-transfer':CordovaError: Plugin > > doesn't support this project's cordova-wp8 version. cordova-wp8: > > 4.0.0-dev, failed version requirement: >=4.0.0 > > > > Looks like cordova-lib's version comparison using semver, which does > > not recognize 'dev' in the version of WP8 and fails: > > > > if ( semver.satisfies(engine.currentVersion, > > engine.minVersion) || engine.currentVersion === null ) { > > // engine ok! > > } else { > > var msg = 'Plugin doesn\'t support this project\'s ' + > > engine.name + ' version. ' + > > engine.name + ': ' + engine.currentVersion + > > ', failed version requirement: ' + > engine.minVersion; > > return Q.reject(new CordovaError(msg)); > > } > > > > Should the code for cordova-lib be updated to strip out '-dev' suffix? > > > > -Nikhil > > > > -----Original Message----- > > From: Jesse [mailto:purplecabbage@gmail.com] > > Sent: Tuesday, May 12, 2015 4:30 PM > > To: dev@cordova.apache.org > > Subject: Re: [CI] WP8 mobilespec failing to get created (CB-9021) > > > > I am not entirely sure what the best approach is, personally I would > > just expect it to build with the cordova.js installed by the version. > > There is no guarantee that platforms and cordova-js are in sync at any > > given time. Maybe we should put this behind a flag and have the CI > > run it both with and without ... not sure. > > > > > > > > @purplecabbage > > risingj.com > > > > On Tue, May 12, 2015 at 3:56 PM, Dmitry Blotsky > > > > wrote: > > > > > Mobilespec builds it by design, I think, to use the latest version > > > of cordova.js. Is that undesired behaviour? We're always using the > > > master version of cordova-wp8 in periodic CI builds. > > > > > > Kindly, > > > Dmitry > > > > > > > On May 12, 2015, at 3:22 PM, Jesse wrote: > > > > > > > > What version of cordova-wp8 are you testing? > > > > The failure seems like is doing what it should ... > > > > cordova-wp8@<4.0.0 should not be able to install > > > > cordova-plugin-file-transfer@4.0.0 > > > > > > > > Also, why is createmobilespec always building cordova-js? I would > > > > expect this to sporadically break. > > > > > > > > @purplecabbage > > > > risingj.com > > > > > > > > On Tue, May 12, 2015 at 2:58 PM, Dmitry Blotsky > > > > > > > > wrote: > > > > > > > >> Hi all, > > > >> > > > >> Mobilespec is failing to get created on WP8 because there is an > > > >> issue > > > with > > > >> dependencies in package.json. I've created a JIRA: > > > >> https://issues.apache.org/jira/browse/CB-9021. > > > >> > > > >> Kindly, > > > >> Dmitry > > > >> > > > > > > > > > -------------------------------------------------------------------- > > > - To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > > For additional commands, e-mail: dev-help@cordova.apache.org > > > > > > --001a11c07daa13a5270515f988de--