aboutcode-org / aboutcode-org/scancode-toolkit

Multiple false-positive findings in flyway-core

Ouverte
#2,930 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
fixed pending review license scan
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.