port the third-party license generator from embedded Python to madtea-dev #625
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#630 Epic: no Python in the repo
sixfold-space/madtea
Reference
sixfold-space/madtea#625
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
scripts/gen-third-party-licenses.shembeds a Python program (python3 - <<'PY') that lists the Go modules, looks up each license, and rendersTHIRD-PARTY-LICENSES.md. The gate runs it on every run (third-party-licenses), so the gate and CI needpython3only for this. madtea is a Go project; this tooling belongs in Go.Fix
madtea-devsubcommand generatesTHIRD-PARTY-LICENSES.md, and with--checkfails when the committed file is out of date, with the same output as today.scripts/gen-third-party-licenses.shis removed.ci.yml"install system deps" step no longer installspython3, anddocs/contributing/ci.mdno longer lists it.Acceptance
THIRD-PARTY-LICENSES.md.--checkfails on a stale file and on an undeclared vendored license, with tests for both.