[GitHub] cordova-lib pull request: CB-8733 cordova plugin save should also ...

2015-09-10 Thread eymorale
Github user eymorale closed the pull request at: https://github.com/apache/cordova-lib/pull/189 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

RE: 'cordova plugin save' should also save plugin versions

2015-03-25 Thread Tim Barham
I'd like to get input on how 'cordova platform save' and 'cordova plugin save' commands (that save information about all installed platforms or plugins to config.xml) should work with regard to modifying existing version information in config.xml. (Background: I

Re: 'cordova plugin save' should also save plugin versions

2015-03-25 Thread Andrew Grieve
in this area - I'm happy to > make > > >> this change while I'm there. > > >> > > >> Sure, go ahead. I would not be able to get to it until next week. > > > > > > > > > > > >

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Michal Mocny
x27;m currently doing some work in this area - I'm happy to make > >> this change while I'm there. > >> > >> Sure, go ahead. I would not be able to get to it until next week. > > > > > > > >>

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Andrew Grieve
ules and their dependencies: >>> https://docs.npmjs.com/cli/shrinkwrap . It does not look our >>> --shrinkwrap >>> option does that. >>> >>> -Nikhil >>> >>> -Original Message- >>> From: So, Byoungro [mailto:byoungro...@

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Gorkem Ercan
il.com] Sent: Wednesday, March 25, 2015 7:20 AM To: dev@cordova.apache.org Subject: Re: 'cordova plugin save' should also save plugin versions Definitely agree with alignment with npm's save! :D On Tue, Mar 24, 2015 at 1:46 PM, Nikhil Khandelwal wrote: I'm in favor of al

RE: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Tim Barham
esday, March 25, 2015 7:20 AM To: dev@cordova.apache.org Subject: Re: 'cordova plugin save' should also save plugin versions Definitely agree with alignment with npm's save! :D On Tue, Mar 24, 2015 at 1:46 PM, Nikhil Khandelwal wrote: > I'm in favor of alignment of &

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Michal Mocny
t; > From: So, Byoungro [mailto:byoungro...@intel.com] > > Sent: Tuesday, March 24, 2015 12:40 PM > > To: dev@cordova.apache.org > > Subject: Re: 'cordova plugin save' should also save plugin versions > > > > +1 for making the shrinkwrap

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Steven Gill
shrinkwrap . It does not look our --shrinkwrap > option does that. > > -Nikhil > > -Original Message- > From: So, Byoungro [mailto:byoungro...@intel.com] > Sent: Tuesday, March 24, 2015 12:40 PM > To: dev@cordova.apache.org > Subject: Re: 'cordova plugin sa

RE: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Nikhil Khandelwal
day, March 24, 2015 12:40 PM To: dev@cordova.apache.org Subject: Re: 'cordova plugin save' should also save plugin versions +1 for making the shrinkwrap as the default for the wrote: > >I think the problem here is shrinkwrap behaviour is the expected >because platforms

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread So, Byoungro
gt;> "cordova plugin add --save --shrinkwrap". This behaviour allows >>> plugins to >>> be restored to the latest possible version available if they are not >>> explicitly shrinkwrapped. >>> >> >> How about doing what npm does, and always s

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Gorkem Ercan
the latest possible version available if they are not explicitly shrinkwrapped. How about doing what npm does, and always save the version, but save it as "^1.0.3", so that you still get updates, but not major version changes? As for CB-8733, "cordova plugin save" comma

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Andrew Grieve
major version changes? > > As for CB-8733, "cordova plugin save" command can not save the version > information even if it had wanted to because fetch.json is missing that > information. It is a bug. > -- > Gorkem > > On Tue, Mar 24, 2015 at 11:29 AM, Raymon

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Gorkem Ercan
est possible version available if they are not explicitly shrinkwrapped. As for CB-8733, "cordova plugin save" command can not save the version information even if it had wanted to because fetch.json is missing that information. It is a bug. -- Gorkem On Tue, Mar 24, 2015 at 11:29 AM, Raymo

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Edna Y Morales
Ah yes. Looks like it. Thanks, Edna Morales From: Raymond Camden To: dev@cordova.apache.org Date: 03/24/2015 11:30 AM Subject:Re: 'cordova plugin save' should also save plugin versions Is that a dupe of https://issues.apache.org/jira/browse/CB-8594? On Tue, Ma

Re: 'cordova plugin save' should also save plugin versions

2015-03-24 Thread Raymond Camden
Is that a dupe of https://issues.apache.org/jira/browse/CB-8594? On Tue, Mar 24, 2015 at 10:19 AM, Edna Y Morales wrote: > > > Currently, version info is not saved for plugins in the fetch.json. That > needs to be added so that plugin version can be saved in the config.xml. It > should follow wha

'cordova plugin save' should also save plugin versions

2015-03-24 Thread Edna Y Morales
Currently, version info is not saved for plugins in the fetch.json. That needs to be added so that plugin version can be saved in the config.xml. It should follow what 'cordova platform save' does. I created a jira item for this: https://issues.apache.org/jira/browse/CB-8733 and opened a pull req

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-13 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/178 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-12 Thread vladimir-kotikov
Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26284598 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -267,7 +271,8 @@ module.exports = function plugin(command, targets, opts) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-12 Thread vladimir-kotikov
Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26284638 --- Diff: cordova-lib/src/plugman/util/metadata.js --- @@ -59,3 +59,10 @@ exports.save_fetch_metadata = function(pluginsDir, pluginId, data) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-12 Thread vladimir-kotikov
Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26284597 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -234,7 +239,6 @@ module.exports = function plugin(command, targets, opts) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-12 Thread vladimir-kotikov
Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26284609 --- Diff: cordova-lib/src/plugman/fetch.js --- @@ -144,7 +144,10 @@ function fetchPlugin(plugin_src, plugins_dir, options) { });

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-12 Thread vladimir-kotikov
Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26284601 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -278,9 +283,16 @@ module.exports = function plugin(command, targets, opts) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-12 Thread vladimir-kotikov
Github user vladimir-kotikov commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26284603 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -295,14 +307,87 @@ module.exports = function plugin(command, targets, opts) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-10 Thread omefire
Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/178#issuecomment-78182770 Thanks for raising this issue, @gorkem. I just pushed some changes to handle `dependent` plugins and only save `top-level` plugins in config.xml. --- If your projec

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-09 Thread nikhilkh
Github user nikhilkh commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26082685 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -284,6 +284,11 @@ module.exports = function plugin(command, targets, opts) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-09 Thread gorkem
Github user gorkem commented on the pull request: https://github.com/apache/cordova-lib/pull/178#issuecomment-77956329 I was just testing com.ibm.mobile.cordova.ibmpush for something else which seems to pull in another large plugin --- If your project is set up for it, you can reply

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-09 Thread omefire
Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/178#issuecomment-77955992 Interesting. @gorkem, could you give an example of a plugin that has dependency plugins ? I'll carry some testing regarding that. --- If your project is set up for

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-09 Thread gorkem
Github user gorkem commented on the pull request: https://github.com/apache/cordova-lib/pull/178#issuecomment-77955805 I think this saves **all** the installed plugins to config.xml. The dependency plugins ( those plugins that were installed as a dependency of another) should never be

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-09 Thread nikhilkh
Github user nikhilkh commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/178#discussion_r26058485 --- Diff: cordova-lib/src/cordova/plugin.js --- @@ -134,7 +135,7 @@ module.exports = function plugin(command, targets, opts) {

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-06 Thread omefire
Github user omefire commented on the pull request: https://github.com/apache/cordova-lib/pull/178#issuecomment-77661119 @vladimir-kotikov , please review. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project do

[GitHub] cordova-lib pull request: CB-8521 `cordova plugin save` should sav...

2015-03-06 Thread omefire
GitHub user omefire opened a pull request: https://github.com/apache/cordova-lib/pull/178 CB-8521 `cordova plugin save` should save all installed plugins and their version/git-url/folder-location into config.xml CB-8521 `cordova plugin save` should save all installed plugins and

Re: cordova plugin save

2014-08-18 Thread Brian LeRoux
ya this too…again we should save moving plugins to npm for a later date…the problems there aren't ones we have and the reuse symmetry being craved here is already in place given we re-used most of npm's arch and modules… On Mon, Aug 18, 2014 at 6:03 PM, Andrew Grieve wrote: > On Mon, Aug 18, 20

Re: cordova plugin save

2014-08-18 Thread Andrew Grieve
On Mon, Aug 18, 2014 at 5:58 PM, Brian LeRoux wrote: > We don't have to make plugins a package.json thing…we could do that latter. > If we do choose to use package.json highly likely we'll need to reserve a > key for our 'namespace'. Perhaps "cordova". That key could have whatever we > want in it

Re: cordova plugin save

2014-08-18 Thread Brian LeRoux
We don't have to make plugins a package.json thing…we could do that latter. If we do choose to use package.json highly likely we'll need to reserve a key for our 'namespace'. Perhaps "cordova". That key could have whatever we want in it (such as mapping our current config.xml properties/values).

Re: cordova plugin save

2014-08-18 Thread Mark Koudritsky
In order to keep the plugins as project deps in package.json we need to sort out some details of treating plugins as npm packages first: 1) Plugins don't currently have package.json files, and list their deps in plugin.xml. 2) Are we ok with loosing the possibility of specifying platform specific

RE: cordova plugin save

2014-08-18 Thread Brian LeRoux
current config.xml, but does this sound > like something we would like to target for the future? > > -Original Message- > From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal > Mocny > Sent: Monday, August 18, 2014 5:53 AM > To: Treggiari, Leo > Cc: Mic

RE: cordova plugin save

2014-08-18 Thread Parashuram Narasimhan (MS OPEN TECH)
Of Michal Mocny Sent: Monday, August 18, 2014 5:53 AM To: Treggiari, Leo Cc: Michal Mocny; dev Subject: Re: cordova plugin save On Fri, Aug 15, 2014 at 10:29 PM, Treggiari, Leo wrote: > I have a few follow-on questions / comments: > > > > > Run-time Platform-specific config:

Re: cordova plugin save

2014-08-18 Thread Michal Mocny
Cordova > CLI and an IDE could be used seamlessly on the same application. E.g. > support a user who likes to use both at different times, and teams where > some users want to use the CLI and other users want to use an IDE. > > > Leo > > > > *From:* mmo...@google.com

Re: cordova plugin save

2014-08-15 Thread Gorkem Ercan
ust 14, 2014 5:53 AM > To: dev > Cc: Treggiari, Leo > Subject: Re: cordova plugin save > > Summarizing / simplifying since this thread has run away: > > Run-time Platform-specific config: > - Automatically created on prepare from a combination of initial > application templ

RE: cordova plugin save

2014-08-15 Thread Treggiari, Leo
nd teams where some users want to use the CLI and other users want to use an IDE. Leo From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: Thursday, August 14, 2014 5:53 AM To: dev Cc: Treggiari, Leo Subject: Re: cordova plugin save Summarizing / simplifying sinc

Re: cordova plugin save

2014-08-14 Thread Michal Mocny
plugins or platforms to install today > (plugins pull in dependencies for specific platforms so the contents of the > plugins folder is actually not the definitive list). That's what it was > trying to fix. > > > > From: Treggiari, Leo<m

Re: cordova plugin save

2014-08-14 Thread Gorkem Ercan
___ > From: Treggiari, Leo<mailto:leo.treggi...@intel.com> > Sent: ‎8/‎13/‎2014 6:48 PM > To: Chuck Lantz<mailto:cla...@microsoft.com>; > dev@cordova.apache.org<mailto:dev@cordova.apache.org> > Cc: Treggiari, Leo<mailto:leo.treggi...@intel.com> > Subject: RE:

RE: cordova plugin save

2014-08-13 Thread Chuck Lantz
Leo<mailto:leo.treggi...@intel.com> Subject: RE: cordova plugin save Hi Chuck, Thanks for adding the other 'app metadata file' (like AndroidManifest.xml or package.appxmanifest.xml.) to the conversation. It's important to consider that as well. Those are somewhat diffe

RE: cordova plugin save

2014-08-13 Thread Treggiari, Leo
ually fetched? - Can 'restore' be guaranteed to fetch the same exact sources that were in the project that was 'save'd? Does it need to? Thanks, Leo -Original Message- From: Chuck Lantz [mailto:cla...@microsoft.com] Sent: Wednesday, August 13, 2014 3:58 PM T

RE: cordova plugin save

2014-08-13 Thread Chuck Lantz
gle.com] Sent: Wednesday, August 13, 2014 3:27 PM To: Treggiari, Leo Cc: dev@cordova.apache.org Subject: Re: cordova plugin save On Wed, Aug 13, 2014 at 6:07 PM, Treggiari, Leo wrote: > Hi Michal, > > > > Thanks for your answers. They were quite helpful. I have a few >

Re: cordova plugin save

2014-08-13 Thread Michal Mocny
ile, .cordova/config.json for > > > those. However, the list of plugins that your app needs is arguably not > a > > > property of a workspace, but truly a property of your application. Ditto > > > for platforms (to a lesser extent). > > > > > > I&#

Re: cordova plugin save

2014-08-13 Thread Treggiari, Leo
ctory, I > don't think there is anything concrete for that, it was just ramblings of > various contributors ;) > > -Michal > > > On Wed, Aug 13, 2014 at 2:41 PM, Treggiari, Leo > mailto:leo.treggi...@intel.com>> > wrote: > >> I'm new

RE: Feedback on "cordova plugin save" & friends

2014-08-13 Thread Chuck Lantz
about revising and contributing something like it. -Chuck -Original Message- From: Gorkem Ercan [mailto:gorkem.er...@gmail.com] Sent: Wednesday, August 13, 2014 3:37 AM To: dev@cordova.apache.org Cc: Parashuram Narasimhan (MS OPEN TECH) Subject: Re: Feedback on "cordova plugin save" &

Re: cordova plugin save

2014-08-13 Thread Michal Mocny
concrete for that, it was just ramblings of various contributors ;) -Michal On Wed, Aug 13, 2014 at 2:41 PM, Treggiari, Leo wrote: > I'm new to this mailing list. I work on the Intel(r) XDK which is another > IDE which supports the creation of hybrid apps using Cordova plugins

cordova plugin save

2014-08-13 Thread Treggiari, Leo
I'm new to this mailing list. I work on the Intel(r) XDK which is another IDE which supports the creation of hybrid apps using Cordova plugins. I'm having trouble figuring out what the proposed 'cordova plugin save' command does. Is there an up-to-date 'spec'

Re: Feedback on "cordova plugin save" & friends

2014-08-13 Thread Gorkem Ercan
h what CLI can support. > > -Chuck > > -Original Message- > From: Parashuram Narasimhan (MS OPEN TECH) > Sent: Tuesday, August 12, 2014 4:05 PM > To: dev@cordova.apache.org; Chuck Lantz > Subject: RE: Feedback on "cordova plugin save" & friends > &

Re: Feedback on "cordova plugin save" & friends

2014-08-13 Thread Gorkem Ercan
e need PTOs:. :) > > > > > > > > > > > > > > -Chuck > > > > > > -Original Message- > > > From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal > > Mocny > > > Sent: Tuesday, August

Re: Feedback on "cordova plugin save" & friends

2014-08-13 Thread Gorkem Ercan
On Tue, Aug 12, 2014 at 09:36:34PM -0400, Andrew Grieve wrote: > On Tue, Aug 12, 2014 at 6:43 PM, Gorkem Ercan > wrote: > > > > > Just returning from PTO, great timing :) > > > :) > > > > > On Tue, Aug 12, 2014 at 04:06:14PM -0400, Andrew Grieve wrote: > > > Played around with it and it's pretty

Re: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Andrew Grieve
On Tue, Aug 12, 2014 at 6:43 PM, Gorkem Ercan wrote: > > Just returning from PTO, great timing :) > :) > > On Tue, Aug 12, 2014 at 04:06:14PM -0400, Andrew Grieve wrote: > > Played around with it and it's pretty clear to me that the ability to > > record your plugins & platforms in config.xml is

Re: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Andrew Grieve
cordova save platforms --experimental Results in: > > > > > > > -Chuck > > > > -Original Message- > > From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal > Mocny > > Sent: Tuesday, August 12, 2014 1:34 PM > &

RE: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Chuck Lantz
as a perf measure either. -Chuck -Original Message- From: Parashuram Narasimhan (MS OPEN TECH) Sent: Tuesday, August 12, 2014 4:05 PM To: dev@cordova.apache.org; Chuck Lantz Subject: RE: Feedback on "cordova plugin save" & friends Given that we are looking at decoupling

RE: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Parashuram Narasimhan (MS OPEN TECH)
. -Original Message- From: Gorkem Ercan [mailto:gorkem.er...@gmail.com] Sent: Tuesday, August 12, 2014 3:59 PM To: Chuck Lantz Cc: dev@cordova.apache.org Subject: Re: Feedback on "cordova plugin save" & friends On Tue, Aug 12, 2014 at 08:40:25PM +, Chuck Lantz wrote: >

Re: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Gorkem Ercan
2014 1:34 PM > To: dev > Cc: Gorkem Ercan > Subject: Re: Feedback on "cordova plugin save" & friends > > is nice, but why not just as plugin.xml already uses? > config.xml and plugin.xml share lots of tags already, why fork here? > > -Michal > > &

Re: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Gorkem Ercan
Just returning from PTO, great timing :) On Tue, Aug 12, 2014 at 04:06:14PM -0400, Andrew Grieve wrote: > Played around with it and it's pretty clear to me that the ability to > record your plugins & platforms in config.xml is a big step up. > > I do have some specific comments about the curren

RE: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Chuck Lantz
create the project by using the engine element from plugin.xml -Chuck -Original Message- From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: Tuesday, August 12, 2014 1:34 PM To: dev Cc: Gorkem Ercan Subject: Re: Feedback on "cordova plugin save"

Re: Feedback on "cordova plugin save" & friends

2014-08-12 Thread Michal Mocny
is nice, but why not just as plugin.xml already uses? config.xml and plugin.xml share lots of tags already, why fork here? -Michal On Tue, Aug 12, 2014 at 4:06 PM, Andrew Grieve wrote: > Played around with it and it's pretty clear to me that the ability to > record your plugins & platforms

Feedback on "cordova plugin save" & friends

2014-08-12 Thread Andrew Grieve
Played around with it and it's pretty clear to me that the ability to record your plugins & platforms in config.xml is a big step up. I do have some specific comments about the current design though: - Right now the plugin save saves all plugins to config.xml rather than just explicitly-installed