Skip to content

feat(datum-platform): add /notice command for generating NOTICE files#19

Open
privateip wants to merge 2 commits into
mainfrom
feat/notice-command
Open

feat(datum-platform): add /notice command for generating NOTICE files#19
privateip wants to merge 2 commits into
mainfrom
feat/notice-command

Conversation

@privateip

Copy link
Copy Markdown
Contributor

Summary

  • Adds a /notice slash command to the datum-platform plugin
  • Detects project language (Go, Python, Node.js, Rust) from repo root files
  • Generates a NOTICE file with third-party dependency license info using language-appropriate tools (go-licenses, pip-licenses, license-checker, cargo-about)
  • Includes fallback strategies for each language when preferred tools are unavailable
  • Reports results including dependency count, tool used, and any unknown licenses needing manual review

Test plan

  • Invoke /notice in a Go repo — verify go-licenses is used or fallback to go.mod parsing
  • Invoke /notice in a Node.js repo — verify license-checker output or node_modules fallback
  • Invoke /notice in a repo with no recognized language — verify graceful unknown/polyglot handling
  • Verify NOTICE file format matches the specified template (sorted alphabetically, full license text)

🤖 Generated with Claude Code

Adds a slash command that detects the project language and generates a
NOTICE file with third-party dependency license information using
language-specific tools (go-licenses, pip-licenses, license-checker,
cargo-about) with fallback strategies for each.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@privateip privateip requested review from drewr and scotwells May 23, 2026 00:01
scotwells
scotwells previously approved these changes Jun 26, 2026

@scotwells scotwells left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to increment the plugin version for this update to go out to all clients.

Co-Authored-By: Claude <noreply@anthropic.com>
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