Phoenix500526 commented on code in PR #11497:
URL: https://github.com/apache/arrow-rs/pull/11497#discussion_r4355433955
##########
licenserc.toml:
##########
@@ -16,28 +14,34 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-#
-
-RAT_VERSION=0.13
-
-# download apache rat
-if [ ! -f apache-rat-${RAT_VERSION}.jar ]; then
- curl -s
https://repo1.maven.org/maven2/org/apache/rat/apache-rat/${RAT_VERSION}/apache-rat-${RAT_VERSION}.jar
> apache-rat-${RAT_VERSION}.jar
-fi
-RAT="java -jar apache-rat-${RAT_VERSION}.jar -x "
+[header]
+builtin = "Apache-2.0-ASF"
-RELEASE_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd)
+[files]
+includes = ["*.rs", "*.py", "*.md", "*.toml", "*.sh"]
+excludes = [
+ # Third-party and generated Rust files have no ASF header.
+ "arrow-array/src/delta.rs",
+ "arrow-flight/src/arrow.flight.protocol.rs",
+ "arrow-flight/src/sql/arrow.flight.protocol.sql.rs",
+ # These Markdown, TOML, and shell files have no ASF header.
+ ".config/nextest.toml",
+ ".github/pull_request_template.md",
+ ".github/workflows/miri.sh",
+ "AGENTS.md",
+ "CLAUDE.md",
+ "arrow-flight/examples/data/gen_certs.sh",
+ # cliff.toml embeds an ASF notice in generated Markdown, not as a file
header.
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]