← 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

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.

Suggested action: needs triage

Reason: Filed by maintainer lengau as an enhancement but has no labels, no assignee, and only one comment (from vpa1977, 2024-08-29) suggesting a related but separate enhancement for custom package sources. Code inspection confirms no plugin mechanism for adding stage-packages exists (part_handler.py:1289 only reads self._part.spec.stage_packages). Needs labelling as enhancement and prioritisation.

Impact: 45 Quick Win: 13.5 Staleness: 58 Complexity: 70 Confidence: 72 Support Request: 0

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
qwen/qwen3.8-27b
Impact: 45
Quick Win: 13.5
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 55
Confidence: 80
Support Request: 10
needs triage Enables plugins to add and merge staged packages or slices with user-provided ones. Open and awaiting triage. Inactive since August 2024. Comments suggest handling custom package sources as a separate enhancement.

Update history

No update history recorded yet.

Related work

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

    Referenced in the issue body as the motivating example for why plugins need to add stage-packages.

Related issues

No related issues found above the similarity threshold.