jpeddicord / askalono

A tool & library to detect open source licenses from texts
Apache License 2.0
255 stars 25 forks source link

Printing Copyright text optionally #54

Open soimsoim opened 4 years ago

soimsoim commented 4 years ago

This seems to find the license only in the representative license file (ex- NOTICE, LICENSE.txt). Is that right? At this time, it would be really nice to print copyright text in the file as an execution option. Is there a way to do this?

Best regards

jpeddicord commented 4 years ago

That is correct. In fact, askalono actively tries to throw out copyright data when identifying a license, as it helps with license matching and speed.

It would be possible to add a mode to preserve and extract copyrights, but a significant overhaul would be needed to some components. I'm open to the possibility.

Right now, if you want to extract copyright data, I recommend checking out https://github.com/nexB/scancode-toolkit.