feat: add ruby plugin
Metadata
Current evaluation
Merged Ruby plugin support in #1395 (commit 4d72d5a8), adding reusable ruby-deps, tests and docs; resolved #338 and superseded abandoned #341.
Resolution: closed resolved
Reason: PR #1395 was merged as commit 4d72d5a8. The implementation adds Ruby plugin support, interpreter validation, reusable ruby-deps support, tests and documentation, resolving issue #338.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Fixes #338. The goal is to update the abandoned PR #341 as follows:
1. Don't recompile Ruby every time, i.e. allow for a ruby-deps part that can be shared by other parts
2. Add tests
3. Add docs
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged Ruby plugin support in #1395 (commit 4d72d5a8), adding reusable ruby-deps, tests and docs; resolved #338 and superseded abandoned #341. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1395 as commit 4d72d5a8, adding a Ruby plugin with a reusable ruby-deps part, tests and docs. It resolves #338 and updates the abandoned #341. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged the Ruby plugin, resolving #338. Adds a shared ruby-deps part, tests, and documentation. CI compilation failures were resolved by switching to mruby and adjusting defaults to skip interpreter building. Approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged pull request adding a Ruby plugin. Resolved CI failures by switching to mruby and adjusting build variables. The plugin defaults to a system Ruby interpreter, raising an error if missing, and includes tests and docs. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#338
(confidence 100%)
The original Ruby plugin feature request was closed by #1395.
-
Superseded By:
canonical/craft-parts#341
(confidence 98%)
The earlier abandoned Ruby plugin PR was reworked and completed through #1395.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #338 Add ruby plugin | craft-parts | closed | Ruby plugin merged in #1395 (4d72d5a8), adding interpreter validation and support for gems supplied by a separate Ruby-deps part. | |
| #1394 WIP: Ruby plugin | craft-parts | closed | WIP Ruby plugin PR closed unmerged; maintainer noted it was superseded by properly named PR #1395 ("feat: add ruby plugin", merged as commit 4d72d5a8), which fixed #338 and replaced abandoned #341. | |
| #1474 docs: fix Ruby plugin docs examples | craft-parts | merged | Merged PR #1474 in commit e7517063, fixing Ruby plugin docs by adding the missing ruby-deps source and clarifying that mruby does not support gems. | |
| #1365 Add Ruby Plugin | snapcraft | closed | Closed unmerged; the Ruby plugin was later delivered by merged PR #1544 in commits 4f87398b0 and 1f28e8ece. | |
| #341 (WIP) add Ruby plugin | craft-parts | closed | Closed unmerged as stale on 2025-01-15; Ruby support was later added independently by merged PR #1395 in commit 4d72d5a8. | |
| #1399 ruby plugin: new plugin | snapcraft | closed | Superseded: closed in favor of #1544, which re-landed the Ruby plugin plus unit tests (commits 4f87398b0, 1f28e8ece) after reviewers blocked #1399 for lacking unit tests. | |
| #1702838 Feature Request: ruby plugin | snapcraft (launchpad) | closed | Ruby plugin support shipped via merged PR #1544 and Snapcraft 8.14; earlier PR #1365 closed unmerged. | |
| #1544 plugins: add the ruby plugin | snapcraft | merged | Merged #1544, adding Snapcraft's Ruby plugin and unit tests in commits 4f87398b0 and 1f28e8ece. |