Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to parse Debian copyright text #1

Closed
nishakm opened this issue Apr 28, 2020 · 2 comments
Closed

Add the ability to parse Debian copyright text #1

nishakm opened this issue Apr 28, 2020 · 2 comments

Comments

@nishakm
Copy link

nishakm commented Apr 28, 2020

Currently the DebianCopyright class can read copyright text from a file. It would be nice to have a similar method to parse copyright text from a python string.

cc @mukultaneja

pombredanne added a commit that referenced this issue Apr 28, 2020
Reported-by: Nisha K <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
@pombredanne
Copy link
Member

@nishakm 👋 ... there you go!

pombredanne added a commit that referenced this issue Jun 4, 2020
Add new DebianCopyright.from_text() method #1
@pombredanne
Copy link
Member

@nishakm Note that this is partially here and partially in scancode-toolkit at https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/debian_copyright.py as the smarts doing effective license detection on expressions and texts in copyright file paragraphs are in the Toolkit.
There are many refinements needed but this will be tracked in separate tickets: therefore I am closing this
Follow up tickets include these here:

pombredanne pushed a commit that referenced this issue May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants