zsh completion not found

Bug #2073369 reported by Lukas Rettler
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kubectx (Ubuntu)
Fix Released
Undecided
Unassigned
Noble
Fix Committed
Medium
Lukas Rettler

Bug Description

[ Impact ]
 * Binary package hint: kubectx
 * pkg version: 0.9.5-1ubuntu0.1
 * ubuntu: novel

 * the command completion in zsh is not working for kubectx and kubens
 * Error msg:
compinit:527: no such file or directory: /usr/share/zsh/vendor-completions/_kubectx.zsh
compinit:527: no such file or directory: /usr/share/zsh/vendor-completions/_kubens.zsh

[ Test Plan ]

 * install kubectx on ubuntu/nobel
 * install zsh
 * verify kubectx completion works
 * follow the link /usr/share/kubectx/completion/_kubectx.zsh
 * the link should point to the existing file

[ Where problems could occur ]

 * I don't see any risks on this.

[ Other Info ]

 * looking into the debian/kubectx.links and the completion shows that the links are not correct
   * https://git.launchpad.net/ubuntu/+source/kubectx/tree/debian/kubectx.links?h=ubuntu/noble
$ cat debian/kubectx.links
usr/share/kubectx/completion/kubectx.bash usr/share/bash-completion/completions/kubectx.bash
usr/share/kubectx/completion/kubectx.fish usr/share/fish/vendor_completions.d/kubectx.fish
usr/share/kubectx/completion/kubectx.zsh usr/share/zsh/vendor-completions/_kubectx.zsh <<< WRONG

usr/share/kubectx/completion/kubens.bash usr/share/bash-completion/completions/kubens.bash
usr/share/kubectx/completion/kubens.fish usr/share/fish/vendor_completions.d/kubens.fish
usr/share/kubectx/completion/kubens.zsh usr/share/zsh/vendor-completions/_kubens.zsh <<< WRONG

$ ls -1 completion
kubectx.bash
kubectx.fish
_kubectx.zsh
kubens.bash
kubens.fish
_kubens.zsh

Related branches

Revision history for this message
Lukas Rettler (lukasrettler) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Nick Rosbrook (enr0n) wrote (last edit ):

Hi! I have left a comment on the MP here: https://code.launchpad.net/~lukasrettler/ubuntu/+source/kubectx/+git/kubectx/+merge/469569.

Related to the SRU process, this bug is already fixed in the development series [1] (oracular), so this only needs to be fixed in noble. I am updating the bug status to reflect that.

[1] https://launchpad.net/ubuntu/+source/kubectx/0.9.5-2

Changed in kubectx (Ubuntu):
status: New → Fix Released
Revision history for this message
Lukas Rettler (lukasrettler) wrote :

Hi Nick

Thank you for helping out.

I hope the issue description is now ready for the SRU process.

description: updated
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks, Lukas! I have uploaded this to the noble unapproved queue.

Changed in kubectx (Ubuntu Noble):
assignee: nobody → Lukas Rettler (lukasrettler)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello Lukas, or anyone else affected,

Accepted kubectx into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/kubectx/0.9.5-1ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in kubectx (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Lukas Rettler (lukasrettler) wrote :

Hi Andreas,

Sorry for the delay.

I installed the build package and can verify that the fix is working as intended.

I followed the steps in the Test Plan.

Did i get it right that i have to update the description with:

TEST CASE:
1. install new version of kubextx "0.9.5-1ubuntu0.1" --> "0.9.5-1ubuntu0.2"
2. reload zsh
3. verify completion for kubectx and kubens

VERIFICATION DONE
- zsh completion works as intended

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.