← Back to issue list

Allow plugins to add stage-packages.

View original Github issue

Metadata

Project
craft-parts
Number
#833
Type
issue
State
open
Author
lengau
Labels
—
Created
Updated
Closed
—

Current evaluation

Open maintainer-authored feature request for plugins to contribute stage packages or slices merged with part-provided inputs; custom package sources are explicitly deferred to a separate enhancement.

Suggested action: keep open

Reason: The requested extension is still absent: _fetch_stage_packages currently selects only part-level stage-packages or stage-slices, while build packages and snaps already include plugin contributions. The maintainer-authored request and linked Rockcraft PR demonstrate a valid use case, and the comment about custom sources clearly narrows that concern to a separate enhancement.

Evaluated by: mr-cal-bot

Impact: 55 Quick Win: 24 Complexity: 45 Confidence: 91 Actionability: 78

Issue body

### What needs to get done Provide a mechanism for plugins to add a set of staged packages or slices, which get merged with the user-provided staged packages ### Why it needs to get done This would be especially useful for Rockcraft. Example: https://github.com/canonical/rockcraft/pull/688/files

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 55
Quick Win: 24
Complexity: 45
Confidence: 91
Actionability: 78
keep open Open maintainer-authored feature request for plugins to contribute stage packages or slices merged with part-provided inputs; custom package sources are explicitly deferred to a separate enhancement.
qwen/qwen3.6-35b-a3b
Impact: 60
Quick Win: 25
Complexity: 40
Confidence: 75
Actionability: 70
needs triage Feature request to allow plugins to add stage-packages/slices that merge with user-provided ones. Open, unlabelled, no maintainer response. Particularly useful for Rockcraft.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 14
Staleness: 58
Complexity: 70
Confidence: 72
Support Request: 0
needs triage Feature request to allow plugins to inject stage-packages/slices merged with user-provided ones, motivated by Rockcraft use case. No labels, no assignee, last activity ~18 months ago, feature not yet implemented in codebase.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 65
Confidence: 80
Support Request: 10
needs triage Feature request to let plugins inject stage-packages or slices, merging with user-provided ones. Unlabelled, no maintainer response, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 65
Confidence: 85
Support Request: 10
needs triage Feature request to allow plugins to inject stage-packages or slices. Unlabelled, no maintainer response, inactive for over a year.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/rockcraft#688 (confidence 96%)

    The issue explicitly cites this Rockcraft PR as the motivating example.

  • Related To: canonical/rockcraft#183 (confidence 84%)

    Related design discussion rejects mixing packages and slices in one stage-packages list, which is relevant to the plugin merge semantics.

Related issues

No related issues found above the similarity threshold.