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 CAF9810CAD for ; Wed, 11 Feb 2015 23:21:27 +0000 (UTC) Received: (qmail 33696 invoked by uid 500); 11 Feb 2015 23:21:27 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 33656 invoked by uid 500); 11 Feb 2015 23:21:27 -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 33644 invoked by uid 99); 11 Feb 2015 23:21:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 23:21:27 +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 (athena.apache.org: domain of gorkem.ercan@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 23:21:22 +0000 Received: by iecar1 with SMTP id ar1so8039102iec.0 for ; Wed, 11 Feb 2015 15:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=nPlmOoKmQDZHoDtOOXl5pTeaSQnBRR0JotvI94b/B9w=; b=ceUZ1cg9ZPoqEcLBmXdGgkYOD2kUjoz974qZgM6D03BC0eM/FpqSrA4wRL4BsVdZrm rI/ih1apRilDrQ18BYtUQmWVU030Oizxq+UlSUyyEk8wKjvMNA3MWl0EQ898hgVFRl0s Vqno/7BU213uLdDkAwaN26W/xDg/SvOxY7HJfCWHXhfQZe8UNnX84eiJJ1jXyNn1mKwY /nepGiZskYvwfPPvS9tTcO2K1/hN8QGBjk+YlR4XTerKeUJaNzlEymsXHj7xHCEYPgXN 6jvLTi69kLZKlps/jqia3OD/fn+gIvm+nkV4j9IgB0VmQnI9BXN4aUmy+hopvwu2OWBa xy5g== X-Received: by 10.43.34.137 with SMTP id ss9mr5794342icb.11.1423696817123; Wed, 11 Feb 2015 15:20:17 -0800 (PST) Received: from [10.10.62.113] (bas1-oakville54-1279297324.dsl.bell.ca. [76.64.135.44]) by mx.google.com with ESMTPSA id o8sm53973igp.11.2015.02.11.15.20.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 11 Feb 2015 15:20:16 -0800 (PST) From: "Gorkem Ercan" To: dev Subject: Re: Schedule for npm transition Date: Wed, 11 Feb 2015 18:20:15 -0500 Message-ID: <9CDDC605-0C9A-47D5-875F-A8E7D9F5434F@gmail.com> In-Reply-To: References: <2F4839DC-CD04-419B-A050-1EF61AA831A2@gmail.com> <85A3E123BABF314D9D3656D0B4181256448C5DA1@FMSMSX103.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailer: MailMate Trial (1.9r5055) X-Virus-Checked: Checked by ClamAV on apache.org On 11 Feb 2015, at 15:50, Michal Mocny wrote: > Leo, restore will still work. The only information stored in the = > saves > list is a set of plugin ids (and versions?). Restoring will go = > through the > steps Steve outlines above, and either download from CPR or be mapped > automatically to the npm equivalent. After the deprecation cutoff, = > plugins > that aren't in the mapper may fail to restore -- so we could improve = > the Any ideas what that mapper will look like? part of CLI, online service? > rollout plan by starting to warn users adding plugins that still fetch = > from > CPR. > > -Michal > > On Wed, Feb 11, 2015 at 2:58 PM, Treggiari, Leo = > > wrote: > >> The proposal contains suggestions, alternatives and comments. >> >>> >> https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-= 9DpYkcmfs/edit?usp=3Dsharing >> >> When will there be a final version that is the official plan? >> >> One other question: Soon we will have optional 'save' of plugin = >> metadata >> in config.xml. When CPR is turned off, there will be saved metadata = >> which >> is no longer valid - i.e. a restore will fail. This is because the = >> 'name' >> used to fetch a plugin (cordova-plugin-device) as well as the = >> location will >> change. Is there anything that can be done to mitigate that? Is = >> the name >> change really necessary - why can't we stick with the current names? >> >> Thanks, >> Leo >> >> -----Original Message----- >> From: Steven Gill [mailto:stevengill97@gmail.com] >> Sent: Wednesday, February 11, 2015 11:40 AM >> To: dev@cordova.apache.org >> Subject: Re: Schedule for npm transition >> >> Correct! For the first 3 months, all requests will hit CPR first, if = >> CPR >> fails, we will try to fetch from npm. >> >> If users run "cordova plugin add cordova-plugin-device", it would hit = >> CPR, >> fail, go to npm, succeed. >> >> If we use the mapper module, "cordova plugin add >> org.apache.cordova.device" would be converted to = >> cordova-plugin-device, hit >> CPR, fail, go to npm, succeed. >> >> After 3 months, "cordova plugin add cordova-plugin-device" would hit = >> npm >> first and succeed. >> >> We want to use these 3 months to get our developers to update their = >> tools >> and use the new names for plugins to install. >> >> On Wed, Feb 11, 2015 at 10:36 AM, Michal Mocny >> wrote: >> >>> Steve, npm fetch default only affects plugins that use same name in = >>> both >>> places, right? >>> >>> If we create cordova-plugin-device today, and tell users to start = >>> using >>> cordova plugin add cordova-plugin-device, then we will get much user >>> feedback on npm fetching far before May 18th, right? >>> >>> On Wed, Feb 11, 2015 at 1:09 PM, Steven Gill = >>> >>> wrote: >>> >>>> We don't have one yet but we should pick dates soon. >>>> >>>> How about: >>>> >>>> CPR Switch to read only: Monday, May 18th >>>> NPM fetch becomes default: Monday, May 18th >>>> CPR offline: Monday, August 17th >>>> >>>> Based on the following proposal: >>>> >>>> >>> >> https://docs.google.com/document/d/12WAXJa6jfY3BnNHGieK9QOqvZ6cl3OXmP-= 9DpYkcmfs/edit?usp=3Dsharing >>>> >>>> - Need to start educating plugin developers to publish to npm as = >>>> well >> as >>>> CPR for next three months. (blog post) >>>> - Need to educate users to install plugins via new names (if >>> package-name >>>> is different than id). Our core plugins are being renamed from >>>> org.apache.cordova.device to cordova-plugin-device >>>> - Inform devs who are working with registry directly to pull = >>>> plugins >> from >>>> npm instead of CPR. After 3 months, CPR plugins will start to = >>>> become >> out >>> of >>>> date compared to npm versions. >>>> >>>> Our next plugins release (after the one currently ongoing) will be >>>> published to npm as well as cpr. >>>> >>>> >>>> >>>> On Wed, Feb 11, 2015 at 9:10 AM, Gorkem Ercan = >>>> >>>> wrote: >>>> >>>>> >>>>> Is there a determined calendar for the npm move of the plugins? >>>>> I think the scheduling of the transition is crucial for those who = >>>>> are >>>>> using the plugin registry directly. >>>>> -- >>>>> Gorkem >>>>> >>>>> -------------------------------------------------------------------= -- >>>>> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org >>>>> For additional commands, e-mail: dev-help@cordova.apache.org >>>>> >>>>> >>>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org >> For additional commands, e-mail: dev-help@cordova.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org