Skip to content

chore: automate ATTRIBUTION generation with cargo-about#697

Merged
Zee2413 merged 1 commit intoaws-cloudformation:mainfrom
Zee2413:fix/automate-attribution
Mar 31, 2026
Merged

chore: automate ATTRIBUTION generation with cargo-about#697
Zee2413 merged 1 commit intoaws-cloudformation:mainfrom
Zee2413:fix/automate-attribution

Conversation

@Zee2413
Copy link
Copy Markdown
Contributor

@Zee2413 Zee2413 commented Mar 30, 2026

Summary

Replaces the manually maintained ATTRIBUTION file with tooling to regenerate it from Cargo.lock. The previous file was created in 2020 and had not been kept in sync with dependencies.

Changes

  • about.toml — cargo-about config listing accepted licenses
  • about.hbs — handlebars template matching the existing ATTRIBUTION format
  • ATTRIBUTION — regenerated from current Cargo.lock (all platforms)
  • CONTRIBUTING.md — documented the regeneration command, fixed step numbering

How to update

When Rust dependencies change:

cargo install cargo-about
cargo about generate about.hbs > ATTRIBUTION

@Zee2413 Zee2413 force-pushed the fix/automate-attribution branch 6 times, most recently from 1d121f4 to d516024 Compare March 31, 2026 03:17
Replace the manually maintained ATTRIBUTION file with tooling to
regenerate it from Cargo.lock. The previous file was created in 2020
and had not been kept in sync with dependencies.

Added:
- about.toml: cargo-about config with accepted licenses
- about.hbs: handlebars template matching the existing format
- CONTRIBUTING.md: documented the regeneration command

To regenerate:
  cargo about generate about.hbs --target x86_64-unknown-linux-gnu | tr -d '\r' > ATTRIBUTION
@Zee2413 Zee2413 force-pushed the fix/automate-attribution branch from d516024 to 7652792 Compare March 31, 2026 14:41
@Zee2413 Zee2413 merged commit 5871a6a into aws-cloudformation:main Mar 31, 2026
15 checks passed
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.

3 participants