Skip to content

Centralize distribution target identity helpers - #258

Merged
turinglambdaai merged 1 commit into
mainfrom
issue-239-distribution-identity
Oct 15, 2026
Merged

turinglambdaai merged 1 commit into
mainfrom
issue-239-distribution-identity

Conversation

@turinglambdaai

Copy link
Copy Markdown
Owner

Products currently copy Rivet’s manifest platform and architecture mapping, installer filename extensions, and RFC 3339 timestamp formatting. This adds a leaf-loadable rivet/distribution/identity module, re-exports it from rivet/distribution, and makes the release path, platform adapter, and managed updater consume the shared implementation. Unknown platforms, architectures, and installer kinds now fail closed; release timestamps are always formatted from UTC rather than labeling local time with Z.

The managed updater also uses the canonical extension map, so targz and appimage downloads receive .tar.gz and .AppImage filenames.

Closes #239.

Validation: PLTCOLLECTS="$PWD:" raco test rivet/tests/ — 9,729 tests passed; public API and documentation checks rerun after the final edit — 636 tests passed.

@turinglambdaai
turinglambdaai merged commit b99c4d9 into main Oct 15, 2026
23 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.

distribution: export platform/arch/installer-extension helpers (duplicated verbatim in 3 products)

1 participant