aboutcode-org / aboutcode-org/scancode-toolkit

Have "All rights reserved." contained in json output

Open
#1,542 2 comments 0 reactions 0 assignees View on GitHub
complex copyright scan new feature
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description
I'm using Scancode to detect the copyright in a repo. I have the copyright pattern as:

> (c) Copyright XXXX Ltd. 20* All rights reserved.

*is the year
Currently in json result, the copyright value is:
```
"copyrights": [
{
"value": "(c) Copyright XXXX Ltd. 20*",
"start_line": 2,
"end_line": 2
}
],
```
I expect the copyright statement would end up with "All rights reserved." So, it should look like:
```
"copyrights": [
{
"value": "(c) Copyright XXXX Ltd. 20* All rights reserved.",
"start_line": 2,
"end_line": 2
}
],
```
I notice #559 , but what should I do to have that picked up?
Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.