Commit cef7440
Upgrade to RAT 0.17 (#2992)
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
(Copy over RAT upgrade changes from java, #15145, #15174, #15194)
Upgrades RAT to version 0.17, which has new regex for [exclusion
expression](https://creadur.apache.org/rat/apache-rat-core/exclusion_expression.html)
* Using `--input-exclude-file` because `-E,--exclude-file` is deprecated
* Using `--input-include-std HIDDEN_DIR` because
`--scan-hidden-directories` is deprecated
* Using the new [`--output-style missing-headers`
option](https://creadur.apache.org/rat/apache-rat/index.html) for output
styling
Add usage of the new collections for ignore file patterns
https://creadur.apache.org/rat/apache-rat/standard_collections.html
- `GIT` matches `**/.git/**`, `**/.gitignore`
- `IDEA` matches `**/*.iws`, `**/*.iml`, `**/*.ipr`, `**/.idea/**`
- `MAC` matches `**/.DS_Store`
## Are these changes tested?
yes locally and ci
## Are there any user-facing changes?
<!-- In the case of user-facing changes, please add the changelog label.
-->1 parent df02f2e commit cef7440
2 files changed
+16
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| 2 | + | |
6 | 3 | | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
72 | 77 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 78 | + | |
0 commit comments