aboutcode-org / aboutcode-org/scancode-toolkit

`UPL-1.0 or Apache-2.0` is detected instead of just `Apache-2.0`

Open
#2,274 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

Scannning [this line](https://github.com/lightbend/scala-logging/blob/6d0edaf12ee64257b377f7b407eb5d3002e28654/project/Common.scala#L53) results in `upl-1.0` being detected in addition to `apache-2.0` via this [rule](https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/rules/upl-1.0_or_apache-2.0_1.RULE).

### How To Reproduce

./scancode in.txt -l --json-pp out.txt

### System configuration

* Ubuntu 20.04
* scancode 3.2.1rc2
* release archive

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.