Bug 2246710

Summary: rust-tealdeer (tldr) is missing shell completion
Product: [Fedora] Fedora Reporter: Marius Hoch <mail>
Component: rust-tealdeerAssignee: Rust SIG <rust-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: decathorpe, klember, rust-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rust-tealdeer-1.6.1-4.fc38 rust-tealdeer-1.6.1-4.fc39 rust-tealdeer-1.6.1-4.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-30 01:26:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Hoch 2023-10-28 12:38:39 UTC
The "tealdeer" package doesn't seem to contain the shell completion scripts tealdeer provides (https://dbrgn.github.io/tealdeer/installing.html#autocompletion).

As far as I can see these were removed from the package in https://src.fedoraproject.org/rpms/rust-tealdeer/c/14d466d82b176a3c8bd45b8bbded3f60a48f0bbf.

Reproducible: Always

Steps to Reproduce:
1. Open a (bash) terminal
2. Type "tealdeer ta" and hit tab.
Actual Results:  
"ta" is not completed (or completed to a file name in the cwd).

Expected Results:  
"ta" is completed to "tar" (and maybe other tldr pages starting with "ta" that tealdeer knows about).

Comment 1 Fabio Valentini 2023-10-28 17:08:57 UTC
Yes, they were removed because sources published by tealdeer no longer contain bash completions as of version 1.6.1, which seems to have been a mistake.

It looks like this was fixed with another change:
https://github.com/dbrgn/tealdeer/commit/4d2fc26dbea7229b37e08ca2ba0689a69925abb7

But this hasn't been part of a new release yet.

I'll look into including the completions manually for now.

Comment 2 Fedora Update System 2023-10-28 18:38:34 UTC
FEDORA-2023-d7468c51aa has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d7468c51aa

Comment 3 Fedora Update System 2023-10-28 18:38:35 UTC
FEDORA-2023-ac1f8fd922 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ac1f8fd922

Comment 4 Fedora Update System 2023-10-29 01:21:38 UTC
FEDORA-2023-ac1f8fd922 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ac1f8fd922`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ac1f8fd922

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-10-29 01:55:05 UTC
FEDORA-2023-d7468c51aa has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-d7468c51aa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d7468c51aa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-10-29 02:15:07 UTC
FEDORA-2023-a216507b02 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a216507b02`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a216507b02

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-10-30 01:26:18 UTC
FEDORA-2023-d7468c51aa has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2023-11-06 01:30:27 UTC
FEDORA-2023-ac1f8fd922 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-11-06 04:16:32 UTC
FEDORA-2023-a216507b02 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.