Repository navigation
chore: rename crate and binary osm-diffs → osmdiffs - #803
Merged
Merged
Conversation
Completes the repo move: the crate, the binary artifact, and every
name derived from them now match github.com/brawer/osmdiffs.
- `Cargo.toml` package name -> `osmdiffs`; `Cargo.lock` regenerated;
`osm_diffs::` -> `osmdiffs::` in `src/main.rs`. Log `target` fields
are now `osmdiffs::...` (reflected in the Hetzner `pipeline.log`
fixture and `docs/LOGGING.md`).
- `Containerfile`: build WORKDIR `/usr/osmdiffs`, binary copied to
`/app/osmdiffs`, `ENTRYPOINT ["/app/osmdiffs"]`.
- Tests: `cargo_bin!("osmdiffs")`, `cargo test -p osmdiffs`.
- Provenance BOM: tool component `name` and every `bom-ref`
(`tool-osmdiffs`, `formula-osmdiffs-build`, ...) plus test assertions.
- SBOM scripts: `osmdiffs_bin.cdx.json`, the `osmdiffs:sbom:devBuild`
property, and comments.
- Hetzner / macOS test tooling, per the "everything, consistently"
choice: systemd unit names (`osmdiffs-run`, `osmdiffs-monitor`), the
local podman image tag and VM label key (`osmdiffs-test`),
`REMOTE_DIR` `/root/osmdiffs`, binary paths.
- Docs and stray comments.
Left unchanged:
- The frozen UUIDv5 seed URLs in `provenance.rs` / `datapackage.rs`
(still `alltheplaces/osm-diffs`, as before -- the constants must not
be regenerated).
- The local dev checkout path in the gitignored
`.claude/settings.local.json`.
`cargo test --locked`, `cargo clippy --locked`, `cargo fmt`, and the
Hetzner pytest suite all pass.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADxF1ZE2j9Ki51fiJQQLVo
brawer
enabled auto-merge (squash)
September 10, 2026 15:22
brawer
disabled auto-merge
September 10, 2026 15:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Final step of the repo move: the Rust crate, the binary artifact, and every identifier derived from them now match
github.com/brawer/osmdiffs.What changed
Cargo.tomlpackage name →osmdiffs;Cargo.lockregenerated;osm_diffs::→osmdiffs::insrc/main.rs.targetfield is nowosmdiffs::…(updated in the Hetznerpipeline.logfixture anddocs/LOGGING.md). No code parses it, but it's the visible consequence of the crate rename.Containerfile: build WORKDIR/usr/osmdiffs, binary →/app/osmdiffs,ENTRYPOINT ["/app/osmdiffs"].cargo_bin!("osmdiffs")×6,cargo test -p osmdiffs.provenance.rs): tool componentname+ every internalbom-ref(tool-osmdiffs,formula-osmdiffs-build,workflow-osmdiffs-build,trigger-osmdiffs-schedule) and the matching test assertions.cargo cyclonedxoutput fileosmdiffs_bin.cdx.json, theosmdiffs:sbom:devBuildmetadata property, comments.osmdiffs-run,osmdiffs-monitor), local podman image tag + Hetzner VM label key (osmdiffs-test),REMOTE_DIR/root/osmdiffs, extracted binary paths,--versioncheck.deny.toml,pr-title-lint.yml).Left unchanged (deliberate)
provenance.rs(SERIAL_NAMESPACE) anddatapackage.rs(ID) — stillgithub.com/alltheplaces/osm-diffs, as they were after chore: update in-repo references for the move to brawer/osmdiffs #802. Those constants must never be regenerated.#[command(name = "diffed-places-pipeline")]— a separate identity, notosm-diffs..claude/settings.local.json.Operational note
Any Hetzner test VM currently running under the old
osm-diffs-testlabel will be invisible tocloud_test.pyafter this merges (label key changed). None expected to be running.Testing
cargo test --locked(263 + 6),cargo clippy --locked,cargo fmt --check, and the Hetznerpytestsuite (81) all pass. The container build (which regenerates the SBOM and would fail loudly on a wrongosmdiffs_bin.cdx.jsonname) runs in CI here.🤖 Generated with Claude Code
https://claude.ai/code/session_01ADxF1ZE2j9Ki51fiJQQLVo