registry: fix sourcery platform archive format#9902
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the sourcery.toml configuration to define supported operating systems and specifies platform-specific backend options for Linux x64. A review comment suggests removing the explicit tar.gz format specification for Linux, as it is redundant and could cause installation failures with newer versions of Sourcery that use .tar.xz archives.
Greptile SummaryThis PR scopes the
Confidence Score: 3/5The macOS portion of the fix is correct, but the linux-x64 format override is mismatched against the current 2.3.0 release format, which would cause extraction failures on the primary linux-x64 path. The macOS fix and OS restriction are both sound. The linux-x64 registry/sourcery.toml — specifically the Important Files Changed
Reviews (1): Last reviewed commit: "registry: fix sourcery platform archive ..." | Re-trigger Greptile |
Summary
format = "tar.gz"override to the Linux x64 platform only.os = ["linux", "macos"]because current Sourcery releases do not publish Windows assets..zipasset so macOS installs no longer try to extract zip files as gzip tar archives.Fixes #9876.
Popularity
No new registry tool is added in this PR. This only fixes the existing
sourceryregistry entry, so new-tool popularity data is not applicable.Existing upstream signals:
krzysztofzablocki/Sourceryhas 7,996 stars and 632 forks, pushed 2026-05-06.Release asset check
2.3.0assets:sourcery-2.3.0-ubuntu-22.04.5-lts-jammy-x86_64.tar.xz,sourcery-2.3.0.artifactbundle.zip,sourcery-2.3.0.zip.2.2.7assets:sourcery-2.2.7-ubuntu-22.04.5-lts-jammy-x86_64.tar.gz,sourcery-2.2.7.artifactbundle.zip,sourcery-2.2.7.zip.Testing
taplo fmt --check registry/sourcery.toml && taplo check registry/sourcery.tomlgit diff --checkMISE_DATA_DIR=$(mktemp -d) MISE_CACHE_DIR="$MISE_DATA_DIR/cache" mise x 'github:krzysztofzablocki/Sourcery[format=tar.gz]@2.3.0' -- which sourceryMISE_DATA_DIR=$(mktemp -d) MISE_CACHE_DIR="$MISE_DATA_DIR/cache" MISE_OS=macos MISE_ARCH=x64 mise x 'github:krzysztofzablocki/Sourcery@2.3.0' -- truemise run lint-fixwas attempted on the #9789 branch earlier, but its cargo-check phase was stopped after waiting behind unrelated Cargo build locks from other worktrees. The relevant TOML formatting/checks above passed for this PR.