I'm trying to create a proto plugin for ruff, but hit a snag with the Mac releases. The tar files for Mac are created using the inbuilt tar of the macos-latest runner.
But it turns out that tar version apparently uses a "GNU Sparse File extension", which tar-rs does not currently support. The result is that extraction spits out a "GNUSparseFile.0" directory containing corrupted archive files.
There is an old PR lying around to fix this, but it has been stale for 2 years.. The cargo-binstall guys created a temporary fork with the fix, while they wait for the PR to get merged. So that's one way to go at least.
You can test it yourself on a Mac using https://github.com/Phault/proto-toml-plugins/tree/main/ruff
I'm trying to create a proto plugin for ruff, but hit a snag with the Mac releases. The tar files for Mac are created using the inbuilt tar of the macos-latest runner.
But it turns out that tar version apparently uses a "GNU Sparse File extension", which tar-rs does not currently support. The result is that extraction spits out a "GNUSparseFile.0" directory containing corrupted archive files.
There is an old PR lying around to fix this, but it has been stale for 2 years.. The cargo-binstall guys created a temporary fork with the fix, while they wait for the PR to get merged. So that's one way to go at least.
You can test it yourself on a Mac using https://github.com/Phault/proto-toml-plugins/tree/main/ruff