Snapcraft should use bash-completion
Metadata
Current evaluation
Added bash-completion support to snapcraft via merged upstream PR #453 (commit 6ea95fd50, changelog 16e1a9d76). Shipped in snapcraft 2.9 SRU to xenial; verified by elopio and released to -updates on 2016-05-30.
Resolution: closed resolved
Reason: LP #1570506 was fixed by upstream PR ubuntu-core/snapcraft#453 ("Add in bash completion"), merged as commit 6ea95fd50 and listed in the snapcraft 2.9+16.10 changelog (LP: #1570506). The maintainer reported the fix in the package snapcraft 2.9, verification was done by elopio, and the SRU was published to xenial -updates by adconrad.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Added bash-completion support to snapcraft via merged upstream PR #453 (commit 6ea95fd50, changelog 16e1a9d76). Shipped in snapcraft 2.9 SRU to xenial; verified by elopio and released to -updates on 2016-05-30. | |
| stealth/space-bunny-alpha | — | closed resolved | Bash completion was added by merged PR canonical/snapcraft#453 (commit 6ea95fd50) and released in Snapcraft 2.9; SRU verification confirmed tab completion. | |
| stealth/space-bunny-alpha | — | closed resolved | Bash completion was added by merged PR canonical/snapcraft#453 (commit 6ea95fd50) and verified; later PR #872 expanded command completions. | |
| qwen/qwen3.6-35b-a3b | — | — | Snapcraft bash-completion integration was implemented and verified. Tab completion now functions for all snapcraft commands, resolving the missing shell integration with no regression risk. | |
| qwen/qwen3.6-35b-a3b | — | — | Bash-completion integration for Snapcraft was successfully implemented and verified, enabling tab-completion for all commands. The feature request was resolved without regression. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
ubuntu-core/snapcraft#453
(confidence 98%)
PR referenced by sergiusens in the first comment and merged as commit 6ea95fd50 'Add in bash completion'; listed in the 2.9 changelog with '(LP: #1570506)'.
-
Related To:
ubuntu-core/snapcraft#872
(confidence 45%)
Later follow-up 'Add some further bash-completion' (commit 5876e15ba) extending the original completion support.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #453 Add in bash completion | snapcraft | merged | Merged PR #453 via commit 6ea95fd50, adding a simple Bash completion script for Snapcraft commands. | |
| #1390 meta: bash completion support | snapcraft | merged | Merged PR #1390 added bash completion support for snapcraft and snapcraft metadata, landing as commit 2d01bc112. | |
| #1590767 Support snap installed completion scripts | snapcraft (launchpad) | closed | Resolved by snapd 2.28 automatic completion integration and snapcraft completer wiring in merged PR #1956 (commit 32fbaf3d4). | |
| #5218 feat: add improved bash completion script | snapcraft | merged | Merged in #5218 (commit 387202653), replacing the manually maintained Bash completion with a dynamically generated script that tracks current commands and options; shipped in Snapcraft 8.7. | |
| #4559 bash-completion: update and improve supported completion cases | snapcraft | closed | Completion work in canonical/snapcraft#4559 was closed as stale and superseded by canonical/craft-cli#319, merged in commit 4d41d7d with generated Bash completion. | |
| #5022 Bash completion script is outdated | snapcraft | closed | Snapcraft 8.7 replaced the stale manual Bash completion with an automatically generated script tracking current commands and options in merged PR #5218 (387202653). | |
| #1646213 Code completion for *.snap on the cli is broken | snapcraft (launchpad) | closed | Fixed by merged canonical/snapcraft#933 (commit 5c41e4bc), which corrected Bash completion for .snap files containing multiple dots. | |
| #872 Add some further bash-completion | snapcraft | merged | Merged PR #872 via commit 5876e15ba, adding Bash completion for help plugins, snap/tour directories, and .snap files for several commands. | |
| #1956 snap: actually plug the completer in. | snapcraft | merged | PR #1956 merged as commit 32fbaf3d4, wiring the bundled completion.sh into snap metadata so Snapcraft exposes tab completion. | |
| #1751391 snapcraft's snap's snap.yaml doesn't plug in the completer | snapcraft (launchpad) | closed | Snap completion was fixed by PR #1956 (commit 32fbaf3d4), adding completer: completion.sh to Snapcraft's snap app definition. |