change to match the corresponding server change deployed
a couple days back.
Here are details of the issue:
// IIS and Azure web apps have this annoying behavior where %2F (URL encoded slashes) in the URL are URL decoded
// BEFORE the requests reach node. That essentially means there's no good way to encode a "/" in the app name--
// URL encodeing will work when running locally but when running on Azure it gets decoded before express sees it,
// so app names with slashes don't get routed properly. See https://github.com/tjanczuk/iisnode/issues/343 (or other sites
// that complain about the same) for some more info. I explored some IIS config based workarounds, but the previous
// link seems to say they won't work, so I eventually gave up on that.
// Anyway, to workaround this issue, we now allow the client to encode / characters as ~~ (two tildes, URL encoded).
// The CLI now converts / to ~~ if / appears in an app name, before passing that as part of the URL. This code below
// does the encoding. It's hack, but seems like the least bad option here.
// Eventually, this service will go away & we'll all be on Max's new service. That's hosted in docker, no more IIS,
// so this issue should go away then.
Use \"code-push deployment list\" to view any existing deployments and \"code-push deployment add\" to add deployment(s) to the app
if the app doesn't exist. We only show it now if the deployment doesn't exist.
* Removed these features deprecated post Mobile Center integration: (#431)
code-push app transfer
code-push collaborator
code-push session
access key rename / change TTL
showing auth types for whoami
* Added OS and platform arguments for the app add command (#432)
* Updated deployment defaults. Now... (#437)
* "code-push add add" does NOT add any default deployments
* "code-push deployment add" has a --default option to add default deployments
* "code-push release" outputs a more descriptive error if no deployments exists
* Updated CLI text around login/register/link. Also fixed... (#439)
link to go directly to mobile.azure.com, in order to not show the token at the end.
* Added .vscode settings file, to exclude generated bin directories (#440)
* Added back the collabor CLI command since the... (#441)
proxy service now supports it. It was commented out before, but I just undid that.
Due to https://github.com/npm/node-semver#prerelease-tags ranges only works for non pre-release versions.
If you want to update a version with pre-release tags, then you need to write the exact version you want to update (`1.12.3-beta` for example)
* command-executor: check for app and deployment exist before releasing an update
* Remove catch block
* Add getDeployment() mock so that unit tests work
* Release commands now return rejected promises instead of throwing - do not assert exceptions are thrown during unit tests
* Make the prompt defaults to 'no' if no input is entered
Make the message more severe than it currently for app rm and deployment rm
* Fix upper/lower-case issues
* Make prompt messages consistent
Example usage:
`env NODE_ARGS="--max-old-space-size=4096" code-push release-react APP_NAME ios`
I couldn't find anywhere else secondary node processes are being spawned, but happy to add this functionality to those places as well.
Issue #215
* Update yargs to 6.5.0
This shpuld fix issue https://github.com/Microsoft/code-push/issues/339 "Can not perform rollback if deployment name is same as CodePush CLI command #339"
* Update yargs to 6.5.0
Fixed issue when it was not allowed to use additional undocument parameter for some commands
To avoid issues like this one https://github.com/Microsoft/cordova-plugin-code-push/issues/189 “App Management” chapter probably should pay attention on the fact, that “using the same app for iOS and Android may cause installation exceptions because the CodePush update package produced for iOS will have different content from the update produced for Android.”. (#373)
Implement workaround for the case when 'build.gradle' file contains several 'android' nodes.
In this case 'buildGradle.android' prop (parsed by 'gradle-to-js' library)
represents array instead of object due to parsing issue in 'g2js.parseFile' method.
Replace 'isDeviceAvailable' method with 'getNumberOfAvailableDevices' method,
add new throw statement in case more than 1 attached android device was detected,
because for now there is no ability to specify device for debug
like 'code-push debug android "192.168.121.102:5555"'.
Fix issue https://github.com/Microsoft/code-push/issues/352