Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add permissive_license rule type. #261

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Conversation

blkt
Copy link
Contributor

@blkt blkt commented Jan 8, 2025

This rule type checks that the license detected by GitHub is approved by either OSI or FSF. It uses two data sources, one to call GitHub API to get the SPDX identifier of the license, and another one to get the updated list of licenses approved by from SPDX repository.

This rule can be used to implement OSPS-LE-02.

P.S.: the name is ugly, please advise. 😅

@blkt blkt self-assigned this Jan 8, 2025
@blkt blkt requested a review from a team as a code owner January 8, 2025 15:02
@blkt blkt force-pushed the feat/add-license-is-osi-or-fsf-approved branch 2 times, most recently from c9cf8ec to 5280188 Compare January 8, 2025 15:28
@blkt blkt force-pushed the feat/add-license-is-osi-or-fsf-approved branch from ab47916 to fbcb57e Compare January 10, 2025 11:29
blkt added 2 commits January 10, 2025 12:30
This rule type checks that the license detected by GitHub is approved
by either OSI or FSF. It uses two data sources, one to call GitHub API
to get the SPDX identifier of the license, and another one to get the
updated list of licenses approved by from SPDX repository.

This rule can be used to implement `OSPS-LE-02`.
@blkt blkt force-pushed the feat/add-license-is-osi-or-fsf-approved branch from fbcb57e to aceda9a Compare January 10, 2025 11:30
@blkt blkt changed the title Add license-is-osi-or-fsf-approved rule type. Add permissive_license rule type. Jan 10, 2025
@blkt blkt merged commit 632390f into main Jan 10, 2025
6 checks passed
@blkt blkt deleted the feat/add-license-is-osi-or-fsf-approved branch January 10, 2025 16:20
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.

2 participants