[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2018-06-18 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515923#comment-16515923
 ] 

ASF GitHub Bot commented on CB-7949:


brodybits commented on issue #61: CB-7949 add cordova-local to tools release 
process
URL: https://github.com/apache/cordova-coho/pull/61#issuecomment-398102374
 
 
   > Why not use `npx cordova`?
   
   - extra typing
   - not everyone has `npx` (Node 6)
   
   I think the ideal solution would be to have an extremely lightweight CLI 
that uses scripts from local packages. Not sure how much the newer Node.js 
tooling works like this or not.
   
   Gotta say that I am starting to agree with your point. I do sometimes use 
`npx` to run local tooling that is not yet integrated with scripts in 
package.json. Closing in favor of your point.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-cli
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2018-06-18 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515924#comment-16515924
 ] 

ASF GitHub Bot commented on CB-7949:


brodybits closed pull request #61: CB-7949 add cordova-local to tools release 
process
URL: https://github.com/apache/cordova-coho/pull/61
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/tools-release-process.md b/docs/tools-release-process.md
index 4c2330a..09ca0f3 100644
--- a/docs/tools-release-process.md
+++ b/docs/tools-release-process.md
@@ -50,6 +50,7 @@ E.g.:
  - cli@
  - plugman@
  - cordova-js@
+ - cordova-local@
 
 
 ## Create JIRA issues
@@ -74,6 +75,7 @@ See if any dependencies are outdated
 (cd cordova-lib/cordova-lib && npm outdated --depth=0)
 (cd cordova-plugman && npm outdated --depth=0)
 (cd cordova-cli && npm outdated --depth=0)
+(cd cordova-utility/cordova-local && npm outdated --depth=0)
 
 Update them in each project's `pacakge.json` file. Make sure to run through 
the test section below for compatability issues. The `--depth=0` prevents from 
listing dependencies of dependencies. As of this writing, the following 
packages are behind and are not safe to upgrade:
  * semver - in latest versions of semver-node "^0.x.y" is always equivalent to 
"=0.x.y" (for major=0). This breaks some cordova engine compat checks. 
[Background](https://github.com/npm/npm/issues/5695#issuecomment-49765893).
@@ -95,6 +97,7 @@ Ensure license headers are present everywhere. For reference, 
see this [backgrou
 coho audit-license-headers -r cli | less
 coho audit-license-headers -r plugman | less
 coho audit-license-headers -r lib | less
+coho audit-license-headers -r utility | less
 
 Ensure all dependencies and subdependencies have Apache-compatible licenses
 
@@ -119,6 +122,7 @@ Ensure unit tests pass (plugman tests are included in lib):
 (cd cordova-lib/cordova-lib; npm test)
 (cd cordova-cli; npm test)
 (cd cordova-js; grunt test --platformVersion=3.7.0)
+(cd cordova-utility/cordova-local; npm test)
 
 Add a comment to the JIRA issue stating what you tested, and what the results 
were.
 
@@ -126,7 +130,7 @@ Add a comment to the JIRA issue stating what you tested, 
and what the results we
 
 Increase the version within package.json using SemVer, and remove the ''-dev'' 
suffix
 
-for l in cordova-lib/cordova-lib cordova-plugman cordova-cli cordova-js; 
do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' -f4)"; if [[ $v = 
*-dev ]]; then v2="${v%-dev}"; echo "$l: Setting version to $v2"; sed -i '' -E 
's/version":.*/version": "'$v2'",/' package.json; fi) ; done
+for l in cordova-lib/cordova-lib cordova-plugman cordova-cli cordova-js 
cordova-utility/cordova-local; do ( cd $l; v="$(grep '"version"' package.json | 
cut -d'"' -f4)"; if [[ $v = *-dev ]]; then v2="${v%-dev}"; echo "$l: Setting 
version to $v2"; sed -i '' -E 's/version":.*/version": "'$v2'",/' package.json; 
fi) ; done
 
 If the changes merit it, manually bump the major / minor version instead of 
the micro. List the changes via:
 
@@ -138,14 +142,16 @@ If the changes merit it, manually bump the major / minor 
version instead of the
 
 ( cd cordova-js; git log --pretty=format:'* %s' --topo-order --no-merges 
$(git describe --tags --abbrev=0)..master | grep -v "Incremented plugin 
version" )
 
+( cd cordova-utility/cordova-local; git log --pretty=format:'* %s' 
--topo-order --no-merges $(git describe --tags --abbrev=0)..master | grep -v 
"Incremented plugin version" )
+
 Update each repo's RELEASENOTES.md file with changes
 
 # Add new heading to release notes with version and date
 DATE=$(date "+%h %d, %Y")
 
-for l in cordova-lib/cordova-lib cordova-plugman cordova-cli cordova-js; 
do ( cd $l; v="$(grep '"version"' package.json | cut -d'"' -f4)"; echo -e 
"\n### $v ($DATE)" >> RELEASENOTES.md; git log --pretty=format:'* %s' 
--topo-order --no-merges $(git describe --tags --abbrev=0)..master | grep -v 
"Incremented plugin version" >> RELEASENOTES.md); done
+for l in cordova-lib/cordova-lib cordova-plugman cordova-cli cordova-js 
cordova-utility/cordova-local; do ( cd $l; v="$(grep '"version"' package.json | 
cut -d'"' -f4)"; echo -e "\n### $v ($DATE)" >> RELEASENOTES.md; git log 
--pretty=format:'* %s' --topo-order --no-merges $(git describe --tags 
--abbrev=0)..master | grep -v "Incremented plugin version" >> RELEASENOTES.md); 
done
 # Then curate:
-vim cordova-lib/cordova-lib/RELEASENOTES.md cordova-cli/RELEASENOTES.md 
cordova-plugman/RELEASENOTES.md cordova-js/RELEASENOTES.md
+vim cordova-lib/cordova-lib/RELEASENOTES.md cordova-cli/RELEASENOT

[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2018-06-18 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515906#comment-16515906
 ] 

ASF GitHub Bot commented on CB-7949:


raphinesse commented on issue #61: CB-7949 add cordova-local to tools release 
process
URL: https://github.com/apache/cordova-coho/pull/61#issuecomment-39806
 
 
   Why not use `npx cordova`?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-cli
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2018-06-18 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515738#comment-16515738
 ] 

ASF GitHub Bot commented on CB-7949:


brodybits commented on issue #61: CB-7949 add cordova-local to tools release 
process
URL: https://github.com/apache/cordova-coho/pull/61#issuecomment-398064956
 
 
   What a shame that nobody reviewed this wonderful contribution from 3 years 
ago, would like to revive it when I get some spare cycles. I just made a fork 
at  to be sure to preserve it.
   
   FYI I noticed that @stacic (Staci Cooper) is in 
 so we know that the needed CLA 
is in place.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-cli
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2018-02-21 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372026#comment-16372026
 ] 

ASF GitHub Bot commented on CB-7949:


janpio commented on issue #61: CB-7949 add cordova-local to tools release 
process
URL: https://github.com/apache/cordova-coho/pull/61#issuecomment-367476060
 
 
   Is anyone using `cordova-local` or can this PR be closed as stale?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: cordova-cli
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2017-03-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939065#comment-15939065
 ] 

ASF GitHub Bot commented on CB-7949:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-docs/pull/259


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2017-03-23 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939036#comment-15939036
 ] 

ASF GitHub Bot commented on CB-7949:


Github user purplecabbage commented on the issue:

https://github.com/apache/cordova-docs/pull/259
  
closing, ... please resend/rebase if this is still valid.


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2016-03-14 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15194548#comment-15194548
 ] 

ASF GitHub Bot commented on CB-7949:


Github user dblotsky commented on the pull request:

https://github.com/apache/cordova-docs/pull/259#issuecomment-196605825
  
@stacic is this proposal still active?


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2015-01-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271829#comment-14271829
 ] 

ASF GitHub Bot commented on CB-7949:


Github user stacic commented on the pull request:

https://github.com/apache/cordova-cli/pull/196#issuecomment-69394734
  
In order to avoid complications with the tools-release process, I decided 
to move this out of the cli and into its own repo which is here: 
https://github.com/stacic/cordova-utility


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2015-01-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271830#comment-14271830
 ] 

ASF GitHub Bot commented on CB-7949:


Github user stacic closed the pull request at:

https://github.com/apache/cordova-cli/pull/196


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2015-01-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271831#comment-14271831
 ] 

ASF GitHub Bot commented on CB-7949:


GitHub user stacic opened a pull request:

https://github.com/apache/cordova-coho/pull/61

CB-7949 add cordova-local to tools release process

Additions to the tools release process for the proposed cordova-local 
utility currently at https://github.com/stacic/cordova-utility

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/stacic/cordova-coho CB-7949

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-coho/pull/61.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #61


commit fd88d89048a761626b35c6e51d0f0d433fb0e261
Author: Staci Cooper 
Date:   2015-01-08T20:49:37Z

CB-7949 add cordova-local to tools release process




> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2015-01-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271832#comment-14271832
 ] 

ASF GitHub Bot commented on CB-7949:


GitHub user stacic opened a pull request:

https://github.com/apache/cordova-docs/pull/259

CB-7949 Added docs for cordova-local utility

In reference to the proposed new repo here: 
https://github.com/stacic/cordova-utility. Proposed adding it to the tools 
release process here: https://github.com/apache/cordova-coho/pull/61


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/stacic/cordova-docs cordovaLocal

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-docs/pull/259.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #259


commit 346594117f99476f3e642a7f5657395c4e7b1780
Author: Staci Cooper 
Date:   2014-12-09T19:39:55Z

CB-7949 Added docs for cordova-local utility

In reference to https://github.com/apache/cordova-cli/pull/196




> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2014-11-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14206831#comment-14206831
 ] 

ASF GitHub Bot commented on CB-7949:


Github user Bnaya commented on the pull request:

https://github.com/apache/cordova-cli/pull/196#issuecomment-62598354
  
i'de really like to see that!
in combination with 
https://issues.apache.org/jira/browse/CB-7208
it will really improve the workflow.
that should be even the default behaviour. 


> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-7949) Cli command/documentation for workflow with multiple versions of cordova

2014-11-05 Thread Staci Cooper (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-7949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198823#comment-14198823
 ] 

Staci Cooper commented on CB-7949:
--

https://github.com/apache/cordova-cli/pull/196

>From the README:

"The cordova-local utility enables a developer to easily switch between 
multiple local installations of cordova with a single command. It is meant to 
be installed globally with 'npm install -g cordova-local'.

To use the utility, use the command 'cordova-local' in place of 'cordova' in 
your regular cordova workflow. This will call the globally installed 
cordova-local command, which invokes the closest local installation of cordova 
in the current directory or its ancestors.

If the '--inclglobal' flag is added, cordova-local will attempt to invoke a 
global installation of cordova in the event that no local installation is 
found."

> Cli command/documentation for workflow with multiple versions of cordova
> 
>
> Key: CB-7949
> URL: https://issues.apache.org/jira/browse/CB-7949
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: CLI
>Reporter: Staci Cooper
>Assignee: Staci Cooper
>Priority: Minor
>
> Not sure if this is correctly categorized...
> Current suggested workflow when using multiple versions of cordova on the 
> same machine is described here: 
> http://www.mooreds.com/wordpress/archives/1379. Basically, use local 
> installations of cordova and then run cordova with 
> "./node_modules/cordova/bin/cordova", or a bunch of corresponding aliases.
> I want to add a command to the cli, something like 'cordova-local', which can 
> be run anywhere instead of 'cordova', and finds the closest local 
> installation of cordova in your directory's ancestors and passes its 
> arguments to it. Basically it would mirror the workflow of grunt-cli.
> There's also nothing in the official docs about this workflow. That blog post 
> was the only reference I could find.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org