registry: add imagemagick backend aqua:ImageMagick/ImageMagick for Windows support#10214
registry: add imagemagick backend aqua:ImageMagick/ImageMagick for Windows support#10214iki wants to merge 1 commit into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Greptile SummaryAdds
Confidence Score: 5/5Safe to merge — the change is a single-line addition of a well-tested aqua backend with no logic changes. The change touches only one registry entry file and adds a backend that was verified working by the author. The existing fallback backends are preserved, so there is no regression risk for users on platforms where aqua is not set up. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "registry: add imagemagick backend aqua:I..." | Re-trigger Greptile |
| backends = ["conda:imagemagick", "asdf:mise-plugins/mise-imagemagick"] | ||
| backends = ["aqua:ImageMagick/ImageMagick", "conda:imagemagick", "asdf:mise-plugins/mise-imagemagick"] | ||
| description = "ImageMagick is a free, open-source software suite for creating, editing, converting, and displaying images. It supports 200+ formats and offers powerful command-line tools and APIs for automation, scripting, and integration across platforms" | ||
| # test = { cmd = "magick --version", expected = "ImageMagick" } |
There was a problem hiding this comment.
Commented-out test still disabled
Now that aqua:ImageMagick/ImageMagick is the first backend and provides cross-platform (including Windows) support, it may be a good time to revisit enabling this test. Other aqua-backed registry entries (e.g. act.toml, 1password.toml) have their tests enabled. Consider uncommenting test = { cmd = "magick --version", expected = "ImageMagick" } if the aqua package exposes the magick binary — just confirm the binary name matches what the aqua registry entry ships.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
This PR currently has failing checks. If this continues for 7 days, it will be closed automatically. This is warning day 1 of 7. Please update the PR when you have a chance. Feel free to reopen or create a new PR if it is closed and you'd like to continue working on it. This comment was generated by an automated workflow. |
## Summary - route aqua `format: 7z` archives through the existing archive extractor - detect `.7z` assets in the aqua registry mirror when `format` is omitted - add Windows e2e coverage using a small local aqua registry and the existing 7z fixture ## References - Addresses #10215 (`aqua:ImageMagick/ImageMagick` failed with `unsupported format: 7z`) - Unblocks #10214, the mise registry PR adding `aqua:ImageMagick/ImageMagick` for Windows support; that PR exposed that mise's aqua backend did not support 7z extraction - Aqua registry reference: aquaproj/aqua-registry#50281 added `ImageMagick/ImageMagick` to aqua, where aqua can install the Windows `.7z` release assets ## Testing - `cargo fmt --all -- --check` - `git diff --check` - Attempted `cargo test -p aqua-registry test_format_detects_7z_asset`, but local execution was blocked for an extended period by the shared Cargo build-directory lock from other worktrees; CI should cover this path - Windows Pester e2e not run locally on Linux <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added support for 7z archive format detection to recognize and handle 7z compressed archives * Implemented Windows-optimized extraction handling for 7z packages ensuring proper decompression and installation * **Tests** * Added end-to-end test suite validating 7z package installation workflow on Windows * Test coverage includes local registry configuration, tool installation, and execution verification <!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
This PR currently has failing checks. If this continues for 7 days, it will be closed automatically. This is warning day 2 of 7. Please update the PR when you have a chance. Feel free to reopen or create a new PR if it is closed and you'd like to continue working on it. This comment was generated by an automated workflow. |
|
Closing as duplicate to #10118 |
It is required to install
mise use -g imagemagickon Windows. Current backends conda and asdf inregistry/imagemagick.tomldon't support Windows.I followed @jdx suggestion in #8476 to add ImageMagick directly to aqua registry. That was completed in aquaproj/aqua-registry#50281 and works OK
aqua g -i ImageMagick/ImageMagick && aqua i.