aboutcode-org / aboutcode-org/scancode-toolkit

Incorrect license detection for a Rust crate

Open
#3,979 1 comment 0 reactions 0 assignees View on GitHub
bug license scan major Priority: high
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

Scanning https://github.com/emilk/egui/archive/refs/heads/master.zip with `--package` I get incorrect licenses:

- `Declared license expression (SPDX): (MIT OR Apache-2.0) AND OFL-1.1`

- `Extracted license statement: (MIT OR Apache-2.0) AND OFL-1.1 AND LicenseRef-UFL-1.0`

We should have an error for this and/or an unknown license. And we should also return an error in ScanCode.io

Related: https://github.com/emilk/egui/pull/5361

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.