pkgnet icon indicating copy to clipboard operation
pkgnet copied to clipboard

feature idea: Dependency License Reporter

Open jameslamb opened this issue 5 years ago • 2 comments

This is not a fully-formed idea, but leaving here to start a discussion. If pkgnet is supposed to help answer the question "should I add / remove this dependency?", I think it would be valuable to try to implement a DependencyLicenseReporter which lists the licenses of packages in your dependency tree.

Inspired by pip-licenses.

jameslamb avatar Mar 05 '19 17:03 jameslamb

@jameslamb, what about, as a start, adding licenses as an additional column to the main data.table?

bburns632 avatar Oct 01 '19 17:10 bburns632

@jameslamb, what about, as a start, adding licenses as an additional column to the main data.table?

That's a good idea, I'm cool with that. I won't be able to contribute it for a while though. Shall I make a separate issue from this one listing that as a proposed feature?

By the way that problem can get REALLY difficult really fast (read this code) , to the extent that we should probably look into existing solutions or create our own outside of the pkgnet project.

jameslamb avatar Oct 06 '19 03:10 jameslamb