fix: Reporting of malformed licenses
Description
very_good packages check licenses fails to report pubs with unknown licenses (e.g. rxdart 0.27.7):
$ very_good packages check licenses
✓ Retrieved 0 licenses from 1 package. (0.7s)
Steps To Reproduce
- Clone example repo (includes
rxdartdependency inpubspec.lock) - Execute
dart pub global activate very_good_cli; very_good packages check licenses
Expected Behavior
✓ Retrieved 1 license from 1 package of type: unknown (1).
Actual Behavior
✓ Retrieved 0 licenses from 1 package.
Hi @dominicmh thanks for opening an issue! And sorry for the late reply, I haven't been able to catch-up recently.
I've been able to reproduce this issue by using the following pubspec.yaml.
puspec.yaml
name: example
description: An example project.
version: 1.0.0+1
publish_to: none
environment:
sdk: "^3.3.0"
dependencies:
rxdart: ^0.27.7
@dominicmh are you interested in contributing with a fix? If so, let me know and I can assign you to this item and assist you on landing it 🙌
Hi @alestiago – I can't really promise any delivery date, could be weeks or even months. But generally I'm open to fix this.