Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8898

Introduce pre-requisites checker for main platforms

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: cordova-cli, cordova-lib
    • Labels:
      None

      Description

      One of the main problems a lot of developers seem to have is the issue to setting up their machines for building various platforms. This came out from the Stack overflow survey, and the number of questions on stack overflow, twitter. Etc.

      It would be helpful to have a check_reqs command exposed at the CLI level. This is similar to `brew doctor` or `appium doctor`. The idea is

      1. Have a way for the user to see if they have all dependencies (like JAVA_HOME or ANDROID_HOME) set up? This happens at build time, but moving it out to a CLI level command where you can run cordova check_reqs (or something similar) would be useful to the users.

      2. Today, the build command shows one error at a time. The check_reqs could run all the checks, and show a summary of the issues so that the user can fix them all, instead of fixing one, running build, fixing again, etc.

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user vladimir-kotikov opened a pull request:

          https://github.com/apache/cordova-lib/pull/208

          CB-8898 Introduces `requirements` cordova module

          This is implementation for CB-8898(https://issues.apache.org/jira/browse/CB-8898) which adds `requirements` module, used by CLI.

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

          $ git pull https://github.com/MSOpenTech/cordova-lib CB-8898

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

          https://github.com/apache/cordova-lib/pull/208.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 #208


          commit d24bd9690d0a5a69c00d06e62bb475bc2a405ac1
          Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
          Date: 2015-04-23T07:56:53Z

          CB-8898 Introduces `requirements` cordova module


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-lib/pull/208 CB-8898 Introduces `requirements` cordova module This is implementation for CB-8898 ( https://issues.apache.org/jira/browse/CB-8898 ) which adds `requirements` module, used by CLI. You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-lib CB-8898 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/208.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 #208 commit d24bd9690d0a5a69c00d06e62bb475bc2a405ac1 Author: Vladimir Kotikov <v-vlkoti@microsoft.com> Date: 2015-04-23T07:56:53Z CB-8898 Introduces `requirements` cordova module
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user vladimir-kotikov opened a pull request:

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

          CB-8898 Introduces `cordova requirements` command

          This is implementation for CB-8898(https://issues.apache.org/jira/browse/CB-8898) which adds `cordova requirements` command.
          This PR requires https://github.com/apache/cordova-lib/pull/208 to be merged as well

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

          $ git pull https://github.com/MSOpenTech/cordova-cli CB-8898

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

          https://github.com/apache/cordova-cli/pull/212.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 #212


          commit 04d4e5067bb41486b813ac0d6269b7e500b58a9b
          Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
          Date: 2015-04-23T07:55:30Z

          CB-8898 Introduces `cordova requirements` command


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-cli/pull/212 CB-8898 Introduces `cordova requirements` command This is implementation for CB-8898 ( https://issues.apache.org/jira/browse/CB-8898 ) which adds `cordova requirements` command. This PR requires https://github.com/apache/cordova-lib/pull/208 to be merged as well You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-cli CB-8898 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-cli/pull/212.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 #212 commit 04d4e5067bb41486b813ac0d6269b7e500b58a9b Author: Vladimir Kotikov <v-vlkoti@microsoft.com> Date: 2015-04-23T07:55:30Z CB-8898 Introduces `cordova requirements` command
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit d6f2b11412f323557f950a92fa4c24ae4443bbf5 in cordova-lib's branch refs/heads/master from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d6f2b11 ]

          CB-8898 Introduces `requirements` cordova module

          Show
          jira-bot ASF subversion and git services added a comment - Commit d6f2b11412f323557f950a92fa4c24ae4443bbf5 in cordova-lib's branch refs/heads/master from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=d6f2b11 ] CB-8898 Introduces `requirements` cordova module
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/cordova-lib/pull/208

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/208
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 27db65b748c29a2a1e4e03fc5ff05ff638f14b92 in cordova-cli's branch refs/heads/master from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=27db65b ]

          CB-8898 Introduces `cordova requirements` command

          Show
          jira-bot ASF subversion and git services added a comment - Commit 27db65b748c29a2a1e4e03fc5ff05ff638f14b92 in cordova-cli's branch refs/heads/master from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=27db65b ] CB-8898 Introduces `cordova requirements` command
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

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

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/cordova-cli/pull/212
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit e070bbdde1ad3a522900e97dc908585099c75895 in cordova-lib's branch refs/heads/master from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=e070bbd ]

          CB-8898 Makes error message descriptive when `requirements` is called outside of cordova project.

          Show
          jira-bot ASF subversion and git services added a comment - Commit e070bbdde1ad3a522900e97dc908585099c75895 in cordova-lib's branch refs/heads/master from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=e070bbd ] CB-8898 Makes error message descriptive when `requirements` is called outside of cordova project.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 0a66b69549ce7a0fe9e443044509544b9974d14d in cordova-cli's branch refs/heads/master from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=0a66b69 ]

          CB-8898 Adds missing section about `requirements` to general cordova help

          Show
          jira-bot ASF subversion and git services added a comment - Commit 0a66b69549ce7a0fe9e443044509544b9974d14d in cordova-cli's branch refs/heads/master from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=0a66b69 ] CB-8898 Adds missing section about `requirements` to general cordova help
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit b5d8b51310c8512556d02fc43ae2ad393e60c123 in cordova-android's branch refs/heads/master from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=b5d8b51 ]

          CB-8898 Fixes gradle check failure due to missing quotes

          Show
          jira-bot ASF subversion and git services added a comment - Commit b5d8b51310c8512556d02fc43ae2ad393e60c123 in cordova-android's branch refs/heads/master from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=b5d8b51 ] CB-8898 Fixes gradle check failure due to missing quotes
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 096e1e3caa5a0ece53f39ad1c0cf10b45a0b9f52 in cordova-android's branch refs/heads/master from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=096e1e3 ]

          CB-8898 Report expected gradle location properly

          Show
          jira-bot ASF subversion and git services added a comment - Commit 096e1e3caa5a0ece53f39ad1c0cf10b45a0b9f52 in cordova-android's branch refs/heads/master from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=096e1e3 ] CB-8898 Report expected gradle location properly
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit bb02750833047b5b92f63e959f964ae7f192146d in cordova-lib's branch refs/heads/5.1.x from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=bb02750 ]

          CB-8898 Makes error message descriptive when `requirements` is called outside of cordova project.

          Show
          jira-bot ASF subversion and git services added a comment - Commit bb02750833047b5b92f63e959f964ae7f192146d in cordova-lib's branch refs/heads/5.1.x from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-lib.git;h=bb02750 ] CB-8898 Makes error message descriptive when `requirements` is called outside of cordova project.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 9023e26a0a8038b6eeea7f82ceff9326a468b7ee in cordova-cli's branch refs/heads/5.1.x from Vladimir Kotikov
          [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9023e26 ]

          CB-8898 Adds missing section about `requirements` to general cordova help

          Show
          jira-bot ASF subversion and git services added a comment - Commit 9023e26a0a8038b6eeea7f82ceff9326a468b7ee in cordova-cli's branch refs/heads/5.1.x from Vladimir Kotikov [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=9023e26 ] CB-8898 Adds missing section about `requirements` to general cordova help

            People

            • Assignee:
              vladimir.kotikov Vladimir Kotikov
              Reporter:
              vladimir.kotikov Vladimir Kotikov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development