redsolver / dart_license_checker

Shows you which licenses your Flutter/Dart dependencies have.
MIT License
14 stars 10 forks source link

Unknown licence #2

Open jaripekkala opened 3 years ago

jaripekkala commented 3 years ago

dart_license_checker is not able to identify license for responsive_framework package. It's a dependency to a our private package mylibrary that is used in flutter app. Other, similar 3rd party packages do show licenses in the output.

flutter packages deps

myapp 2.9.0
|-- mylibrary 0.0.1
|   |-- responsive_framework 0.0.15
|   |   '-- flutter...

dart_license_checker --show-transitive-dependencies

┌────────────────────────────────────────────────────────┐
│                         Package Name  License          │
├────────────────────────────────────────────────────────┤
│                              flutter  BSD              │
│                                myapp  No license file  │
│                            mylibrary  No license file  │
│                 responsive_framework  unknown          │
└────────────────────────────────────────────────────────┘
redsolver commented 3 years ago

Could you please send me the content of the file .dart_tool/package_config.json?

jaripekkala commented 3 years ago
{
  "configVersion": 2,
  "packages": [
    {
      "name": "responsive_framework",
      "rootUri": "file:///Users/jaripekkala/.pub-cache/hosted/pub.dartlang.org/responsive_framework-0.1.0",
      "packageUri": "lib/",
      "languageVersion": "2.12"
    },
  ],
  "generated": "2021-05-07T11:58:23.296847Z",
  "generator": "pub",
  "generatorVersion": "2.12.0"
}
redsolver commented 2 years ago

unknown means that the tool can't detect the license because it's not one of the widely used ones. Which license does responsive_framework use?

olexale commented 1 year ago

It is BSD Zero Clause License. Here is the link. The license shows as unknown on pub.dev page too.

redsolver commented 1 year ago

dart_license_checker uses the same detection method as pub.dev, so that makes sense. I can't fix it until https://github.com/dart-lang/pana detects it