[TESTING NEEDED] Re: cordova plugin add and variables

2013-07-30 Thread Filip Maj
Hi folks,

Jeff from BlackBerry has kicked the work off to pass flags down to
lower-level scripts. This should enable people to provide variables and
other install-time configurations when working with plugins through our
cli tool, as well as passing other useful flags to platform-level scripts
such as `build --release` or whatnot.

I have added a refactor of the CLI shim and also bumped cli's required
plugman version to 0.10.0 (which has support for iOS framework reference
counting).

The cli branch is on apache under passThrough [1].

If possible, I would love it if folks from BlackBerry and Google and
anyone else consuming the cli's latest could take this branch for a spin
and make sure your workflows pan out as desired. It has a few different
features/changes all bundled into one so I sort of see this branch as a
bit higher risk than usual.

Cheers and thanks in advance,
Fil 

[1] 
https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=shortlog;h=refs
/heads/passThrough


On 7/24/13 6:20 PM, Brian LeRoux b...@brian.io wrote:

Hugely useful thx Fil
On Jul 24, 2013 7:21 PM, Shazron shaz...@gmail.com wrote:

 Awesome, thx!


 On Wed, Jul 24, 2013 at 3:59 PM, Filip Maj f...@adobe.com wrote:

  FYI I've resolved that issue and merged into
  https://issues.apache.org/jira/browse/CB-4273 as a bigger pass all
 flags
  to lower-level scripts/modules issue.
 
  On 7/22/13 12:49 PM, Shazron shaz...@gmail.com wrote:
 
  Thanks Fil,
  Filed https://issues.apache.org/jira/browse/CB-4352
  
  
  On Mon, Jul 22, 2013 at 12:42 PM, Filip Maj f...@adobe.com wrote:
  
   Yeah file an issue. Maybe this needs to be encapsulated as a larger
   feature, I'm thinking, any flags you use with the cli get pushed
down
 to
   the underlying tools. This way people could do `cordova build
  --release`,
   for example.
  
   On 7/22/13 12:33 PM, Shazron shaz...@gmail.com wrote:
  
   I didn't see it in the help. For example when trying to install
the
   Facebook Connect plugin it complains about APP_ID variable not
being
  set
   (plugman supports variables  however).
   
   Does anyone know the syntax to set a variable, or does this
feature
  need
   to
   be filed as an issue?
  
  
 
 




Re: cordova plugin add and variables

2013-07-24 Thread Filip Maj
FYI I've resolved that issue and merged into
https://issues.apache.org/jira/browse/CB-4273 as a bigger pass all flags
to lower-level scripts/modules issue.

On 7/22/13 12:49 PM, Shazron shaz...@gmail.com wrote:

Thanks Fil,
Filed https://issues.apache.org/jira/browse/CB-4352


On Mon, Jul 22, 2013 at 12:42 PM, Filip Maj f...@adobe.com wrote:

 Yeah file an issue. Maybe this needs to be encapsulated as a larger
 feature, I'm thinking, any flags you use with the cli get pushed down to
 the underlying tools. This way people could do `cordova build
--release`,
 for example.

 On 7/22/13 12:33 PM, Shazron shaz...@gmail.com wrote:

 I didn't see it in the help. For example when trying to install the
 Facebook Connect plugin it complains about APP_ID variable not being
set
 (plugman supports variables  however).
 
 Does anyone know the syntax to set a variable, or does this feature
need
 to
 be filed as an issue?





Re: cordova plugin add and variables

2013-07-24 Thread Shazron
Awesome, thx!


On Wed, Jul 24, 2013 at 3:59 PM, Filip Maj f...@adobe.com wrote:

 FYI I've resolved that issue and merged into
 https://issues.apache.org/jira/browse/CB-4273 as a bigger pass all flags
 to lower-level scripts/modules issue.

 On 7/22/13 12:49 PM, Shazron shaz...@gmail.com wrote:

 Thanks Fil,
 Filed https://issues.apache.org/jira/browse/CB-4352
 
 
 On Mon, Jul 22, 2013 at 12:42 PM, Filip Maj f...@adobe.com wrote:
 
  Yeah file an issue. Maybe this needs to be encapsulated as a larger
  feature, I'm thinking, any flags you use with the cli get pushed down to
  the underlying tools. This way people could do `cordova build
 --release`,
  for example.
 
  On 7/22/13 12:33 PM, Shazron shaz...@gmail.com wrote:
 
  I didn't see it in the help. For example when trying to install the
  Facebook Connect plugin it complains about APP_ID variable not being
 set
  (plugman supports variables  however).
  
  Does anyone know the syntax to set a variable, or does this feature
 need
  to
  be filed as an issue?
 
 




Re: cordova plugin add and variables

2013-07-24 Thread Brian LeRoux
Hugely useful thx Fil
On Jul 24, 2013 7:21 PM, Shazron shaz...@gmail.com wrote:

 Awesome, thx!


 On Wed, Jul 24, 2013 at 3:59 PM, Filip Maj f...@adobe.com wrote:

  FYI I've resolved that issue and merged into
  https://issues.apache.org/jira/browse/CB-4273 as a bigger pass all
 flags
  to lower-level scripts/modules issue.
 
  On 7/22/13 12:49 PM, Shazron shaz...@gmail.com wrote:
 
  Thanks Fil,
  Filed https://issues.apache.org/jira/browse/CB-4352
  
  
  On Mon, Jul 22, 2013 at 12:42 PM, Filip Maj f...@adobe.com wrote:
  
   Yeah file an issue. Maybe this needs to be encapsulated as a larger
   feature, I'm thinking, any flags you use with the cli get pushed down
 to
   the underlying tools. This way people could do `cordova build
  --release`,
   for example.
  
   On 7/22/13 12:33 PM, Shazron shaz...@gmail.com wrote:
  
   I didn't see it in the help. For example when trying to install the
   Facebook Connect plugin it complains about APP_ID variable not being
  set
   (plugman supports variables  however).
   
   Does anyone know the syntax to set a variable, or does this feature
  need
   to
   be filed as an issue?
  
  
 
 



cordova plugin add and variables

2013-07-22 Thread Shazron
I didn't see it in the help. For example when trying to install the
Facebook Connect plugin it complains about APP_ID variable not being set
(plugman supports variables  however).

Does anyone know the syntax to set a variable, or does this feature need to
be filed as an issue?


Re: cordova plugin add and variables

2013-07-22 Thread Filip Maj
Yeah file an issue. Maybe this needs to be encapsulated as a larger
feature, I'm thinking, any flags you use with the cli get pushed down to
the underlying tools. This way people could do `cordova build --release`,
for example.

On 7/22/13 12:33 PM, Shazron shaz...@gmail.com wrote:

I didn't see it in the help. For example when trying to install the
Facebook Connect plugin it complains about APP_ID variable not being set
(plugman supports variables  however).

Does anyone know the syntax to set a variable, or does this feature need
to
be filed as an issue?