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 CB5C5EF69 for ; Thu, 7 Feb 2013 15:37:30 +0000 (UTC) Received: (qmail 66279 invoked by uid 500); 7 Feb 2013 15:37:30 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 65922 invoked by uid 500); 7 Feb 2013 15:37:26 -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 65887 invoked by uid 99); 7 Feb 2013 15:37:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 15:37:24 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FRT_ADOBE2,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of agrieve@google.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 15:37:18 +0000 Received: by mail-ob0-f173.google.com with SMTP id dn14so2863469obc.32 for ; Thu, 07 Feb 2013 07:36:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=EGKsRwrLjD6c5Ezed7B/hhJ+4E2Ai5QtIIVlr9Renx4=; b=EK6HP+6n94hHGVf/EXsnhpMauML9JbOlNBtXIK5O3ur6nnoYwKqNShSnrWCvQxZMY2 uPKY7fh6I69Bi3XGnMKv4wu2p7lsTZaefNOZw/DOJi2MIReLGuGEZ+ALe1USywTaisct TRQsaFRwao+Nu0/T3kpNYyZaeq5KAgA6tpzXsXSdsAvZAdmk83VWXo1JqvAROxBqRU4d GYypoo39mRUBsr+eQa0AANG0RQBQqDQCh7MGIKAtNxzil6KQZw5crI4sd3EOIFYZQ2sY bo+kH5IuzxDNMBRpPguR3uCxQGK8J07XHi/9G65hSEp6EqK8hSPdUdY25No8Lu3cLovx lrtQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=EGKsRwrLjD6c5Ezed7B/hhJ+4E2Ai5QtIIVlr9Renx4=; b=T5TaZVuMvwrtsp+DSHMa16ZhCT3X6mbnzqx/x4mVLyJ20dK+kUtLzZCnmCHjWfmltf j84L4zL/FIkxDBvmpKQ0jJ825Ox+glzQCde3cGgMiQ9Fjx9PKa9jz1jB7Vnl/Xizc3k8 AiaevVWbUAnAG8eE6dhWBqBXr90Lasg23S8pM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :x-gm-message-state; bh=EGKsRwrLjD6c5Ezed7B/hhJ+4E2Ai5QtIIVlr9Renx4=; b=bn6pW1vUTfXyv1LtnslTbq607nDzHR0rG58tTYDs7W8diL8svNtSYYUBzKf781z120 8SJcJEb7H9GFMtHqd/s2wjRww7Z0fXePOn+4FPsZK8QeOOsNddec5LbS0Gm0hu3eBzUi +Zihesgq2S0VCowHHUZGHc51QqN5bfY5vtOanvXHUOtrnbuvGuO+AA2k0bCfah4hoiQV K9YEWV2ncFbzqZq8/ezk6oLa2N21SQliB7fpfDmlqQOrqmUtvFh9Pxpvnb2jH2liTKQt gczeGzPe++p82CcvYO2JYb3AnE/orXom0wUzF7LMeSqBwvvSyD2dYyS/WPtfF4W0nA34 eF9Q== X-Received: by 10.60.26.137 with SMTP id l9mr1394727oeg.17.1360251416627; Thu, 07 Feb 2013 07:36:56 -0800 (PST) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.89.200 with HTTP; Thu, 7 Feb 2013 07:36:36 -0800 (PST) In-Reply-To: <917CD5D3-4A79-4DE4-8B7A-6D7E932C7728@gmail.com> References: <917CD5D3-4A79-4DE4-8B7A-6D7E932C7728@gmail.com> From: Andrew Grieve Date: Thu, 7 Feb 2013 10:36:36 -0500 X-Google-Sender-Auth: dFKDCwJBphuFiLnHZg88gJdjkp8 Message-ID: Subject: Re: Creating repos for core plugins To: dev Content-Type: multipart/alternative; boundary=e89a8fb2055a7e49e404d5243601 X-Gm-Message-State: ALoCoQmi1ziQb9qsirnnFHX55dQy6thQX2Vu9ExWR3c3v1fpHREf1nIDg+9NcHzXqS5Ue8bynVRiHwbUy8WS/PqHNzlrABBtWJE7juUEQsDsXMqEF5ldlXG4oBubWXeWKBG/EJyGr8sUrGypUJ2XQMkUU/pxVeHZQ0rh+aoWWu8BzIls1SXofPjwI0Wf6V9lDTIY6MwaFZT5 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb2055a7e49e404d5243601 Content-Type: text/plain; charset=ISO-8859-1 Yep, agree. Until we can actually come up with something better, we need to support Media. On Wed, Feb 6, 2013 at 3:13 PM, Becky Gibson wrote: > Well, we still need an API/plugin for playing audio. The w3c spec is > pretty involved. In the past Simon has suggested we try to unify around > HTML audio. At any rate I don't think we can just get rid of it. > > Sent from my iPhone > > On Feb 6, 2013, at 2:52 PM, Andrew Grieve wrote: > > > +1 > > > > > > On Wed, Feb 6, 2013 at 2:41 PM, Brian LeRoux wrote: > > > >> So instead of revisiting it just let it die and kick up a new one for > web > >> audio? > >> > >> On Wed, Feb 6, 2013 at 11:23 AM, Andrew Grieve > >> wrote: > >>> So... back to cordova-plugin-media then? > >>> > >>> > >>> On Wed, Feb 6, 2013 at 1:59 PM, Brian LeRoux wrote: > >>> > >>>> exactly! And plugins, I think, will end up being independently > >>>> versioned so if ppl want old and busted they can have it. =P > >>>> > >>>> On Wed, Feb 6, 2013 at 10:48 AM, Andrew Grieve > >>>> wrote: > >>>>> SGTM. First step towards deprecation is turning it into a plugin so > >> that > >>>>> people can not install it :) > >>>>> > >>>>> > >>>>> On Wed, Feb 6, 2013 at 1:41 PM, Brian LeRoux wrote: > >>>>> > >>>>>> I was thinkin we'd just deprecate the media spec altogether for a > >>>>>> starter/subset of the web audio api (perhaps polyfil the audio > >> element > >>>>>> while we're at it). > >>>>>> > >>>>>> .... should we kick up a thread about that? > >>>>>> > >>>>>> (Added file transfer to the non-spec plugins.) > >>>>>> > >>>>>> > >>>>>> On Wed, Feb 6, 2013 at 10:22 AM, Filip Maj wrote: > >>>>>>> Totally makes sense to separate them. > >>>>>>> > >>>>>>> File is spec-based, FileTransfer is not. > >>>>>>> > >>>>>>> On 2/6/13 10:16 AM, "Andrew Grieve" wrote: > >>>>>>> > >>>>>>>> I thought FileTransfer was a part of File. Maybe it makes sense to > >>>>>>>> separate > >>>>>>>> them though? > >>>>>>>> > >>>>>>>> > >>>>>>>> On Wed, Feb 6, 2013 at 12:00 PM, Becky Gibson > >>>>>>>> wrote: > >>>>>>>> > >>>>>>>>> Yes, I shouldn't have confused the issue about audio and media! > >> I > >>>>>>>>> guess I > >>>>>>>>> just get annoyed when I go to mobile spec and it is labelled as > >>>> "audio" > >>>>>>>>> :-) > >>>>>>>>> We can leave it as cordova-plugin-media so it matches the JS api > >>>> name. > >>>>>>>>> Although, I think we are creating the same type of confusion if > >> we > >>>>>>>>> rename > >>>>>>>>> capture to media-capture but I don't have a strong opinion on > >> that. > >>>>>>>>> Plus, > >>>>>>>>> I see we are doing that for acceleration and compass as well. I > >>>> guess > >>>>>>>>> now > >>>>>>>>> is as good a time as any to match the W3C names! > >>>>>>>>> > >>>>>>>>> Also, where is FileTransfer? > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Wed, Feb 6, 2013 at 11:12 AM, Andrew Grieve < > >>>> agrieve@chromium.org> > >>>>>>>>> wrote: > >>>>>>>>> > >>>>>>>>>> Great! I like the spec-based names. I think I have the opposite > >>>>>>>>> thought > >>>>>>>>> as > >>>>>>>>>> Becky. Our current media plugin doesn't follow the WebAudio > >> spec > >>>> at > >>>>>>>>> all. > >>>>>>>>>> How about we call it cordova-media for now since that's what > >> it's > >>>>>>>>> called > >>>>>>>>> in > >>>>>>>>>> our docs, and then if we ever implement WebAudio, then we'll > >> have > >>>> the > >>>>>>>>> name > >>>>>>>>>> available for that. Maybe we should even put it the spec-less > >>>>>> category > >>>>>>>>>> (unless there's some older spec that it was based off of?) > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> On Tue, Feb 5, 2013 at 5:14 PM, Brian LeRoux > >> wrote: > >>>>>>>>>> > >>>>>>>>>>> Just kicked up a quick wiki page to help vett this. I'm > >>>> thinking we > >>>>>>>>>>> try to stay as close to the spec names as possible. > >> http://wiki.apache.org/cordova/Core%20Plugin%20Name%20Proposal > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> On Tue, Feb 5, 2013 at 11:40 AM, Becky Gibson > >>>>>>>>> > >>>>>>>>>>> wrote: > >>>>>>>>>>>> My only comment would be about media. Currently it just > >>>> supports > >>>>>>>>> audio > >>>>>>>>>>> so > >>>>>>>>>>>> perhaps codova-plugin-audio makes more sense and we can > >> leave > >>>>>>>>> media > >>>>>>>>>> open > >>>>>>>>>>>> for the rewrite. Although, I do realize the api is > >> labelled > >>>>>>>>> "media" > >>>>>>>>> so > >>>>>>>>>>>> perhaps it would be too confusing to change the repo name. > >>>> Just > >>>>>> a > >>>>>>>>>>>> thought..... > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> On Tue, Feb 5, 2013 at 1:38 PM, Andrew Grieve > >>>>>>>>> > >>>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>>> Before I go ahead with this, let's agree upon the repo > >> names > >>>> / > >>>>>>>>> which > >>>>>>>>>>>>> plugins to include. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Here's the proposed list: > >>>>>>>>>>>>> > >>>>>>>>>>>>> Repos to create: > >>>>>>>>>>>>> > >>>>>>>>>>>>> cordova-plugin-accelerometer > >>>>>>>>>>>>> cordova-plugin-battery > >>>>>>>>>>>>> cordova-plugin-camera > >>>>>>>>>>>>> cordova-plugin-capture > >>>>>>>>>>>>> cordova-plugin-compass > >>>>>>>>>>>>> cordova-plugin-contacts > >>>>>>>>>>>>> cordova-plugin-device > >>>>>>>>>>>>> cordova-plugin-file > >>>>>>>>>>>>> cordova-plugin-geolocation > >>>>>>>>>>>>> cordova-plugin-globalization > >>>>>>>>>>>>> cordova-plugin-logger > >>>>>>>>>>>>> cordova-plugin-media > >>>>>>>>>>>>> cordova-plugin-networkstatus > >>>>>>>>>>>>> cordova-plugin-notification > >>>>>>>>>>>>> cordova-plugin-splashscreen > >>>>>>>>>>>>> cordova-plugin-inappbrowser > >>>>>>>>>>>>> > >>>>>>>>>>>>> Note that I have device and network status in this list. > >>>> Plugins > >>>>>>>>> that > >>>>>>>>>>> delay > >>>>>>>>>>>>> ondeviceready just add themselves to > >>>>>>>>> channel.deviceReadyChannelsArray. > >>>>>>>>>>>>> > >>>>>>>>>>>>> Plugins *not* getting their own Repo: > >>>>>>>>>>>>> > >>>>>>>>>>>>> blackberry/plugin/java/app > >>>>>>>>>>>>> android/plugin/android/app > >>>>>>>>>>>>> android/plugin/android/storage > >>>>>>>>>>>>> errgen/plugin/errgen > >>>>>>>>>>>>> ios/plugin/ios/console (seems like this should be merged > >> into > >>>>>> the > >>>>>>>>>> logger > >>>>>>>>>>>>> plugin) > >>>>>>>>>>>>> windowsphone/plugin/windowsphone/DOMStorage > >>>>>>>>>>>>> windowsphone/plugin/windowsphone/XHRPatch > >>>>>>>>>>>>> windowsphone/plugin/windowsphone/console > >>>>>>>>>>>>> iOS's CDVLocalStorage.m > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> On Tue, Feb 5, 2013 at 9:34 AM, Andrew Grieve > >>>>>>>>> >>>>>>>>>> > >>>>>>>>>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> Great! Sounds like an agreement :). I'll file an INFRA > >> to > >>>> get > >>>>>>>>> them > >>>>>>>>>>>>> created. > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> On Mon, Feb 4, 2013 at 9:44 PM, Shazron < > >> shazron@gmail.com > >>>>> > >>>>>>>>> wrote: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> +1 on separate repos. It's the sane choice. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Mon, Feb 4, 2013 at 11:53 PM, Jesse > >>>>>>>>> > >>>>>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> +1, I agree on the separate repositories. > >>>>>>>>>>>>>>>> I still contend that nothing should need to be > >> 'built' > >>>> and > >>>>>>>>> there > >>>>>>>>>>>>> should > >>>>>>>>>>>>>>> be > >>>>>>>>>>>>>>>> NO dependencies on the plugins from cordova-js, ( > >> aside > >>>>>> from > >>>>>>>>>>>>> device.js + > >>>>>>>>>>>>>>>> network.js which are both required pre device ready, > >>>> and I > >>>>>>>>> think > >>>>>>>>>>>>> should > >>>>>>>>>>>>>>>> remain in the cordova-js repo ) > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> On Mon, Feb 4, 2013 at 2:46 PM, Anis KADRI < > >>>>>>>>> anis.kadri@gmail.com > >>>>>>>>>>> > >>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> +1 for separate repositories. Should take a bit > >> longer > >>>>>>>>> than > >>>>>>>>>>> normal > >>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>> package a release but not too long especially if > >> the > >>>>>> repos > >>>>>>>>> are > >>>>>>>>>>>>> pulled > >>>>>>>>>>>>>>>> from > >>>>>>>>>>>>>>>>> a local source (ie no network overhead). > >>>>>>>>>>>>>>>>> I'd be ok to ship a set of default plugins and give > >>>> the > >>>>>>>>> ability > >>>>>>>>>>> for > >>>>>>>>>>>>>>>> people > >>>>>>>>>>>>>>>>> to build their 'own' Cordova. > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> On Mon, Feb 4, 2013 at 2:11 PM, Brian LeRoux < > >>>> b@brian.io > >>>>>>> > >>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> I'm in favor of discreet plugin repos. It > >> shouldn't > >>>>>>>>> effect > >>>>>>>>> a > >>>>>>>>>>>>> release > >>>>>>>>>>>>>>>>>> if we automate install/remove and add to the Coho > >>>>>>>>> tool... > >>>>>>>>>>> though > >>>>>>>>>>>>>>>>>> perhaps this is a naive assumption. > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> On Mon, Feb 4, 2013 at 1:44 PM, Andrew Grieve < > >>>>>>>>>>>>> agrieve@chromium.org > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>>>> Thought it'd be worth having a discussion > >> around > >>>>>>>>> whether > >>>>>>>>> we > >>>>>>>>>>>>> want a > >>>>>>>>>>>>>>>>>> separate > >>>>>>>>>>>>>>>>>>> repo for each core plugin or not. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> As far as I can see, we can either have all > >> core > >>>>>>>>> plugins > >>>>>>>>> in > >>>>>>>>>>> one > >>>>>>>>>>>>>>> repo, > >>>>>>>>>>>>>>>>> or > >>>>>>>>>>>>>>>>>>> have each in it's own and call them: > >>>>>>>>>>>>>>>>>>> cordova-plugin-file > >>>>>>>>>>>>>>>>>>> cordova-plugin-network > >>>>>>>>>>>>>>>>>>> cordova-plugin-media > >>>>>>>>>>>>>>>>>>> etc... > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> I think my preference would be to have them as > >>>> their > >>>>>>>>> own > >>>>>>>>>>> repos > >>>>>>>>>>>>> so > >>>>>>>>>>>>>>>> that > >>>>>>>>>>>>>>>>> it > >>>>>>>>>>>>>>>>>>> will be easier to add/remove lists of plugins > >> to > >>>> the > >>>>>>>>> "which > >>>>>>>>>>> ones > >>>>>>>>>>>>>>> are > >>>>>>>>>>>>>>>>>> core" > >>>>>>>>>>>>>>>>>>> list. It will also let us version them > >> separately > >>>> (if > >>>>>>>>> we > >>>>>>>>>>> want to > >>>>>>>>>>>>>>> do > >>>>>>>>>>>>>>>>>> this). > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> The downside is that it may take longer to > >>>> perform a > >>>>>>>>>> release? > >>>>>>>>>>>>>>> Would > >>>>>>>>>>>>>>>> we > >>>>>>>>>>>>>>>>>> even > >>>>>>>>>>>>>>>>>>> bundle the plugins with releases anyways > >> though? > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> -- > >>>>>>>>>>>>>>>> @purplecabbage > >>>>>>>>>>>>>>>> risingj.com > >> > --e89a8fb2055a7e49e404d5243601--