← Back to issue list

"snapcraft plugins" generates different output format based on base

View original Github issue

Metadata

Project
snapcraft
Number
#4228
Type
issue
State
closed
Author
ghost
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed

Current evaluation

Inconsistent `snapcraft plugins` output between bases was fixed by PR #4830 (commit 0bee3723c). The command now uses one uniform code path, printing identical newline-separated output for core22, core24 and core26.

Resolution: closed resolved

Reason: Maintainer cmatsuoka closed the issue citing PR #4830 (commit 0bee3723c), which unified the plugins command on a single code path via get_registered_plugins() and "\n".join, so bases no longer produce different formatting.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description Depending on which base you select, the "snapcraft plugins" command generates differently-formatted output: ``` $ snapcraft plugins --base=core22 Displaying plugins available for 'core22' ant autotools cmake dotnet dump go make maven meson nil npm python rust scons colcon conda flutter kernel $ snapcraft plugins --base=core20 Displaying plugins available for 'core20' autotools catkin-tools colcon crystal go make nil python rust catkin cmake conda dump kernel meson npm qmake $ ``` ### To Reproduce Run "snapcraft plugins" selecting different bases. ### Environment Ubuntu 22.04, Snapcraft 7.4.3. ### snapcraft.yaml ```shell There is no yaml. ``` ### Relevant log output ```shell See output above. ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Inconsistent `snapcraft plugins` output between bases was fixed by PR #4830 (commit 0bee3723c). The command now uses one uniform code path, printing identical newline-separated output for core22, core24 and core26.
stealth/space-bunny-alpha — closed resolved Fixed in canonical/snapcraft#4830 (commit 0bee3723c): current Snapcraft uses consistent output formatting for plugins on core22, core24, and core26.
qwen3.6-35b-a3b-mtp-q6 — — Inconsistent snapcraft plugins output formatting across bases was fixed in PR #4830. The command now produces a consistent format for core22, core24, and core26, resolving the reported discrepancy.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 8
Staleness: 65
Complexity: 45
Confidence: 80
Support Request: 10
keep open Inconsistent 'snapcraft plugins' CLI output formatting between core20 (columnar) and core22 (one per line) bases. Triaged as an enhancement; maintainer says the fix requires a major release since core20 uses a different codebase. Open, no activity in about 16 months.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 40
Confidence: 85
Support Request: 0
keep open Inconsistent CLI output formatting for snapcraft plugins depending on the selected base. Triaged enhancement acknowledged by maintainers as a known architectural difference to be addressed in a major release.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 60
Confidence: 85
Support Request: 10
keep open Inconsistent output formatting for snapcraft plugins depending on the selected base. Triaged as an enhancement; maintainer notes differences stem from separate codebases and should be addressed in a major release.

Update history

Date Change
closed

Related work

  • Likely Fixed By: canonical/snapcraft#4830 (confidence 85%)

    Cited by cmatsuoka in the closing comment as the fix; snapcraft/commands/plugins.py now has one formatting path for all current bases.

Related issues

No related issues found above the similarity threshold.