Skip to content

Comments

Add script for license-check and REUSE SPDX linting#111

Open
abdelkadermeflahi6-web wants to merge 1 commit intomainfrom
codex/add-license-check-and-reuse-lint-script
Open

Add script for license-check and REUSE SPDX linting#111
abdelkadermeflahi6-web wants to merge 1 commit intomainfrom
codex/add-license-check-and-reuse-lint-script

Conversation

@abdelkadermeflahi6-web
Copy link
Owner

Motivation

  • Provide a single, reproducible script to run the repository's SPDX and license checks so CI/devs can run license-check and reuse lint with clear failure semantics and actionable errors.

Description

  • Add scripts/license_spdx_check.sh which runs license-check --fail-on "Unknown,GPLv3,AGPL" followed by reuse lint, writes reuse.log on REUSE failures, and performs preflight checks that exit with explanatory messages if license-check or reuse are missing.

Testing

  • Executed ./scripts/license_spdx_check.sh, which exited early with a clear error that license-check is not installed, and an attempted python -m pip install --user reuse failed due to network/proxy restrictions so the full lint could not be run.

Codex Task

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant