very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

fix: Reporting of malformed licenses

Open dominicmh opened this issue 1 year ago • 6 comments

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

  1. Clone example repo (includes rxdart dependency in pubspec.lock)
  2. 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.

dominicmh avatar Apr 10 '24 13:04 dominicmh

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 🙌

alestiago avatar May 16 '24 14:05 alestiago

Hi @alestiago – I can't really promise any delivery date, could be weeks or even months. But generally I'm open to fix this.

dominicmh avatar May 16 '24 17:05 dominicmh