[Pkg-rust-maintainers] Bug#995230: Bug#995230: ripgrep: add autocompletion for bash
Sylvestre Ledru
sylvestre at mozilla.com
Sun Feb 20 17:42:54 GMT 2022
Le 20/02/2022 à 14:25, Florian Ernst a écrit :
> On Tue, Sep 28, 2021 at 10:43:53AM +0200, Laurent Cheylus wrote:
>> during build of ripgrep, a script (rg.bash) is generated via clap tool
>> for autocompletion (see [...]
>> This script is not included in Debian package v13.0.0-2. Please add it
>> to be installed as /usr/share/bash-completion/completions/rg.
> In commit 7f0d6ae of rust-team/debcargo-conf the corresponding "--with
> bash-completion" was dropped, most presumably by accident. As such bash
> autocompletion was missing ever since 13.0.0-1. Readding that part
> brings back the missing file:
>
> | diff -Nru rust-ripgrep-13.0.0/debian/rules rust-ripgrep-13.0.0/debian/rules
> | --- rust-ripgrep-13.0.0/debian/rules 2021-08-31 22:06:04.000000000 +0200
> | +++ rust-ripgrep-13.0.0/debian/rules 2022-02-20 13:48:27.000000000 +0100
> | @@ -1,6 +1,6 @@
> | #!/usr/bin/make -f
> | %:
> | - dh $@ --buildsystem cargo
> | + dh $@ --buildsystem cargo --with bash-completion
> |
> | execute_after_dh_testdir:
> | find . ! -newermt "jan 01, 2000" -exec touch {} +
>
> and then after rebuilding the binary package
>
> | $ debdiff ripgrep_13.0.0-2_amd64.deb ripgrep_13.0.0-2.1_amd64.deb
> | [The following lists of changes regard files as different if they have
> | different names, permissions or owners.]
> |
> | Files in second .deb but not in first
> | -------------------------------------
> | -rw-r--r-- root/root /usr/share/bash-completion/completions/rg
> | drwxr-xr-x root/root /usr/share/bash-completion/
> | drwxr-xr-x root/root /usr/share/bash-completion/completions/
> |
> | Control files: lines which differ (wdiff format)
> | [...]
It seems. Would you like to provide a MR ?
thanks
S
More information about the Pkg-rust-maintainers
mailing list