Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79067 - [docker] 1:24.0.2-1 contains out-of-date shell completion files

Attached to Project: Arch Linux
Opened by Jeff Bigler (saturn_knight) - Tuesday, 11 July 2023, 16:54 GMT
Last edited by Sébastien Luttringer (seblu) - Wednesday, 26 July 2023, 21:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Sébastien Luttringer (seblu)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The docker command completion files for zsh, bash, and fish are out of date.

Additional info:
Results of docker version:
Client:
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfcd85
Built: Mon May 29 15:50:06 2023
OS/Arch: linux/amd64
Context: default

Server:
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f9ee
Built: Mon May 29 15:50:06 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.2
GitCommit: 0cae528dd6cb557f7201036e9f43420650207b58.m
runc:
Version: 1.1.7
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Steps to reproduce:
The easiest way to reproduce this issue in Zsh is by attempting to use shell completion for the docker compose command.
docker compose <tab> will produce nothing.

After replacing `/usr/share/zsh/site-functions/_docker` with the results of the `docker completions zsh` command everything works normally.
While the bash completion for compose works currently, it is not as robust as the up to date completion file.

Solution:
During the build process, new completion files should be created by running the `docker completion <shell>` command.
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Wednesday, 26 July 2023, 21:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  docker-1:24.0.5-1

Loading...