Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-10 Thread Kerri Shotts
Useful or not, I don’t think uploading binaries belongs in core. There are 
plenty of third-party offerings that work well, and they shoulder the support 
as well. Bringing uploading into core is just one more thing that Cordova devs 
would then need to support.

So although it’s useful and time-saving, it should be a third-party 
plugin/add-on, not core, in my opinion.

~ Kerri Shotts




From: Maxime Alexandre <maxime.alexan...@wininup.com>
Reply: dev@cordova.apache.org <dev@cordova.apache.org>
Date: November 10, 2015 at 4:35:46 AM
To: dev@cordova.apache.org <dev@cordova.apache.org>
Subject:  Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI  

I get your point, still think though that it would be a useful feature for  
many developers because it saves lots of time when you have your apps  
already set up. Cordova could later work on making Continuous Integration  
an easy step.  

Talking about documenting the process of adding one app to the stores is  
not an easy task and it could take a lot of time to make a great and useful  
doc, not just a basic text with no clear explanations, that's why i think  
i'm not the best guy to do that. I would be happy to contribute if the  
structure of the documentation on this subject was already defined. I'm  
thinking like videos of screen captures of the various steps of could be a  
better option than raw text.  

--  
Maxime  


On Mon, Nov 9, 2015 at 9:02 PM, Tommy Williams <to...@devgeeks.org> wrote:  

> Agree. The actual submission is such a small part over the overall pain.  
> There are plenty of places we could make the day to day development better  
> for all platforms before submission.  
>  
>  
> On 10 November 2015 at 06:43:42, Jesse (purplecabb...@gmail.com) wrote:  
>  
> Ultimately this is optimizing 1% of the process of building an  
> application,  
> I would much rather see focus on the 99% that is developing and testing  
> ...  
>  


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-10 Thread Connor Pearson
I agree with keeping it out of core. I think it's similar to livereload
plugin. It could be really useful to developers, but it's not necessary for
building a Cordova app.

On Tue, Nov 10, 2015 at 3:29 PM, Parashuram N <panar...@microsoft.com>
wrote:

> I personally think that this is super useful. Maybe it does not make sense
> in the code, but I would love to use this as a node module in my build
> process. It would be a good start to put get a node module that does it. If
> Cordova developers use it, it would then be a matter of simply consuming
> that code. If there are legal issues, they developers at least have a
> choice of using this "third party" node module.
>
> -Original Message-
> From: Kerri Shotts [mailto:kerrisho...@gmail.com]
> Sent: Tuesday, November 10, 2015 12:26 PM
> To: Maxime Alexandre <maxime.alexan...@wininup.com>;
> dev@cordova.apache.org
> Subject: Re: Integrate binaries (apk / ipa) upload to stores into Cordova
> CLI
>
> Useful or not, I don’t think uploading binaries belongs in core. There are
> plenty of third-party offerings that work well, and they shoulder the
> support as well. Bringing uploading into core is just one more thing that
> Cordova devs would then need to support.
>
> So although it’s useful and time-saving, it should be a third-party
> plugin/add-on, not core, in my opinion.
>
> ~ Kerri Shotts
>
>
>
>
> From: Maxime Alexandre <maxime.alexan...@wininup.com>
> Reply: dev@cordova.apache.org <dev@cordova.apache.org>
> Date: November 10, 2015 at 4:35:46 AM
> To: dev@cordova.apache.org <dev@cordova.apache.org>
> Subject:  Re: Integrate binaries (apk / ipa) upload to stores into Cordova
> CLI
>
> I get your point, still think though that it would be a useful feature for
> many developers because it saves lots of time when you have your apps
> already set up. Cordova could later work on making Continuous Integration
> an easy step.
>
> Talking about documenting the process of adding one app to the stores is
> not an easy task and it could take a lot of time to make a great and useful
> doc, not just a basic text with no clear explanations, that's why i think
> i'm not the best guy to do that. I would be happy to contribute if the
> structure of the documentation on this subject was already defined. I'm
> thinking like videos of screen captures of the various steps of could be a
> better option than raw text.
>
> --
> Maxime
>
>
> On Mon, Nov 9, 2015 at 9:02 PM, Tommy Williams <to...@devgeeks.org> wrote:
>
> > Agree. The actual submission is such a small part over the overall pain.
> > There are plenty of places we could make the day to day development
> > better for all platforms before submission.
> >
> >
> > On 10 November 2015 at 06:43:42, Jesse (purplecabb...@gmail.com) wrote:
> >
> > Ultimately this is optimizing 1% of the process of building an
> > application, I would much rather see focus on the 99% that is
> > developing and testing ...
> >
>


RE: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-10 Thread Parashuram N
I personally think that this is super useful. Maybe it does not make sense in 
the code, but I would love to use this as a node module in my build process. It 
would be a good start to put get a node module that does it. If Cordova 
developers use it, it would then be a matter of simply consuming that code. If 
there are legal issues, they developers at least have a choice of using this 
"third party" node module. 

-Original Message-
From: Kerri Shotts [mailto:kerrisho...@gmail.com] 
Sent: Tuesday, November 10, 2015 12:26 PM
To: Maxime Alexandre <maxime.alexan...@wininup.com>; dev@cordova.apache.org
Subject: Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

Useful or not, I don’t think uploading binaries belongs in core. There are 
plenty of third-party offerings that work well, and they shoulder the support 
as well. Bringing uploading into core is just one more thing that Cordova devs 
would then need to support.

So although it’s useful and time-saving, it should be a third-party 
plugin/add-on, not core, in my opinion.

~ Kerri Shotts




From: Maxime Alexandre <maxime.alexan...@wininup.com>
Reply: dev@cordova.apache.org <dev@cordova.apache.org>
Date: November 10, 2015 at 4:35:46 AM
To: dev@cordova.apache.org <dev@cordova.apache.org>
Subject:  Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI  

I get your point, still think though that it would be a useful feature for many 
developers because it saves lots of time when you have your apps already set 
up. Cordova could later work on making Continuous Integration an easy step.  

Talking about documenting the process of adding one app to the stores is not an 
easy task and it could take a lot of time to make a great and useful doc, not 
just a basic text with no clear explanations, that's why i think i'm not the 
best guy to do that. I would be happy to contribute if the structure of the 
documentation on this subject was already defined. I'm thinking like videos of 
screen captures of the various steps of could be a better option than raw text. 
 

--
Maxime  


On Mon, Nov 9, 2015 at 9:02 PM, Tommy Williams <to...@devgeeks.org> wrote:  

> Agree. The actual submission is such a small part over the overall pain.  
> There are plenty of places we could make the day to day development 
> better for all platforms before submission.
>  
>  
> On 10 November 2015 at 06:43:42, Jesse (purplecabb...@gmail.com) wrote:  
>  
> Ultimately this is optimizing 1% of the process of building an 
> application, I would much rather see focus on the 99% that is 
> developing and testing ...
>  


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-10 Thread Maxime Alexandre
I get your point, still think though that it would be a useful feature for
many developers because it saves lots of time when you have your apps
already set up. Cordova could later work on making Continuous Integration
an easy step.

Talking about documenting the process of adding one app to the stores is
not an easy task and it could take a lot of time to make a great and useful
doc, not just a basic text with no clear explanations, that's why i think
i'm not the best guy to do that. I would be happy to contribute if the
structure of the documentation on this subject was already defined. I'm
thinking like videos of screen captures of the various steps of could be a
better option than raw text.

--
Maxime


On Mon, Nov 9, 2015 at 9:02 PM, Tommy Williams  wrote:

> Agree. The actual submission is such a small part over the overall pain.
> There are plenty of places we could make the day to day development better
> for all platforms before submission.
>
>
> On 10 November 2015 at 06:43:42, Jesse (purplecabb...@gmail.com) wrote:
>
> Ultimately this is optimizing 1% of the process of building an
> application,
> I would much rather see focus on the 99% that is developing and testing
> ...
>


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-09 Thread Maxime Alexandre
Thanks Connor for this script. It's "simpler" for iOS because you don't
need to modify Cordova source files, whereas for Android, i need to change
the gradle build file to integrate more instructions. I'll try your script
and get back to you.

--
Maxime


On Mon, Nov 9, 2015 at 12:55 PM, Connor Pearson  wrote:

> If you're interested, I created a proof of concept for iOS using deliver.
> https://github.com/cjpearson/cordova-package-upload
>
> It works as an after_build hook. If you add --upload to the build command,
> it will upload the ipa to the store.
>
> On Mon, Nov 9, 2015 at 5:09 AM, Maxime Alexandre <
> maxime.alexan...@wininup.com> wrote:
>
> > Hey! Thanks everyone for your answers. Just to be more precise, this
> upload
> > command could, at first, only upload the binaries and not creating the
> > whole process (meta, images, descriptions...) which is quite complex as
> we
> > all know. So it should first focus on uploading a new binary to an
> existing
> > projet. To sym up :
> >
> >- On Google Play, there is an official way to upload your APK through
> >their API (i successfully uploaded my APK file using
> >https://github.com/bluesliverx/gradle-android-publisher which use
> this
> >API.
> >- On Apple Store, the existing tools both use the iTMSTransporter
> >protocol (nomad/shenzhen, fastlane/deliver) in order to upload the
> > binary
> >to Apple. Not sure if we can call that "official" but it's quite safe
> to
> >use and looks like it's not going to change soon.
> >- Other stores i didn't look up yet
> >
> > We all agree it must be an official support method from the stores.
> Sounds
> > like an excellent idea to be able to plug extensions to the Cordova CLI
> via
> > NPM modules. I'll try to migrate my existing code as a plugin or hook to
> > Cordova CLI, add some docs then i'll PR.
> >
> > --
> > Maxime
> >
> >
> > On Sat, Nov 7, 2015 at 2:05 PM, Carlos Santana 
> > wrote:
> >
> > > Bless you Shaz :-)
> > >
> > > Yeah officially supporting unofficial methods not good idea. This is
> > > similar as old ios-sim or ios-deploy
> > >
> > > Before solving uploading, I would prefer to see improved docs and UX
> for
> > > packaging.
> > >
> > > For uploading this is something that lives in user land tools. With
> this
> > > said would love to accommodate in Cordova a way for this user land
> > features
> > > able to extend Cordova tooling.
> > >
> > > Today what we have are plugins and hooks, this is the approach today
> > being
> > > use for livereload plugin.
> > >
> > > At work we have being solving some problems in our CLI related to cli
> > > extensions/plugability.
> > > I think some of the solutions are applicable to Cordova cli. The basic
> > > idea is extending or adding CLI command or actions via extensions that
> > are
> > > packaged as npm modules, that anyone can add to a released CLI.
> > > Maybe this could be another way to make our tools pluggable in addition
> > of
> > > hooks.
> > >
> > > - Carlos
> > > @csantanapr
> > >
> > > > On Nov 6, 2015, at 10:25 PM, Connor Pearson 
> wrote:
> > > >
> > > > Would a hook or plugin work better then?
> > > >
> > > >> On Fri, Nov 6, 2015 at 8:42 PM, Shazron  wrote:
> > > >>
> > > >> The problem with using "unofficial" methods is, at least for some of
> > > >> our code contributors *cough IBM*, it won't fly with them, and IMO
> I'd
> > > >> rather not support unofficial methods as well in this project.
> > > >>
> > > >> e.g. http://stackoverflow.com/a/13232352 which appears to show a
> > > >> command line tool that allows upload, but guess what, they removed
> it
> > > >> in Xcode 7.1 
> > > >>
> > > >>> On Fri, Nov 6, 2015 at 4:58 PM, Connor Pearson 
> > > wrote:
> > > >>> There are some command line tools that support uploading an ipa (
> > > >>> https://github.com/nomad/shenzhen,
> > https://github.com/fastlane/deliver
> > > )
> > > >> so
> > > >>> it is possible. I don't think Apple officially supports this
> though,
> > so
> > > >> it
> > > >>> may be prone to breaking.
> > > >>>
> > >  On Fri, Nov 6, 2015 at 7:08 PM, Tommy Williams <
> to...@devgeeks.org>
> > > >>> wrote:
> > > >>>
> > >  I am with Jesse… I think it would be great, but wouldn’t hold my
> > > breath.
> > > 
> > >  Also agree documenting the process would be fantastic both as a
> > > reality
> > >  check and a resource for our users.
> > > 
> > >  The more we can provide after "Hello World", the better.
> > > 
> > >  - tommy
> > > 
> > > 
> > >  On 7 November 2015 at 09:54:41, Jesse (purplecabb...@gmail.com)
> > > wrote:
> > > 
> > >  Yes, I too see the value, but I think it's a bit of wishful
> > thinking.
> > > I
> > >  would love to be proven wrong though.
> > >  There are vast differences between the stores submission
> processes,
> > as
> > > >> well
> > >  as the meta that 

Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-09 Thread Tommy Williams
Agree. The actual submission is such a small part over the overall pain. There 
are plenty of places we could make the day to day development better for all 
platforms before submission.


On 10 November 2015 at 06:43:42, Jesse (purplecabb...@gmail.com) wrote:

Ultimately this is optimizing 1% of the process of building an application, 
I would much rather see focus on the 99% that is developing and testing ... 

Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-09 Thread Jesse
Again, not allowed by Apple, so I would rather not waste time with this.
+ The current implementation is probably not how we would want to extend
our tooling. Shoe-horning a cli plugin into the runtime plugin definition
is interesting, but fragile.

Ultimately this is optimizing 1% of the process of building an application,
I would much rather see focus on the 99% that is developing and testing ...

Additionally, having this functionality available on Android (the only
place it will work) and not on other platforms will just confuse users, I
would rather skip it all together.

Documenting the steps required to submit an app to each app store however,
is an awesome idea, and seemingly a requirement of this work anyway, so why
not just do that first?

Cheers,
  Jesse




@purplecabbage
risingj.com

On Mon, Nov 9, 2015 at 6:15 AM, Maxime Alexandre <
maxime.alexan...@wininup.com> wrote:

> Thanks Connor for this script. It's "simpler" for iOS because you don't
> need to modify Cordova source files, whereas for Android, i need to change
> the gradle build file to integrate more instructions. I'll try your script
> and get back to you.
>
> --
> Maxime
>
>
> On Mon, Nov 9, 2015 at 12:55 PM, Connor Pearson  wrote:
>
> > If you're interested, I created a proof of concept for iOS using deliver.
> > https://github.com/cjpearson/cordova-package-upload
> >
> > It works as an after_build hook. If you add --upload to the build
> command,
> > it will upload the ipa to the store.
> >
> > On Mon, Nov 9, 2015 at 5:09 AM, Maxime Alexandre <
> > maxime.alexan...@wininup.com> wrote:
> >
> > > Hey! Thanks everyone for your answers. Just to be more precise, this
> > upload
> > > command could, at first, only upload the binaries and not creating the
> > > whole process (meta, images, descriptions...) which is quite complex as
> > we
> > > all know. So it should first focus on uploading a new binary to an
> > existing
> > > projet. To sym up :
> > >
> > >- On Google Play, there is an official way to upload your APK
> through
> > >their API (i successfully uploaded my APK file using
> > >https://github.com/bluesliverx/gradle-android-publisher which use
> > this
> > >API.
> > >- On Apple Store, the existing tools both use the iTMSTransporter
> > >protocol (nomad/shenzhen, fastlane/deliver) in order to upload the
> > > binary
> > >to Apple. Not sure if we can call that "official" but it's quite
> safe
> > to
> > >use and looks like it's not going to change soon.
> > >- Other stores i didn't look up yet
> > >
> > > We all agree it must be an official support method from the stores.
> > Sounds
> > > like an excellent idea to be able to plug extensions to the Cordova CLI
> > via
> > > NPM modules. I'll try to migrate my existing code as a plugin or hook
> to
> > > Cordova CLI, add some docs then i'll PR.
> > >
> > > --
> > > Maxime
> > >
> > >
> > > On Sat, Nov 7, 2015 at 2:05 PM, Carlos Santana 
> > > wrote:
> > >
> > > > Bless you Shaz :-)
> > > >
> > > > Yeah officially supporting unofficial methods not good idea. This is
> > > > similar as old ios-sim or ios-deploy
> > > >
> > > > Before solving uploading, I would prefer to see improved docs and UX
> > for
> > > > packaging.
> > > >
> > > > For uploading this is something that lives in user land tools. With
> > this
> > > > said would love to accommodate in Cordova a way for this user land
> > > features
> > > > able to extend Cordova tooling.
> > > >
> > > > Today what we have are plugins and hooks, this is the approach today
> > > being
> > > > use for livereload plugin.
> > > >
> > > > At work we have being solving some problems in our CLI related to cli
> > > > extensions/plugability.
> > > > I think some of the solutions are applicable to Cordova cli. The
> basic
> > > > idea is extending or adding CLI command or actions via extensions
> that
> > > are
> > > > packaged as npm modules, that anyone can add to a released CLI.
> > > > Maybe this could be another way to make our tools pluggable in
> addition
> > > of
> > > > hooks.
> > > >
> > > > - Carlos
> > > > @csantanapr
> > > >
> > > > > On Nov 6, 2015, at 10:25 PM, Connor Pearson 
> > wrote:
> > > > >
> > > > > Would a hook or plugin work better then?
> > > > >
> > > > >> On Fri, Nov 6, 2015 at 8:42 PM, Shazron 
> wrote:
> > > > >>
> > > > >> The problem with using "unofficial" methods is, at least for some
> of
> > > > >> our code contributors *cough IBM*, it won't fly with them, and IMO
> > I'd
> > > > >> rather not support unofficial methods as well in this project.
> > > > >>
> > > > >> e.g. http://stackoverflow.com/a/13232352 which appears to show a
> > > > >> command line tool that allows upload, but guess what, they removed
> > it
> > > > >> in Xcode 7.1 
> > > > >>
> > > > >>> On Fri, Nov 6, 2015 at 4:58 PM, Connor Pearson  >
> > > > wrote:
> > > > >>> There are some command line tools 

Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-09 Thread Maxime Alexandre
Hey! Thanks everyone for your answers. Just to be more precise, this upload
command could, at first, only upload the binaries and not creating the
whole process (meta, images, descriptions...) which is quite complex as we
all know. So it should first focus on uploading a new binary to an existing
projet. To sym up :

   - On Google Play, there is an official way to upload your APK through
   their API (i successfully uploaded my APK file using
   https://github.com/bluesliverx/gradle-android-publisher which use this
   API.
   - On Apple Store, the existing tools both use the iTMSTransporter
   protocol (nomad/shenzhen, fastlane/deliver) in order to upload the binary
   to Apple. Not sure if we can call that "official" but it's quite safe to
   use and looks like it's not going to change soon.
   - Other stores i didn't look up yet

We all agree it must be an official support method from the stores. Sounds
like an excellent idea to be able to plug extensions to the Cordova CLI via
NPM modules. I'll try to migrate my existing code as a plugin or hook to
Cordova CLI, add some docs then i'll PR.

--
Maxime


On Sat, Nov 7, 2015 at 2:05 PM, Carlos Santana  wrote:

> Bless you Shaz :-)
>
> Yeah officially supporting unofficial methods not good idea. This is
> similar as old ios-sim or ios-deploy
>
> Before solving uploading, I would prefer to see improved docs and UX for
> packaging.
>
> For uploading this is something that lives in user land tools. With this
> said would love to accommodate in Cordova a way for this user land features
> able to extend Cordova tooling.
>
> Today what we have are plugins and hooks, this is the approach today being
> use for livereload plugin.
>
> At work we have being solving some problems in our CLI related to cli
> extensions/plugability.
> I think some of the solutions are applicable to Cordova cli. The basic
> idea is extending or adding CLI command or actions via extensions that are
> packaged as npm modules, that anyone can add to a released CLI.
> Maybe this could be another way to make our tools pluggable in addition of
> hooks.
>
> - Carlos
> @csantanapr
>
> > On Nov 6, 2015, at 10:25 PM, Connor Pearson  wrote:
> >
> > Would a hook or plugin work better then?
> >
> >> On Fri, Nov 6, 2015 at 8:42 PM, Shazron  wrote:
> >>
> >> The problem with using "unofficial" methods is, at least for some of
> >> our code contributors *cough IBM*, it won't fly with them, and IMO I'd
> >> rather not support unofficial methods as well in this project.
> >>
> >> e.g. http://stackoverflow.com/a/13232352 which appears to show a
> >> command line tool that allows upload, but guess what, they removed it
> >> in Xcode 7.1 
> >>
> >>> On Fri, Nov 6, 2015 at 4:58 PM, Connor Pearson 
> wrote:
> >>> There are some command line tools that support uploading an ipa (
> >>> https://github.com/nomad/shenzhen, https://github.com/fastlane/deliver
> )
> >> so
> >>> it is possible. I don't think Apple officially supports this though, so
> >> it
> >>> may be prone to breaking.
> >>>
>  On Fri, Nov 6, 2015 at 7:08 PM, Tommy Williams 
> >>> wrote:
> >>>
>  I am with Jesse… I think it would be great, but wouldn’t hold my
> breath.
> 
>  Also agree documenting the process would be fantastic both as a
> reality
>  check and a resource for our users.
> 
>  The more we can provide after "Hello World", the better.
> 
>  - tommy
> 
> 
>  On 7 November 2015 at 09:54:41, Jesse (purplecabb...@gmail.com)
> wrote:
> 
>  Yes, I too see the value, but I think it's a bit of wishful thinking.
> I
>  would love to be proven wrong though.
>  There are vast differences between the stores submission processes, as
> >> well
>  as the meta that they require. In the case of iOS, you would likely
> >> need to
>  scrape the website and live with the possibility that Apple could
> break
> >> it
>  at any time.
> 
>  I would like to see someone come up with a definitive list of the
> manual
>  steps to take to submit an app to all the stores before we even
> consider
>  automating the process.
>  Even as a document alone this would be a great help to our users.
> 
> 
> 
>  @purplecabbage
>  risingj.com
> 
>  On Fri, Nov 6, 2015 at 1:52 PM, Parashuram N 
>  wrote:
> 
> > I think this is a great idea. I understand that we already have a
> >> package
> > command and this could be a logical extension. However, will this be
> a
> > functionality that can be supported on multiple stores ? I am not
> >> sure if
> > this is legal on an iOS store.
> >
> >
> >
> >
> >> On 11/6/15, 2:41 AM, "M Alexandre"  wrote:
> >>
> >> Hello Cordova devs,
> >>
> >> Because Cordova CLI is a great tool for command line for almost
>  

Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-09 Thread Connor Pearson
If you're interested, I created a proof of concept for iOS using deliver.
https://github.com/cjpearson/cordova-package-upload

It works as an after_build hook. If you add --upload to the build command,
it will upload the ipa to the store.

On Mon, Nov 9, 2015 at 5:09 AM, Maxime Alexandre <
maxime.alexan...@wininup.com> wrote:

> Hey! Thanks everyone for your answers. Just to be more precise, this upload
> command could, at first, only upload the binaries and not creating the
> whole process (meta, images, descriptions...) which is quite complex as we
> all know. So it should first focus on uploading a new binary to an existing
> projet. To sym up :
>
>- On Google Play, there is an official way to upload your APK through
>their API (i successfully uploaded my APK file using
>https://github.com/bluesliverx/gradle-android-publisher which use this
>API.
>- On Apple Store, the existing tools both use the iTMSTransporter
>protocol (nomad/shenzhen, fastlane/deliver) in order to upload the
> binary
>to Apple. Not sure if we can call that "official" but it's quite safe to
>use and looks like it's not going to change soon.
>- Other stores i didn't look up yet
>
> We all agree it must be an official support method from the stores. Sounds
> like an excellent idea to be able to plug extensions to the Cordova CLI via
> NPM modules. I'll try to migrate my existing code as a plugin or hook to
> Cordova CLI, add some docs then i'll PR.
>
> --
> Maxime
>
>
> On Sat, Nov 7, 2015 at 2:05 PM, Carlos Santana 
> wrote:
>
> > Bless you Shaz :-)
> >
> > Yeah officially supporting unofficial methods not good idea. This is
> > similar as old ios-sim or ios-deploy
> >
> > Before solving uploading, I would prefer to see improved docs and UX for
> > packaging.
> >
> > For uploading this is something that lives in user land tools. With this
> > said would love to accommodate in Cordova a way for this user land
> features
> > able to extend Cordova tooling.
> >
> > Today what we have are plugins and hooks, this is the approach today
> being
> > use for livereload plugin.
> >
> > At work we have being solving some problems in our CLI related to cli
> > extensions/plugability.
> > I think some of the solutions are applicable to Cordova cli. The basic
> > idea is extending or adding CLI command or actions via extensions that
> are
> > packaged as npm modules, that anyone can add to a released CLI.
> > Maybe this could be another way to make our tools pluggable in addition
> of
> > hooks.
> >
> > - Carlos
> > @csantanapr
> >
> > > On Nov 6, 2015, at 10:25 PM, Connor Pearson  wrote:
> > >
> > > Would a hook or plugin work better then?
> > >
> > >> On Fri, Nov 6, 2015 at 8:42 PM, Shazron  wrote:
> > >>
> > >> The problem with using "unofficial" methods is, at least for some of
> > >> our code contributors *cough IBM*, it won't fly with them, and IMO I'd
> > >> rather not support unofficial methods as well in this project.
> > >>
> > >> e.g. http://stackoverflow.com/a/13232352 which appears to show a
> > >> command line tool that allows upload, but guess what, they removed it
> > >> in Xcode 7.1 
> > >>
> > >>> On Fri, Nov 6, 2015 at 4:58 PM, Connor Pearson 
> > wrote:
> > >>> There are some command line tools that support uploading an ipa (
> > >>> https://github.com/nomad/shenzhen,
> https://github.com/fastlane/deliver
> > )
> > >> so
> > >>> it is possible. I don't think Apple officially supports this though,
> so
> > >> it
> > >>> may be prone to breaking.
> > >>>
> >  On Fri, Nov 6, 2015 at 7:08 PM, Tommy Williams 
> > >>> wrote:
> > >>>
> >  I am with Jesse… I think it would be great, but wouldn’t hold my
> > breath.
> > 
> >  Also agree documenting the process would be fantastic both as a
> > reality
> >  check and a resource for our users.
> > 
> >  The more we can provide after "Hello World", the better.
> > 
> >  - tommy
> > 
> > 
> >  On 7 November 2015 at 09:54:41, Jesse (purplecabb...@gmail.com)
> > wrote:
> > 
> >  Yes, I too see the value, but I think it's a bit of wishful
> thinking.
> > I
> >  would love to be proven wrong though.
> >  There are vast differences between the stores submission processes,
> as
> > >> well
> >  as the meta that they require. In the case of iOS, you would likely
> > >> need to
> >  scrape the website and live with the possibility that Apple could
> > break
> > >> it
> >  at any time.
> > 
> >  I would like to see someone come up with a definitive list of the
> > manual
> >  steps to take to submit an app to all the stores before we even
> > consider
> >  automating the process.
> >  Even as a document alone this would be a great help to our users.
> > 
> > 
> > 
> >  @purplecabbage
> >  risingj.com
> > 
> >  On Fri, Nov 6, 2015 at 1:52 PM, 

Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-06 Thread Tommy Williams
I am with Jesse… I think it would be great, but wouldn’t hold my breath.

Also agree documenting the process would be fantastic both as a reality check 
and a resource for our users.

The more we can provide after "Hello World", the better.

- tommy


On 7 November 2015 at 09:54:41, Jesse (purplecabb...@gmail.com) wrote:

Yes, I too see the value, but I think it's a bit of wishful thinking. I  
would love to be proven wrong though.  
There are vast differences between the stores submission processes, as well  
as the meta that they require. In the case of iOS, you would likely need to  
scrape the website and live with the possibility that Apple could break it  
at any time.  

I would like to see someone come up with a definitive list of the manual  
steps to take to submit an app to all the stores before we even consider  
automating the process.  
Even as a document alone this would be a great help to our users.  



@purplecabbage  
risingj.com  

On Fri, Nov 6, 2015 at 1:52 PM, Parashuram N  wrote:  

> I think this is a great idea. I understand that we already have a package  
> command and this could be a logical extension. However, will this be a  
> functionality that can be supported on multiple stores ? I am not sure if  
> this is legal on an iOS store.  
>  
>  
>  
>  
> On 11/6/15, 2:41 AM, "M Alexandre"  wrote:  
>  
> >Hello Cordova devs,  
> >  
> >Because Cordova CLI is a great tool for command line for almost everything  
> >about creating, building hybrids apps, it would be great to include a new  
> >command for uploading the generated binaries to the app stores.  
> >  
> >As far as I know, nothing exists at the moment in Cordova. I succeeded  
> >patching gradle scripts for including this feature so I could upload my  
> own  
> >generated APK to my Google Play account from a cordova command. This is  
> >very useful for including Cordova apps into Continuous Integration.  
> >  
> >Did you already think about that ? We could :  
> >  
> > 1. add an option to the "build" command => "cordova build -- release  
> > --upload"  
> > 2. or "cordova upload", that needs to build a release version of the  
> > package  
> >  
> >I described the steps and published a "dirty patch" on  
> >  
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgist.github.com%2fmysegfault%2f9d387cb7f4b08b750bad=01%7c01%7cpanarasi%40microsoft.com%7c347fcb14e8ae46e740b008d2e6ca9f74%7c72f988bf86f141af91ab2d7cd011db47%7c1=8B8YejUQ6F8obdheWvLmrPN0CCspx4zJjV%2fxnpSnjdI%3d
>   
> for Android.  
> >  
> >Thanks for your feedback.  
> >--  
> >Maxime  
>  


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-06 Thread Jesse
Yes, I too see the value, but I think it's a bit of wishful thinking.  I
would love to be proven wrong though.
There are vast differences between the stores submission processes, as well
as the meta that they require. In the case of iOS, you would likely need to
scrape the website and live with the possibility that Apple could break it
at any time.

I would like to see someone come up with a definitive list of the manual
steps to take to submit an app to all the stores before we even consider
automating the process.
Even as a document alone this would be a great help to our users.



@purplecabbage
risingj.com

On Fri, Nov 6, 2015 at 1:52 PM, Parashuram N  wrote:

> I think this is a great idea. I understand that we already have a package
> command and this could be a logical extension. However, will this be a
> functionality that can be supported on multiple stores ? I am not sure if
> this is legal on an iOS store.
>
>
>
>
> On 11/6/15, 2:41 AM, "M Alexandre"  wrote:
>
> >Hello Cordova devs,
> >
> >Because Cordova CLI is a great tool for command line for almost everything
> >about creating, building hybrids apps, it would be great to include a new
> >command for uploading the generated binaries to the app stores.
> >
> >As far as I know, nothing exists at the moment in Cordova. I succeeded
> >patching gradle scripts for including this feature so I could upload my
> own
> >generated APK to my Google Play account from a cordova command. This is
> >very useful for including Cordova apps into Continuous Integration.
> >
> >Did you already think about that ? We could :
> >
> >   1. add an option to the "build" command => "cordova build -- release
> >   --upload"
> >   2. or "cordova upload", that needs to build a release version of the
> >   package
> >
> >I described the steps and published a "dirty patch" on
> >
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgist.github.com%2fmysegfault%2f9d387cb7f4b08b750bad=01%7c01%7cpanarasi%40microsoft.com%7c347fcb14e8ae46e740b008d2e6ca9f74%7c72f988bf86f141af91ab2d7cd011db47%7c1=8B8YejUQ6F8obdheWvLmrPN0CCspx4zJjV%2fxnpSnjdI%3d
> for Android.
> >
> >Thanks for your feedback.
> >--
> >Maxime
>


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-06 Thread Parashuram N
How about sending a PR to the docs, and list these tools in those docs ? These 
tools could be useful for folks who are looking at Cordova continuous 
integration scenarios. 

Speaking of which, what do folks on this usually use for Cordova continuous 
integration ? 




On 11/6/15, 4:58 PM, "Connor Pearson"  wrote:

>There are some command line tools that support uploading an ipa (
>https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fnomad%2fshenzhen%2c=01%7c01%7cpanarasi%40microsoft.com%7c5ac76df321694f5fcbe908d2e70e9a93%7c72f988bf86f141af91ab2d7cd011db47%7c1=MBoAHveBlgE6vrvhnxT0Lt2EVL0YyQVJg665dhleWMs%3d
> 
>https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2ffastlane%2fdeliver=01%7c01%7cpanarasi%40microsoft.com%7c5ac76df321694f5fcbe908d2e70e9a93%7c72f988bf86f141af91ab2d7cd011db47%7c1=9qABsUGssWTLzl6IwEF7EoPAIltEAXRcvTSAJpAmmoY%3d)
> so
>it is possible. I don't think Apple officially supports this though, so it
>may be prone to breaking.
>
>On Fri, Nov 6, 2015 at 7:08 PM, Tommy Williams  wrote:
>
>> I am with Jesse… I think it would be great, but wouldn’t hold my breath.
>>
>> Also agree documenting the process would be fantastic both as a reality
>> check and a resource for our users.
>>
>> The more we can provide after "Hello World", the better.
>>
>> - tommy
>>
>>
>> On 7 November 2015 at 09:54:41, Jesse (purplecabb...@gmail.com) wrote:
>>
>> Yes, I too see the value, but I think it's a bit of wishful thinking. I
>> would love to be proven wrong though.
>> There are vast differences between the stores submission processes, as well
>> as the meta that they require. In the case of iOS, you would likely need to
>> scrape the website and live with the possibility that Apple could break it
>> at any time.
>>
>> I would like to see someone come up with a definitive list of the manual
>> steps to take to submit an app to all the stores before we even consider
>> automating the process.
>> Even as a document alone this would be a great help to our users.
>>
>>
>>
>> @purplecabbage
>> https://na01.safelinks.protection.outlook.com/?url=risingj.com=01%7c01%7cpanarasi%40microsoft.com%7c5ac76df321694f5fcbe908d2e70e9a93%7c72f988bf86f141af91ab2d7cd011db47%7c1=6PrW3aEC6BJUhcm9TTlW58SyXQIkKVgONK23a3SCj1Y%3d
>>
>> On Fri, Nov 6, 2015 at 1:52 PM, Parashuram N 
>> wrote:
>>
>> > I think this is a great idea. I understand that we already have a package
>> > command and this could be a logical extension. However, will this be a
>> > functionality that can be supported on multiple stores ? I am not sure if
>> > this is legal on an iOS store.
>> >
>> >
>> >
>> >
>> > On 11/6/15, 2:41 AM, "M Alexandre"  wrote:
>> >
>> > >Hello Cordova devs,
>> > >
>> > >Because Cordova CLI is a great tool for command line for almost
>> everything
>> > >about creating, building hybrids apps, it would be great to include a
>> new
>> > >command for uploading the generated binaries to the app stores.
>> > >
>> > >As far as I know, nothing exists at the moment in Cordova. I succeeded
>> > >patching gradle scripts for including this feature so I could upload my
>> > own
>> > >generated APK to my Google Play account from a cordova command. This is
>> > >very useful for including Cordova apps into Continuous Integration.
>> > >
>> > >Did you already think about that ? We could :
>> > >
>> > > 1. add an option to the "build" command => "cordova build -- release
>> > > --upload"
>> > > 2. or "cordova upload", that needs to build a release version of the
>> > > package
>> > >
>> > >I described the steps and published a "dirty patch" on
>> > >
>> >
>> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgist.github.com%2fmysegfault%2f9d387cb7f4b08b750bad=01%7c01%7cpanarasi%40microsoft.com%7c347fcb14e8ae46e740b008d2e6ca9f74%7c72f988bf86f141af91ab2d7cd011db47%7c1=8B8YejUQ6F8obdheWvLmrPN0CCspx4zJjV%2fxnpSnjdI%3d
>> > for Android.
>> > >
>> > >Thanks for your feedback.
>> > >--
>> > >Maxime
>> >
>>


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-06 Thread Connor Pearson
Would a hook or plugin work better then?

On Fri, Nov 6, 2015 at 8:42 PM, Shazron  wrote:

> The problem with using "unofficial" methods is, at least for some of
> our code contributors *cough IBM*, it won't fly with them, and IMO I'd
> rather not support unofficial methods as well in this project.
>
> e.g. http://stackoverflow.com/a/13232352 which appears to show a
> command line tool that allows upload, but guess what, they removed it
> in Xcode 7.1 
>
> On Fri, Nov 6, 2015 at 4:58 PM, Connor Pearson  wrote:
> > There are some command line tools that support uploading an ipa (
> > https://github.com/nomad/shenzhen, https://github.com/fastlane/deliver)
> so
> > it is possible. I don't think Apple officially supports this though, so
> it
> > may be prone to breaking.
> >
> > On Fri, Nov 6, 2015 at 7:08 PM, Tommy Williams 
> wrote:
> >
> >> I am with Jesse… I think it would be great, but wouldn’t hold my breath.
> >>
> >> Also agree documenting the process would be fantastic both as a reality
> >> check and a resource for our users.
> >>
> >> The more we can provide after "Hello World", the better.
> >>
> >> - tommy
> >>
> >>
> >> On 7 November 2015 at 09:54:41, Jesse (purplecabb...@gmail.com) wrote:
> >>
> >> Yes, I too see the value, but I think it's a bit of wishful thinking. I
> >> would love to be proven wrong though.
> >> There are vast differences between the stores submission processes, as
> well
> >> as the meta that they require. In the case of iOS, you would likely
> need to
> >> scrape the website and live with the possibility that Apple could break
> it
> >> at any time.
> >>
> >> I would like to see someone come up with a definitive list of the manual
> >> steps to take to submit an app to all the stores before we even consider
> >> automating the process.
> >> Even as a document alone this would be a great help to our users.
> >>
> >>
> >>
> >> @purplecabbage
> >> risingj.com
> >>
> >> On Fri, Nov 6, 2015 at 1:52 PM, Parashuram N 
> >> wrote:
> >>
> >> > I think this is a great idea. I understand that we already have a
> package
> >> > command and this could be a logical extension. However, will this be a
> >> > functionality that can be supported on multiple stores ? I am not
> sure if
> >> > this is legal on an iOS store.
> >> >
> >> >
> >> >
> >> >
> >> > On 11/6/15, 2:41 AM, "M Alexandre"  wrote:
> >> >
> >> > >Hello Cordova devs,
> >> > >
> >> > >Because Cordova CLI is a great tool for command line for almost
> >> everything
> >> > >about creating, building hybrids apps, it would be great to include a
> >> new
> >> > >command for uploading the generated binaries to the app stores.
> >> > >
> >> > >As far as I know, nothing exists at the moment in Cordova. I
> succeeded
> >> > >patching gradle scripts for including this feature so I could upload
> my
> >> > own
> >> > >generated APK to my Google Play account from a cordova command. This
> is
> >> > >very useful for including Cordova apps into Continuous Integration.
> >> > >
> >> > >Did you already think about that ? We could :
> >> > >
> >> > > 1. add an option to the "build" command => "cordova build -- release
> >> > > --upload"
> >> > > 2. or "cordova upload", that needs to build a release version of the
> >> > > package
> >> > >
> >> > >I described the steps and published a "dirty patch" on
> >> > >
> >> >
> >>
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgist.github.com%2fmysegfault%2f9d387cb7f4b08b750bad=01%7c01%7cpanarasi%40microsoft.com%7c347fcb14e8ae46e740b008d2e6ca9f74%7c72f988bf86f141af91ab2d7cd011db47%7c1=8B8YejUQ6F8obdheWvLmrPN0CCspx4zJjV%2fxnpSnjdI%3d
> >> > for Android.
> >> > >
> >> > >Thanks for your feedback.
> >> > >--
> >> > >Maxime
> >> >
> >>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
> For additional commands, e-mail: dev-h...@cordova.apache.org
>
>


Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-06 Thread M Alexandre
Hello Cordova devs,

Because Cordova CLI is a great tool for command line for almost everything
about creating, building hybrids apps, it would be great to include a new
command for uploading the generated binaries to the app stores.

As far as I know, nothing exists at the moment in Cordova. I succeeded
patching gradle scripts for including this feature so I could upload my own
generated APK to my Google Play account from a cordova command. This is
very useful for including Cordova apps into Continuous Integration.

Did you already think about that ? We could :

   1. add an option to the "build" command => "cordova build -- release
   --upload"
   2. or "cordova upload", that needs to build a release version of the
   package

I described the steps and published a "dirty patch" on
https://gist.github.com/mysegfault/9d387cb7f4b08b750bad for Android.

Thanks for your feedback.
--
Maxime


Re: Integrate binaries (apk / ipa) upload to stores into Cordova CLI

2015-11-06 Thread Parashuram N
I think this is a great idea. I understand that we already have a package 
command and this could be a logical extension. However, will this be a 
functionality that can be supported on multiple stores ? I am not sure if this 
is legal on an iOS store. 




On 11/6/15, 2:41 AM, "M Alexandre"  wrote:

>Hello Cordova devs,
>
>Because Cordova CLI is a great tool for command line for almost everything
>about creating, building hybrids apps, it would be great to include a new
>command for uploading the generated binaries to the app stores.
>
>As far as I know, nothing exists at the moment in Cordova. I succeeded
>patching gradle scripts for including this feature so I could upload my own
>generated APK to my Google Play account from a cordova command. This is
>very useful for including Cordova apps into Continuous Integration.
>
>Did you already think about that ? We could :
>
>   1. add an option to the "build" command => "cordova build -- release
>   --upload"
>   2. or "cordova upload", that needs to build a release version of the
>   package
>
>I described the steps and published a "dirty patch" on
>https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgist.github.com%2fmysegfault%2f9d387cb7f4b08b750bad=01%7c01%7cpanarasi%40microsoft.com%7c347fcb14e8ae46e740b008d2e6ca9f74%7c72f988bf86f141af91ab2d7cd011db47%7c1=8B8YejUQ6F8obdheWvLmrPN0CCspx4zJjV%2fxnpSnjdI%3d
> for Android.
>
>Thanks for your feedback.
>--
>Maxime