← Back to issue list

feat(plugins): add Zig plugin

View original Github issue

Metadata

Project
craft-parts
Number
#1797
Type
pull request
State
open
Author
sidalit
Labels
—
Created
Updated
Closed
—

Current evaluation

Adds a new Zig plugin to craft-parts with zig-build-parameters and zig-install-prefix keys, including tests, docs, and changelog. All CI passing. RFC seeking maintainer feedback.

Suggested action: needs review

Reason: This is an RFC PR seeking maintainer feedback on a new Zig plugin addition. All CI checks are passing, the diff is clean (+869/-1 across 19 files), and it follows contribution guidelines. With 0 reviewers and 0 comments after 1 day, it is ready for initial maintainer review.

Evaluated by: mr-cal-bot

Impact: 55 Quick Win: 12 Complexity: 65 Confidence: 75 Actionability: 60

Issue body

This is an RFC (Request For Comments) PR, feel free to chime in for any suggestions: Add a `zig` plugin that builds projects with `zig build install`. - New keys: `zig-build-parameters` and `zig-install-prefix`. - Installs Zig from the `zig` snap (`latest/beta` i.e only [available](https://snapcraft.io/zig)), or uses a compiler from a `zig-deps` part. - Requires Zig 0.11.0 or later (support of `-j`). - Adds unit and integration tests, docs, and a changelog entry. PS: Most of the code are tests to verify integrations and regression against future updates --- - [X] I've followed the [contribution guidelines](https://github.com/canonical/craft-parts/blob/main/CONTRIBUTING.md). - [X] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [X] I've successfully run `make lint && make test`. - [X] I've added or updated any relevant documentation. - [X] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [X] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 12
Complexity: 65
Confidence: 75
Actionability: 60
needs review Adds a new Zig plugin to craft-parts with zig-build-parameters and zig-install-prefix keys, including tests, docs, and changelog. All CI passing. RFC seeking maintainer feedback.

Update history

Date Change
updated
created

Related issues

No related issues found above the similarity threshold.