Description
Hi, I ran scancode to detect copyright information but it does not correctly detect authors from Cargo.toml file (which get used in Rust crates). For example:
$ wget https://raw.githubusercontent.com/rust-lang/rust-clippy/master/Cargo.toml
$ scancode Cargo.toml --copyright --json-pp cargo.json
$ cat cargo.json
{
"headers": [
{
"tool_name": "scancode-toolkit",
"tool_version": "3.0.2.post331.45bbafd17",
"options": {
"input": "Cargo.toml",
"--copyright": true,
"--json-pp": "cargo.json"
},
"notice": "Generated with ScanCode and provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\nScanCode is a free software code scanning tool from nexB Inc. and others.\nVisit https://github.com/nexB/scancode-toolkit/ for support and download.",
"start_timestamp": "2019-03-07T064943.463630",
"end_timestamp": "2019-03-07T064943.891931",
"message": null,
"errors": [],
"extra_data": {
"files_count": 1
}
}
],
"files": [
{
"path": "Cargo.toml",
"type": "file",
"holders": [],
"copyrights": [],
"authors": [
{
"value": "Manish Goregaokar <manishsmail@gmail.com> , Andre Bogus <bogusandre@gmail.com>",
"start_line": 4,
"end_line": 6
}
],
"scan_errors": []
}
]
}
Here it displays only 2 authors:
"Manish Goregaokar <manishsmail@gmail.com> , Andre Bogus <bogusandre@gmail.com>"
where as there are 5 authors mentioned in the acutal Cargo.toml:
"Manish Goregaokar <manishsmail@gmail.com>",
"Andre Bogus <bogusandre@gmail.com>",
"Georg Brandl <georg@python.org>",
"Martin Carton <cartonmartin@gmail.com>",
"Oliver Schneider <clippy-iethah7aipeen8neex1a@oli-obk.de>"
System configuration
- What OS are you running on?
Linux
- What version of scancode-toolkit was used to generate the scan file?
$ scancode --version
ScanCode version 3.0.2.post331.45bbafd17
- What installation method was used to install/run scancode?
source (45bbafd)
If you guys have any ideas, I'd be glad to fix this myself. :)
Description
Hi, I ran scancode to detect copyright information but it does not correctly detect authors from
Cargo.tomlfile (which get used in Rust crates). For example:Here it displays only 2 authors:
where as there are 5 authors mentioned in the acutal
Cargo.toml:System configuration
Linux
source (45bbafd)
If you guys have any ideas, I'd be glad to fix this myself. :)