Skip to content

Migrate to ATRAPS LLC: copyright, clippy fix, trusted publishing - #1

Merged
BinFlip merged 5 commits into
mainfrom
chore/llc-migration
Aug 10, 2026
Merged

Migrate to ATRAPS LLC: copyright, clippy fix, trusted publishing#1
BinFlip merged 5 commits into
mainfrom
chore/llc-migration

Conversation

@BinFlip

@BinFlip BinFlip commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Migration of this crate to ATRAPS LLC ownership, per TRANSFER.md.

fix: use ? instead of a matchstructures::types matched on align_up(...) and returned None in the None arm, which is exactly what ? does. Clippy did not flag this when CI last ran, but the workflow pins dtolnay/rust-toolchain@stable, so the lint now fires and would fail this PR regardless of the migration. No behaviour change.

chore: assign copyright

  • LICENSE appendix now reads Copyright 2026 ATRAPS LLC. It named Johann Kempter personally and said 2025, which no commit supports — this history is entirely 2026.
  • NOTICE added; authors dropped; repository repointed at the org; README names the holder.

ci: — trusted publishing replaces the stored CARGO_REGISTRY_TOKEN, and the job refuses to publish a release whose commit is not contained in main.

build:cargo update; goblin, the only direct dependency, was already latest.

chore: release 0.4.1 — 0.4.0 is published and immutable, so the corrected metadata only reaches crates.io in a new version. CHANGELOG compare links repointed at the org.

Verified locally: 254 tests pass, clippy clean, fmt clean, cargo package ships LICENSE and NOTICE.

BinFlip added 5 commits August 9, 2026 17:28
`structures::types` matched on `align_up(...)` and returned None in the
None arm, which is exactly what `?` does. Clippy did not flag this when
CI last ran, but the workflow pins dtolnay/rust-toolchain@stable, so the
lint now fires and fails the `-D warnings` gate on every build.

No behaviour change.
Record ATRAPS LLC as copyright holder following the executed IP
assignment. The Apache-2.0 appendix named Johann Kempter personally and
carried the wrong year: every commit in this repo dates to 2026, not
2025.

- LICENSE: appendix now reads "Copyright 2026 ATRAPS LLC"
- NOTICE: added, per Apache-2.0 section 4(d) attribution channel
- Cargo.toml: drop deprecated `authors`; point `repository` at the org
- README: name the holder in the license section
Replace the long-lived CARGO_REGISTRY_TOKEN repo secret with a
short-lived OIDC token minted per run by crates-io-auth-action and
revoked when the job ends.

Also gate the job on the release commit being contained in main: a
release can be cut from any commit, including one that never landed on
main, so the `release: published` trigger alone does not imply it.
`cargo update` within existing constraints. The only direct dependency,
goblin, was already at its latest release.
0.4.0 is already published and its metadata is immutable, so the
corrected copyright holder, dropped `authors` field, and organisation
repository URL only reach crates.io in a new version. The CHANGELOG
compare links are repointed at the org in the same commit.
@BinFlip
BinFlip merged commit 31acfcf into main Aug 10, 2026
5 checks passed
@BinFlip
BinFlip deleted the chore/llc-migration branch August 10, 2026 00:31
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