bazelbuild / bazelbuild/rules_license

Add CI test to check SPDX licenses are up-to-date

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
P3
Dominant language
Starlark
Stars
85
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Currently, it is a manual process to check that the list of SPDX licenses represented by `licenses/spdx/BUILD` are up-to-date.

Instead, add a CI test that checks what we have against the authoritative source and fails if we are more than some threshold behind.

See PR review comment: https://github.com/bazelbuild/rules_license/pull/17#discussion_r789099505

Contributor guide

Open the contributing guide

Research direction

Start with licenses/spdx/BUILD and the linked PR review comment to understand the current license list and the requested check. Identify the authoritative source and an acceptable lag threshold, then add a CI test that compares them and fails when the list is too far behind.

Written by the indexing model from the issue text.

Assessment

Domain
ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.