Skip to content

Add ASF release compliance checks#72

Open
jianguotian wants to merge 1 commit into
apache:mainfrom
jianguotian:fix/asf-release-compliance
Open

Add ASF release compliance checks#72
jianguotian wants to merge 1 commit into
apache:mainfrom
jianguotian:fix/asf-release-compliance

Conversation

@jianguotian

Copy link
Copy Markdown
Contributor

Purpose

Add ASF release compliance checks and refresh Rust dependency license reports so release vote issues are caught earlier.

Changes

  • Add tools/check_license_headers.py to verify tracked text files have ASF license headers or explicit exemptions.
  • Run the license header check in GitHub Actions CI.
  • Normalize generated Rust dependency reports by trimming trailing whitespace in tools/dependencies.py.
  • Regenerate Rust DEPENDENCIES.rust.tsv reports from the current Cargo.lock.

Tests

  • python3 tools/validate_asf_yaml.py
  • python3 tools/check_license_headers.py
  • Parsed .github/workflows/ci.yml with PyYAML
  • /root/miniconda3/envs/py311/bin/python3.11 tools/dependencies.py generate
  • /root/miniconda3/envs/py311/bin/python3.11 tools/dependencies.py check
  • git diff --check
  • Source-release RAT scan: Archives: 0, 0 Unknown Licenses with generated DEPENDENCIES.rust.tsv files excluded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant