Skip to content

fix: restore full Apache License 2.0 text - #82

Merged
chaksaray merged 2 commits into
developfrom
fix/license-full-apache-text
Oct 15, 2026
Merged

chaksaray merged 2 commits into
developfrom
fix/license-full-apache-text

Conversation

@chaksaray

Copy link
Copy Markdown
Member

Closes #81.

LICENSE was a truncated copy of the Apache License 2.0. Parts of section 1 were missing, including the second half of the "Legal Entity" definition and the "Work", "Derivative Works" and "Contribution" definitions. As a result GitHub detected the license as "Other", while PyPI and pyproject.toml say Apache-2.0.

This replaces it with the unmodified text from https://www.apache.org/licenses/LICENSE-2.0.txt, the same file bawbel/gate uses. The only change from that text is the appendix copyright line, which keeps the existing Copyright 2026 Bawbel (bawbel.io@gmail.com). GitHub's detection ignores everything after END OF TERMS AND CONDITIONS.

Check:

curl -s https://www.apache.org/licenses/LICENSE-2.0.txt > apache.txt
diff <(sed 's/[[:space:]]*$//' apache.txt) <(sed 's/[[:space:]]*$//' LICENSE)
# only the leading blank line and the appendix copyright line differ

After merge, gh repo view bawbel/scanner --json licenseInfo should return apache-2.0.

🤖 Generated with Claude Code

LICENSE was a truncated copy of Apache 2.0 (parts of section 1 were
missing), so GitHub detected the license as Other. Replace it with the
unmodified apache.org text, keeping the existing copyright line in the
appendix.

Closes #81

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chaksaray
chaksaray merged commit d2c1ed6 into develop Oct 15, 2026
14 checks passed
@chaksaray
chaksaray deleted the fix/license-full-apache-text branch October 15, 2026 00:03
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.

LICENSE is a truncated Apache 2.0 text, GitHub detects it as Other

1 participant