Skip to content

chore: SPDX headers on all Go source files#22

Merged
devonartis merged 3 commits into
developfrom
chore/spdx-headers-polyform
Apr 13, 2026
Merged

chore: SPDX headers on all Go source files#22
devonartis merged 3 commits into
developfrom
chore/spdx-headers-polyform

Conversation

@devonartis

Copy link
Copy Markdown
Owner

Summary

  • Added // SPDX-License-Identifier: PolyForm-Internal-Use-1.0.0 to all 77 .go files in cmd/ and internal/
  • Extended CI contamination gate with SPDX header enforcement — new Go files without the header fail the gate
  • Mirrored in scripts/gates.sh for gate parity

Follows PR #21 (PolyForm relicense). Purely mechanical — no behavior changes.

Test plan

  • gofmt -l clean
  • go build ./... passes
  • go test ./... -short all 15 packages pass
  • SPDX gate check passes locally
  • CI gates-passed green

Every .go file in cmd/ and internal/ (77 files) now carries
// SPDX-License-Identifier: PolyForm-Internal-Use-1.0.0
as its first line, per the PolyForm relicense (PR #21).

CI contamination gate extended with an SPDX header check so
new Go files without the header fail the gate. Mirrored in
scripts/gates.sh for gate parity.
PolyForm Internal Use is source-available, not OSI-approved
open-source. Updated docs/README.md and docs/python-sdk.md
to match the new repo description.
@devonartis devonartis changed the base branch from main to develop April 13, 2026 18:07
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA e027de6.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@devonartis devonartis merged commit 2313220 into develop Apr 13, 2026
20 checks passed
@devonartis devonartis deleted the chore/spdx-headers-polyform branch April 13, 2026 18:14
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.

1 participant