apache / apache/polaris

Rat Check not Detecting Malformed Licenses

Open
#1,971 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 22h
Merged PRs (30d)
137

Description

### Describe the bug

I accidentally left this typo https://github.com/apache/polaris/pull/1969 in the Spark Client build file, but rat check did not mark the license as wrong and instead said it was correctly licensed as Apache.

```
AL /Users/rspitzer/repos/polaris/plugins/spark/v3.5/spark/build.gradle.kts
```

We should determine exactly why this is happening, although it may be a bug in rat itself

### To Reproduce

_No response_

### Actual Behavior

_No response_

### Expected Behavior

_No response_

### Additional context

_No response_

### System information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the RAT check for plugins/spark/v3.5/spark/build.gradle.kts and compare the malformed AL entry with the reported Apache result. Trace the relevant build configuration or RAT behavior to determine why the file is accepted; done means the cause is documented and a regression check or confirmed upstream issue is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spark
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.