Debian Patches

Status for bash-completion/1:2.11-6

Patch Description Author Forwarded Bugs Origin Last update
00-fix_quote_readline_by_ref.patch Revert "double escaping" hunk of patch. - That portion fixed no cited bug.
- It broke extremely common command-substitution cases, e.g.
"grep pattern $(<TAB>)", producing:
bash: unexpected EOF while looking for matching `)'
bash: syntax error: unexpected end of file
G. Branden Robinson <g.branden.robinson@gmail.com> invalid debian vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742466
04-xine_add_more_formats.patch Add oga and ogx formats j^ (j) <https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/311525/comments/2> no debian vendor
06-xpdf_support_compressed_pdf.patch xpdf in Debian also supports compressed PDFs Alfredo Finelli <0x4146@gmail.com> no debian vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702498
07-dpkg_support_raw-extract_vextract.patch support more options for dpkg-deb Uwe Storbeck <uwe@ibr.ch> no debian vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698977
11-add-completions-for-openrc-rc-service.patch Add completions for OpenRC rc-service
This patch adds completions for the rc-service command from OpenRC, as
suggested and provided by Mathieu Roy via a Debian bug [1], fixed and
extended for more options by myself.

When ran on a chroot with a freshly bootstrapped Debian system, the
following completions produce the following output.

For the options:

# rc-service [TAB][TAB]
-c -h --ifstopped -q savecache
-C --help kmod --quiet udev
cron -i -l -r -v
-d -I --list rc -V
-D --ifcrashed -N rcS --verbose
--debug --ifexists networking --resolve --version
--dry-run --ifinactive --nocolor rsyslog -Z
-e --ifnotstarted --nodeps -s
--exists --ifstarted procps -S
# rc-service [CURSOR]

# rc-service -h[TAB]
# rc-service -h [CURSOR]

# rc-service --v[TAB]
# rc-service --ver[CURSOR]

# rc-service --ver[TAB][TAB]
--verbose --version
# rc-service --ver[CURSOR]

# rc-service --verbose --l[TAB]
# rc-service --verbose --list [CURSOR]

For the services:

# rc-service --list[ENTER]
cron
hwclock.sh
kmod
networking
procps
rc
rcS
rsyslog
savecache
udev

# rc-service r[TAB][TAB]
rc rcS rsyslog
# rc-service r[CURSOR]

# rc-service --dry-run cr[TAB]
# rc-service --dry-run cron [CURSOR]

# rc-service --dry-run cron [TAB][TAB]
force-reload reload restart start status stop
# rc-service --dry-run cron [CURSOR]

# rc-service --dry-run cron re[TAB][TAB]
reload restart
# rc-service --dry-run cron re[CURSOR]

# rc-service --dry-run cron res[TAB]
# rc-service --dry-run cron restart [CURSOR]

Adding `set show-all-if-ambiguous on' to .inputrc yields the same
results, but without the need for the additional [TAB] as displayed
above.

[1] https://bugs.debian.org/865548
Gabriel F. T. Gomes <gabriel@inconstante.eti.br> invalid debian vendor, https://bugs.debian.org/865548
12-properly-handle-TERM-and-other-envvars.patch [PATCH] _variables: split out _variable_assignments, use in export
Closes https://github.com/scop/bash-completion/issues/457
=?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> no 2020-12-07
13-backport-support-for-python-9.patch commit dc1c404b3c14cd3e3627a6720cf32a4e27079285

python, pyvenv: install for 3.9

diff --git a/completions/Makefile.am b/completions/Makefile.am
index e43d0e3c..ba75fa48 100644
Ville Skyttä <ville.skytta@iki.fi> no 2020-09-06
14-backport-support-for-long-options-in-perltidy.patch commit a283b6963421adb3acf087c9816614a9c0c4c214

feat(perltidy): support long variants of arg completed options

diff --git a/completions/perltidy b/completions/perltidy
index 4404cf8..a6ee36b 100644
Ville Skyttä <ville.skytta@iki.fi> no 2021-04-13
15-find-exec.patch commit f1ddf810e4ee6693acb9fab1be1794586aa111a0

fix(find): don't look for -exec etc command if completing before it

Closes https://github.com/scop/bash-completion/issues/509

diff --git a/completions/find b/completions/find
index 64121eda..f18c7d7e 100644
Ville Skyttä <ville.skytta@iki.fi> no 2021-03-20
16-freecad-extension.patch commit fcaf3d4118af251973a57028302bf057a9681f1f

feat(unzip,zipinfo): recognize FreeCAD files (#520)

https://wiki.freecadweb.org/File_Format_FCStd

diff --git a/bash_completion b/bash_completion
index 51305148..fca32c57 100644
steelman <stlman@poczta.fm> no 2021-04-22

All known versions for source package 'bash-completion'

Links