aboutcode-org / aboutcode-org/scancode-toolkit

Multiple false-positive findings in flyway-core

Open
#2,930 1 comment 1 reaction 0 assignees View on GitHub
fixed pending review license scan
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### Description

Scanning flyway-core with ScanCode 30.1.0 results in multiple findings of `LicenseRef-scancode-proprietary-license` which IMO are false-positives.

The matched lines are in all `package-info.java` files lines 14-17:
```
* limitations under the License.
*/
/**
* The main Flyway package and for most users, the only one they'll ever need to know about.
```
https://github.com/flyway/flyway/blob/fe24e96a51a6b4b43a56832d3258662ae71ef669/flyway-core/src/main/java/org/flywaydb/core/package-info.java#L14-L17

Another `LicenseRef-scancode-proprietary-license` finding which is also a false-positive finding is in `org/flywaydb/core/Flyway.java` lines 350-366:
```
throw new org.flywaydb.core.internal.license.FlywayTeamsUpgradeRequiredException("undo");

}

private CleanResult doClean(Database database, SchemaHistory schemaHistory, Schema defaultSchema, Schema[] schemas, CallbackExecutor callbackExecutor) {
```
https://github.com/flyway/flyway/blob/fe24e96a51a6b4b43a56832d3258662ae71ef669/flyway-core/src/main/java/org/flywaydb/core/Flyway.java#L350-L366

### How To Reproduce

Scan [flyway-core](https://github.com/flyway/flyway/tree/master/flyway-core) with ScanCode 30.1.0.

### System configuration

I scanned flyway-core using the latest ORT version on Linux.

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.