jianguotian opened a new pull request, #12: URL: https://github.com/apache/paimon-full-text/pull/12
Purpose - Fix missing ASF license headers in Apache Paimon Full Text source files before continuing the release vote. - Add a lightweight CI check to prevent future tracked text files from missing ASF license headers. Changes - Added ASF license headers to Rust, Java, Python, C header, TOML, and Markdown files that can safely carry headers. - Added tools/check_license_headers.py and wired it into CI after .asf.yaml validation. - Kept generated/test-data files as explicit check-script exemptions: Cargo.lock, DEPENDENCIES.rust.tsv, LICENSE, NOTICE, and the golden storage envelope fixture. Tests - python3 tools/check_license_headers.py - cargo fmt --all -- --check - cargo deny list -f tsv -t 0.6 > /tmp/DEPENDENCIES.rust.tsv && diff -u DEPENDENCIES.rust.tsv /tmp/DEPENDENCIES.rust.tsv - cargo deny check licenses - cargo clippy --all-targets --workspace -- -D warnings - cargo test --workspace - cargo build --release -p paimon-ftindex-jni -p paimon-ftindex-ffi - mvn -q -f java/pom.xml test - mvn -q -f java/pom.xml clean verify -Prelease -Dgpg.skip=true -DskipTests - PYTHONPATH=/tmp/no-readline PAIMON_FTINDEX_LIB_PATH=<release-target-dir> python3 -m pytest -q tests - Verified a temporary source archive generated with the release script's git-archive exclusions: required files present, release infra excluded, no binary-like source files. - Bare RAT on the temporary source archive reports only DEPENDENCIES.rust.tsv and core/tests/golden/storage_v1_envelope.hex; RAT with those documented generated/test-data exclusions reports 0 Unknown Licenses. -- 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]
