Skip to content

docs: add Copyright + StrayMark notice; SPDX headers on Rust sources#17

Merged
montfort merged 2 commits into
mainfrom
docs/readme-copyright-straymark
May 20, 2026
Merged

docs: add Copyright + StrayMark notice; SPDX headers on Rust sources#17
montfort merged 2 commits into
mainfrom
docs/readme-copyright-straymark

Conversation

@montfort
Copy link
Copy Markdown
Contributor

Summary

  • README: adds two sections at the end, mirroring the format used in arborist-metrics:
    • Built with AI · Powered by StrayMark — adapted to this CLI's surface (clap, table/JSON/CSV output, self-update from GitHub Releases, 29-test integration suite).
    • Copyright — © 2026 Strange Days Tech S.A.S. de C.V., dual MIT / Apache-2.0.
  • SPDX headers: adds the same two-line header used in arborist-metrics v0.1.3 to every Rust source under src/ and tests/cli/:
    // SPDX-License-Identifier: MIT OR Apache-2.0
    // Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>
  • tests/fixtures/*.rs intentionally left untouched — those files are inputs to the analyzer in integration tests; modifying them would change the expected metrics.

Test plan

  • cargo build — clean
  • cargo test — 29/29 passing
  • cargo clippy -- -D warnings — no warnings

🤖 Generated with Claude Code

montfort and others added 2 commits May 19, 2026 19:29
…ders on sources

- README: add "Built with AI · Powered by StrayMark" and "Copyright" sections
  mirroring the format used in StrangeDaysTech/arborist-metrics, adapted to
  this CLI's surface (clap, table/JSON/CSV output, self-update, 29-test
  integration suite).
- Add SPDX-License-Identifier + Copyright header to every Rust source under
  src/ and tests/cli/ (in line with the Rust ecosystem convention and the
  identical change made in arborist-metrics v0.1.3).
- tests/fixtures/*.rs intentionally left untouched — those files are inputs
  to the analyzer in integration tests; modifying them would change the
  expected metrics.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The shell loop that prepended the SPDX header used `$(cat ...)` which
strips trailing newlines, leaving every patched file without its final
`\n`. cargo fmt --check (run in CI) flagged all 20 files. Running
cargo fmt restores the trailing newline; no semantic changes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@montfort montfort merged commit 8520ed5 into main May 20, 2026
9 checks passed
montfort added a commit that referenced this pull request May 20, 2026
Patch bump rolling up:
- arborist-metrics 0.1.2 → 0.1.3 (#16)
- README: Copyright + "Built with AI · Powered by StrayMark" sections (#17, #18)
- SPDX headers on all Rust sources under src/ and tests/cli/ (#17)

Also expands `package.exclude` in Cargo.toml to match the upstream
arborist-metrics convention, dropping agent-tooling directories
(.agent/, .claude/, .cursor/, .gemini/) and StrayMark governance
docs (CLAUDE.md, GEMINI.md, STRAYMARK.md, AGENTS.md) from the
crates.io tarball. The package goes from 61 → 33 files.

Co-authored-by: Claude Opus 4.7 (1M context) <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.

1 participant