← Back to issue list

`adopt-info:` for components

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2080695
Type
issue
State
closed
Author
~saviq
Labels
—
Created
Updated
Closed

Current evaluation

Feature request for adopting component versions via adopt-info was implemented in canonical/snapcraft PR #5753 (commits 6b6f7d9ee, 766562286), letting craftctl set component metadata. ClOSED as completed by ~mr-cal.

Resolution: closed resolved

Reason: Maintainer ~mr-cal closed the bug as 'Completed in https://github.com/canonical/snapcraft/pull/5753'. That PR added component version adoption (craftctl setting component metadata, shipped in Snapcraft 8.13), resolving the ~saviq feature request.

Evaluated by: mr-cal-bot

No scores available.

Issue body

With the introduction of components, there's another `version` field coming. It should be possible to `adopt-info` from a part, just as the top level. I suppose we need `craftctl` to know to set component metadata, too - and maybe the default should be to inherit from the snap?

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Feature request for adopting component versions via adopt-info was implemented in canonical/snapcraft PR #5753 (commits 6b6f7d9ee, 766562286), letting craftctl set component metadata. ClOSED as completed by ~mr-cal.
stealth/space-bunny-alpha — closed resolved Component version adoption was implemented in merged PR canonical/snapcraft#5753, enabling craftctl to set component metadata for core22 and core24 snaps.
qwen/qwen3.6-35b-a3b — — Support for adopt-info in components was implemented and merged via pull request 5753. Craftctl was updated to set component metadata, enabling parts to adopt version information with default inheritance from the snap.
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 28
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 10
close not a bug Feature request to add adopt-info support for components. Related issue snapcraft#5240 was accepted, implemented in Snapcraft 8.13, and is now closed.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 65
Confidence: 85
Support Request: 10
needs triage Request to add adopt-info support for snapcraft components, allowing parts to adopt version info and suggesting craftctl updates. Currently unlabelled and inactive since submission.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 90
Support Request: 10
close stale Feature request for adopt-info support in components, submitted over 1.5 years ago with no activity or maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 65
Confidence: 85
Support Request: 10
needs triage Request to add adopt-info support for snapcraft components, including craftctl metadata handling and potential snap inheritance. Currently untriaged with no maintainer response for nearly two years.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#5753 (confidence 95%)

    Merged PR cited in the closing maintainer comment as the completion of component adopt-info support.

  • Duplicate Of: canonical/snapcraft#5240 (confidence 80%)

    GitHub tracking issue 'Add adopt-info analogue for components', resolved by the same PR #5753.

Related issues

Issue Project State Summary Similarity
#5240 Add `adopt-info` analogue for components snapcraft closed Implemented component version adoption via merged PR #5753 (commits 6b6f7d9ee, 766562286), allowing craftctl to set component versions in Snapcraft 8.13.
88%
#5753 feat: adopt component variables snapcraft merged Merged PR #5753 (SNAPCRAFT-65, SNAPCRAFT-1056) added component variables so craftctl can set component versions for core22 and core24 snaps, closing #5240. Commits: 6b6f7d9ee, 766562286.
72%
#5115 component does not take snap version when no version provided snapcraft open Component version inheritance was triaged as an enhancement; maintainers adopted component-level adopt-info, and follow-up #5240 was closed after implementation merged in canonical/snapcraft#5753.
71%