Fetching licensing info for all dependencies of a DUB project

Christian Köstlin christian.koestlin at gmail.com
Wed Jun 29 19:27:55 UTC 2022


On 2022-06-28 14:34, Guillaume Piolat wrote:
> On Monday, 27 June 2022 at 21:36:31 UTC, Christian Köstlin wrote:
>>
>> I played around with the idea and came up with a small dub package, 
>> that is not (yet) uploaded to the dub registry.
>> Source is available at https://github.com/gizmomogwai/packageinfo, 
>> feedback very welcome.
> 
> 
> I've done something similar not for licences but for code amount, to 
> extract from a DUB project:
>   - DUB packages used by project
>   - source files used by project
>   - and their LOC count
> 
> This is a D forums exclusive:
> https://pastebin.com/RFbFCgR2
> 
> Keep your debt in check!

Interesting ... there is also dscanner that can count lines of code.
in another toy project of mine I create a dependency dot graph, might be 
good to collect all those things together ... there is also 
https://github.com/funkwerk/cogito that collect another metric of projects.


More information about the Digitalmars-d-learn mailing list