aboutcode-org / aboutcode-org/scancode-toolkit

Multiple false-positive findings in flyway-core

Đang mở
#2,930 1 bình luận 1 reaction 0 người được giao Xem trên GitHub
fixed pending review license scan
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.