[
https://issues.apache.org/jira/browse/RATIS-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147981#comment-18147981
]
Haonan Hou commented on RATIS-2828:
-----------------------------------
The same ASF source header issue is present in {{apache/ratis-thirdparty}}. I
checked upstream {{master}} at {{8032a17}} and the official 1.1.1 source
tarball, which matched its published SHA-512 checksum. [Upstream
snapshot|https://github.com/apache/ratis-thirdparty/tree/8032a17ec4d7cf91037449571035a2cffa5080a1]
ยท [1.1.1 source
tarball|https://downloads.apache.org/ratis/ratis-thirdparty-1.1.1/ratis-thirdparty-1.1.1-src.tar.gz]
Both contain five files with the generic Apache License 2.0 notice.
* {{pom.xml}}, {{misc/pom.xml}}, and {{test/pom.xml}}
* {{test/src/test/resources/log4j.properties}}
* {{README.md}}
The three POMs and the test configuration lack the ASF contributor license
agreement language and the reference to {{NOTICE}}. The README is a short
project introduction and may qualify for the exception for short informational
files. [ASF source header policy|https://www.apache.org/legal/src-headers.html]
All Java and Protobuf files contain the standard ASF header. Apache RAT 0.16.1
passed on both snapshots with the {{release}} and {{test}} profiles enabled,
with zero unknown or unapproved licenses.
> Standardize ASF license headers in the Ratis source distribution
> ----------------------------------------------------------------
>
> Key: RATIS-2828
> URL: https://issues.apache.org/jira/browse/RATIS-2828
> Project: Ratis
> Issue Type: Task
> Reporter: Haonan Hou
> Priority: Major
>
> The Ratis 3.3.0-SNAPSHOT source tarball built from commit af50f2ddf contains
> 37 files with the generic Apache License 2.0 notice, including 19 Maven POMs.
> For example, {{pom.xml}}, {{ratis-trace-otel/pom.xml}}, and {{BUILDING.md}}
> lack the ASF contributor license agreement language and the reference to
> {{NOTICE}} in the standard ASF source header.
> Apache RAT 0.13 (CI) and 0.16.1 (release profile) both reported zero unknown
> or unapproved licenses. RAT recognizes the generic notice as an Apache 2.0
> license. The [ASF source header
> policy|https://www.apache.org/legal/src-headers.html] specifies the required
> headers for ASF-developed files shipped in a distribution.
> Apply the standard ASF header to Ratis-authored POMs, documentation, and
> configuration files shipped in the source tarball. Preserve existing
> third-party license and copyright notices. Rebuild the source tarball and
> verify the updated headers and RAT results.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)