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 1528517F79 for ; Tue, 21 Apr 2015 15:38:02 +0000 (UTC) Received: (qmail 61950 invoked by uid 500); 21 Apr 2015 15:38:01 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 61915 invoked by uid 500); 21 Apr 2015 15:38:01 -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 61870 invoked by uid 99); 21 Apr 2015 15:38:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 15:38:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for dev@cordova.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2015 15:37:36 +0000 Received: from mail-vn0-f51.google.com (mail-vn0-f51.google.com [209.85.216.51]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8489425F40 for ; Tue, 21 Apr 2015 15:37:34 +0000 (UTC) Received: by vnbg1 with SMTP id g1so33256997vnb.2 for ; Tue, 21 Apr 2015 08:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=V3KLpfA0DMjPzZgQV3ao6ZIuBtmbAQ1iufoGsOIH/Iw=; b=ZBAcCFlKuzkV6QQrM26fEgTAsq1HNYSEpG3MZATLKtPWjxTGUDpJb/XJ9/FfkQCH65 LfRqelj/mK2mNvCnOWtAr7OTnLLOUd9kX1chZCake6oUNBj79J2bYctZyUsdr6DXfrXL Zl/BsIJWbjiwUmhhSgC2ZFXXuiKmAp64cLUF3/yClD+x9CJSlXOiCpiqpLRwxRDq9DcG hoa6es9RRua0fbrk6Jc1G61FFNWpdeMkCzRSqCucLOXePHMZs4KGNUcyKkzvKkqxL2FW 8amkCS+uQAXaGZBsjZeq2yMdqR0XmSx84kjsBluYo6MN/kcKuHzaS0Q1GBvjZCAFEfXh qHMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=V3KLpfA0DMjPzZgQV3ao6ZIuBtmbAQ1iufoGsOIH/Iw=; b=hUXc9Ni4hWnIjuvVoECGXVoo0BeW4UF8A3XsnZK1W2XtDeuCL96kVgHRMiIzHrpd1j pWeo3+G+MP4kTAzBEYQKTtUmYskU6lq8sMCjujE4HeAHYPYqWxi57u2OfrAWJiwP/Vtk TGSPmWDuorwYybM40Tee9gGxV4FL/mNiPRZe8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=V3KLpfA0DMjPzZgQV3ao6ZIuBtmbAQ1iufoGsOIH/Iw=; b=Ng7SGiH6nXSMtzHFgLIXa3+LAPW4wgcD0OOPZEihpNENUwAAv7ij+KOKKMq8x4JBZ4 iqo+oNqQYm529q1kKjxYCrMY9xWa5q3WNW46RFvT/qilwNnWSdQEunk2GQf3GcR7SKEy GJOOhrb3rHoI+7boWaXkjgPtCX0pBnCdKBZQp1hNhVLp0kYrhwo1QK8uD3BKqyJ6vTs9 TA0A4XneEx6N6JLYUfEHol428Kc8i3sb021CQQjBWEalj7OrjUlzKEHrUyCI206qPPBF wHCs70SWwoCujbC2k6i+8zBoi0zdxZS12Pi9R2X5mtA+o7Hk0Y6+6gch+i+eTbaXtwOY heBw== X-Gm-Message-State: ALoCoQmxtdycJND6wJlcZBYVrzmdaCbetX8fP99wfGWObiziPjkmGv9UOpsKUFaBU/IgOpVJ9LU2 X-Received: by 10.52.125.170 with SMTP id mr10mr22539062vdb.82.1429630653339; Tue, 21 Apr 2015 08:37:33 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.52.181.170 with HTTP; Tue, 21 Apr 2015 08:37:12 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Tue, 21 Apr 2015 11:37:12 -0400 X-Google-Sender-Auth: aMXM9VdpQCSkxIdayU3Uuuibf0A Message-ID: Subject: Re: Scoped package names for npm? To: dev Content-Type: multipart/alternative; boundary=bcaec51b9f3540b23405143dd3cc X-Virus-Checked: Checked by ClamAV on apache.org --bcaec51b9f3540b23405143dd3cc Content-Type: text/plain; charset=UTF-8 Okay fair enough. I was hoping that with the lack of tools release to stable, we can rename without affecting end users *right now*, but not *soon*. If we never want to use scopes, fair enough. If we ever do, it will only get more difficult. -Michal On Tue, Apr 21, 2015 at 11:04 AM, Andrew Grieve wrote: > Given the state of some of our plugins, dropping the distinguishing > namespace might be a good thing :P > > On Tue, Apr 21, 2015 at 8:45 AM, Horn, Julian C > wrote: > > > I am also against another rename. These name changes are very costly and > > disruptive. > > > > There is code in several places that assumes that you can enumerate the > > plugins selected by a project by enumerating the subdirectories of > plugins. > > If you allow a plugin root folder to be more than a single directory, > > like "@cordova/plugin-device" then you break that code. > > > > Also, please remember that when you rename a plugins, you require people > > to update every tag that refers to that plugin, unless you > > want to rely on the rename machinery forever. > > > > Julian > > > > -----Original Message----- > > From: Steven Gill [mailto:stevengill97@gmail.com] > > Sent: Monday, April 20, 2015 9:42 PM > > To: dev@cordova.apache.org > > Subject: Re: Scoped package names for npm? > > > > I also like scoped packages but am against another rename. Haha. > > > > I know organizations are coming soon so we will be able to create the > > Cordova organization and I believe scope packages that way. Add PMC > members > > to the organization to be able to publish instead of relying on a Cordova > > npm user account. > > > > Lets wait and see how it goes. > > On Apr 20, 2015 2:29 PM, "Jesse" wrote: > > > > > re: the scoped package id, I like it, but not sure we want to change > > > them again ... and how much of our existing world will it break. Can > > > we install an '@' id currently on all platforms? It will result in a > > > www/plugins/@cordova/plugin-device/ folder right now, won't it? > > > > > > re: other questions > > > Personally, I would rather see only committers able to publish to our > > > scope (assuming we go that way), just like we wanted to prevent non > > > committers from using org.apache.cordova namespace. > > > > > > I considered 'cordova plugin add device' awhile back, I was going to > > > do it directly in plugman, but I decided against it. Currently it > > > would mean a 3rd attempt to find the plugin over http; 1) cpr, 2) npm, > > > 3)munge name and go back to npm By this time, I think I would just ask > > > the user what they really want. > > > We could also do this via cordova-registry-mapper aliases. > > > > > > > > > > > > @purplecabbage > > > risingj.com > > > > > > On Mon, Apr 20, 2015 at 2:13 PM, Parashuram N (MS OPEN TECH) < > > > panarasi@microsoft.com> wrote: > > > > > > > Scopes are like namespaces. In the reverse domain name world, > > > > org.apache.cordova was considered a namespace, right ? > > > > > > > > We did not want non core packages to publish to that namespace, so > > > > does the same argument apply ? > > > > > > > > Alternatively, we can think of scope as packages that apply to a > > > > particular environment - for example, all cordova packages would be > > > > @cordova scope. > > > > > > > > -----Original Message----- > > > > From: Michal Mocny [mailto:mmocny@google.com] > > > > Sent: Monday, April 20, 2015 2:03 PM > > > > To: dev > > > > Subject: Re: Scoped package names for npm? > > > > > > > > Other questions to answer: > > > > - Can 3rd-parties publish to this scope? > > > > - Do we want them to? > > > > - Do we want to default to @cordova scope if none is provided, such > > > > that you could do `cordova plugin add device`? > > > > > > > > -Michal > > > > > > > > > > > > On Mon, Apr 20, 2015 at 5:00 PM, Michal Mocny > > wrote: > > > > > > > > > https://docs.npmjs.com/getting-started/scoped-packages > > > > > > > > > > Should we be @cordova/plugin-device instead of > cordova-plugin-device? > > > > > > > > > > -Michal > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > For additional commands, e-mail: dev-help@cordova.apache.org > > > > > --bcaec51b9f3540b23405143dd3cc--