apache / cordova-coho

Apache Cordova coho
Apache License 2.0
33 stars 62 forks source link

check-license doesn't work (for plugins) #241

Open janpio opened 5 years ago

janpio commented 5 years ago

check-license is supposed to "Go through each specified repo and check the licenses of node modules that are 3rd-party dependencies.".

But:

λ coho check-license -r active-plugins -g
Below is the license info for all the packages
├─ cordova-plugin-battery-status
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-battery-status
│        ├─ id: cordova-plugin-battery-status@2.0.3-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-battery-status
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-camera
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-camera
│        ├─ id: cordova-plugin-camera@4.1.0-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-camera
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-device
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-device
│        ├─ id: cordova-plugin-device@2.0.3-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-device
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-dialogs
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-dialogs
│        ├─ id: cordova-plugin-dialogs@2.0.2-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-dialogs
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-file
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-file
│        ├─ id: cordova-plugin-file@6.0.2-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-file
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-geolocation
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-geolocation
│        ├─ id: cordova-plugin-geolocation@4.0.2-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-geolocation
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-globalization
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-globalization
│        ├─ id: cordova-plugin-globalization@1.11.1-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-globalization
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-inappbrowser
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-inappbrowser
│        ├─ id: cordova-plugin-inappbrowser@3.1.0-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-inappbrowser
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-media
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-media
│        ├─ id: cordova-plugin-media@5.0.3-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-media
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-media-capture
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-media-capture
│        ├─ id: cordova-plugin-media-capture@3.0.3-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-media-capture
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-network-information
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-network-information
│        ├─ id: cordova-plugin-network-information@2.0.2-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-network-information
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-splashscreen
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-splashscreen
│        ├─ id: cordova-plugin-splashscreen@5.0.3-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-splashscreen
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-statusbar
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-statusbar
│        ├─ id: cordova-plugin-statusbar@2.4.3-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-statusbar
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-screen-orientation
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-screen-orientation
│        ├─ id: cordova-plugin-screen-orientation@3.0.2-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-screen-orientation
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-vibration
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-vibration
│        ├─ id: cordova-plugin-vibration@3.1.1-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-vibration
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-whitelist
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-whitelist
│        ├─ id: cordova-plugin-whitelist@1.3.4-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-whitelist
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
├─ cordova-plugin-wkwebview-engine
│  └─ dependencies
│     └─ 0
│        ├─ name: cordova-plugin-wkwebview-engine
│        ├─ id: cordova-plugin-wkwebview-engine@1.2.0-dev
│        ├─ directory
│        │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-wkwebview-engine
│        └─ licenses
│           └─ 0
│              ├─ license: Apache-2.0
│              └─ url: (none)
└─ cordova-plugin-test-framework
   └─ dependencies
      └─ 0
         ├─ name: cordova-plugin-test-framework
         ├─ id: cordova-plugin-test-framework@1.1.7-dev
         ├─ directory
         │  └─ 0: E:\Projects\Cordova\coho checkouts 2\cordova-plugin-test-framework
         └─ licenses
            └─ 0
               ├─ license: Apache-2.0
               └─ url: (none)

***********************************************************************************************************************
***********************************************************************************************************************
***********************************************************************************************************************

No packages were flagged.

This only shows the packages themselves, not any real dependencies.