Add liccheck to gate CI on dependency license compliance
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 58/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- ci-cd, documentation, security
Research direction
Start by inspecting setup.cfg, the development and CI dependency definitions, the Makefile entry points, CI configuration, and DEVELOPER_GUIDE.md. Confirm how liccheck represents the proposed license allowlist and blocklist, then verify that the make target and CI job fail on an unapproved dependency license and that the developer documentation explains the check.
Written by the indexing model from the issue text.
Description
Summary
Add liccheck with an authorised-license
allowlist in setup.cfg so that CI fails if any (transitive) Python dependency carries an
unapproved license (e.g. GPL, LGPL, or ASF Category X licenses).
Motivation
- Apache Superset uses
liccheckto automatically flag problematic transitive deps - Known issue:
certifiis MPL-2.0 (ASF Category B — allowed with attribution, not
bundled); liccheck will surface this and similar cases - Avoids manual license audits when adding or upgrading dependencies
Proposed changes
- Add
[liccheck]section tosetup.cfg(or aliccheck.ini) with:authorized_licensesallowlist (Apache-2.0, MIT, BSD-*, ISC, Python-2.0, …)unauthorized_licensesblocklist (GPL, LGPL, AGPL, …)
- Add
liccheckto dev/CI dependencies - Add
make licchecktarget - Integrate into CI pipeline (fail on unapproved licenses)
- Document in
DEVELOPER_GUIDE.md
References
- Dominant language
- Python
- Stars
- 3
- Forks
- 5
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/solr-orbit
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
apache/solr-orbit#34 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
apache/solr-orbit#79 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 64/100
apache/solr-orbit#45 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
apache/solr-orbit#13 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/solr-orbit#12 ·
All issues in apache/solr-orbit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100