Skip to content

Exclude http_load sources from RAT#13067

Closed
bneradt wants to merge 2 commits into
apache:masterfrom
bneradt:rat-ignore-http-load
Closed

Exclude http_load sources from RAT#13067
bneradt wants to merge 2 commits into
apache:masterfrom
bneradt:rat-ignore-http-load

Conversation

@bneradt
Copy link
Copy Markdown
Contributor

@bneradt bneradt commented Apr 7, 2026

This excludes the third-party http_load sources from RAT checks.
These files carry their own upstream license text rather than ASF
headers, so checking them as Apache-licensed sources causes a false
failure.

This keeps the RAT target consistent across environments and avoids
local failures on http_load.c.

This excludes the third-party http_load sources from RAT checks.
These files carry their own upstream license text rather than ASF
headers, so checking them as Apache-licensed sources causes a false
failure.

This keeps the RAT target consistent across environments and avoids
local failures on http_load.c.
@bneradt bneradt added this to the 11.0.0 milestone Apr 7, 2026
@bneradt bneradt self-assigned this Apr 7, 2026
Copy link
Copy Markdown
Member

@maskit maskit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we narrow the scope to tools/http_load/. We may use same file names in another directory.

This updates the RAT target to scan a filtered source tree instead of
excluding basenames globally. The filtered tree drops only the
third-party tools/http_load sources that carry their own upstream
license text.

This keeps RAT from masking unrelated files that may reuse the same
names elsewhere in the tree.
@maskit
Copy link
Copy Markdown
Member

maskit commented Apr 8, 2026

[approve ci autest 2]

@maskit
Copy link
Copy Markdown
Member

maskit commented Apr 8, 2026

(Seems like autest sigusr2 is still unstable...)

I thought the change is just prepending the path like:

^tests/gold_tests/autest-site/min_cfg$

And now I see many entries that only check filenames without the paths. Did we actually chose to have just filename so that we can move files into another directory easily?

@bneradt
Copy link
Copy Markdown
Contributor Author

bneradt commented Apr 8, 2026

I'm going to resolve this by updating from rat 0.13 to 0.17 which supports glob-like paths, making addressing this easier. See: #13071 .

@bneradt bneradt closed this Apr 8, 2026
@zwoop zwoop modified the milestones: 11.0.0, 10.2.0 May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants