Skip to content

Commit b12639a

Browse files
committed
Release 2.11
1 parent cf90b29 commit b12639a

File tree

3 files changed

+373
-2
lines changed

3 files changed

+373
-2
lines changed

CHANGES

+371
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,374 @@
1+
bash-completion (2.11)
2+
3+
[ Alexander Meshcheryakov ]
4+
* _known_hosts_real: check that ruptime is present before calling
5+
(#390)
6+
7+
[ Andrew Gaul ]
8+
* totem: reuse kaffeine completions (#372)
9+
10+
[ Damien Nadé ]
11+
* __reassemble_comp_words_by_ref: avoid triggering nounset on
12+
indirect references
13+
14+
[ Felix Lechner ]
15+
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
16+
files (#397)
17+
18+
[ Felix Yan ]
19+
* ip: complete route add table arg
20+
* ip: style fixes similar to ip-netns
21+
* ip: add more completions for ip-rule
22+
* ip: add support for netns (#391)
23+
* ip: improve completion of route subcommands (#326)
24+
25+
[ Hans-Christoph Steiner ]
26+
* unzip, zipinfo: complete *.aar (#428)
27+
28+
[ Jakub Jelen ]
29+
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
30+
31+
[ Kevin Locke ]
32+
* python: support executables with minor version (#389)
33+
34+
[ Michal Suchánek ]
35+
* insmod, modinfo, modprobe: support xz compressed modules (#401)
36+
37+
[ Phan Duc Nhat Minh ]
38+
* tshark: complete -r arg with all filenames (#422)
39+
40+
[ Sebastian Jakubiak ]
41+
* openssl: update -starttls completions (#403)
42+
* _filedir*: update link to bug-bash discussion on -X (#404)
43+
* test/python: add testcase for submodule completion
44+
45+
[ Ville Skyttä ]
46+
* Release 2.11
47+
* extra/make-changelog: check and output usage message
48+
* pre-commit: anchor exclude patterns
49+
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
50+
and classes
51+
* test/xfreerdp: skip --help failure cases
52+
* test/tshark: fix multiple -O completion with no http2 support
53+
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
54+
* _xinetd_services: avoid nounset error on bash 4.2
55+
* pre-commit: upgrade isort to 5.1.4
56+
* pre-commit: upgrade pyupgrade to 2.7.2
57+
* pre-commit: add pyupgrade, run it
58+
* test/ant: gitignore all target cache files
59+
* _known_hosts_real: exclude Host negations
60+
* pre-commit: upgrade isort to 5.0.7
61+
* pre-commit: update shellcheck-py URL
62+
* test/inputrc: do not set print-completions-horizontally
63+
* test/inputrc: comment typo fix
64+
* pytest: complete async test class methods
65+
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
66+
* test: upgrade markdownlint-cli to 0.23.2
67+
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
68+
16
69+
* _longopt: exclude too many dashes, allow underscores, require ends
70+
with alnum
71+
* _included_ssh_config_files: support globs
72+
* _known_hosts_real: prevent unwanted pathname expansion on host
73+
entries
74+
* test/shfmt: upgrade to 3.1.2, reformat with it
75+
* test/_known_hosts_real: add explicit no globbing test case
76+
* test: upgrade mypy to 0.782
77+
* CONTRIBUTING.md: add posix and nounset mode item
78+
* test: upgrade mypy to 0.781
79+
* test: upgrade perltidy to 20200619
80+
* _known_hosts_real: fix completion of Host entries after a wildcard
81+
etc
82+
* _known_hosts_real: fix # handling in ssh configs
83+
* test: upgrade flake8 to 3.8.3
84+
* test/xhost: multiple expected result handling fixes
85+
* test/slapt-src: single expected result handling fixes
86+
* test: partial hostname completion fixes
87+
* test: simplify completion parsing
88+
* test/dpkg-query: mark as xfail on non-Debian based systems
89+
* .gitignore: clean up some no longer needed ignores
90+
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
91+
lspci
92+
* test: regex escape our magic mark for completeness
93+
* test: upgrade mypy to 0.780
94+
* test/_known_hosts_real: don't modify class scoped base expected
95+
list
96+
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
97+
between tests
98+
* test/_known_hosts_real: tolerate duplicates
99+
* bash_completion: trivial cleanups
100+
* gcc: avoid errors in nounset mode
101+
* pytest: fix test class method completion with BSD awk
102+
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
103+
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
104+
* README: document GNU make build requirement
105+
* pytest: add test class method completion
106+
* _known_hosts: avoid errors in nounset mode and no arguments
107+
* bash_completion: fix array set checks with empty elements in them
108+
* *: avoid more errors in nounset mode
109+
* cfrun: fix $hostfile leak
110+
* _command_offset, route: cleanups
111+
* *: avoid more errors in nounset mode
112+
* qemu: add -machine arg completion
113+
* qemu, sbopkg: avoid unintentional globbing on option arg
114+
completions
115+
* test: enable shellcheck SC2035
116+
* *: drop support for bash 4.1
117+
* _init_completion: fix unassigned redirect completion in nounset
118+
mode
119+
* ip: route shfmt, arithmetic evaluation
120+
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
121+
* _pids, _pgids, _pnames: improve shfmt formatting
122+
* scp, sftp, ssh: fix completion on options bundled with -4/-6
123+
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
124+
[ ]
125+
* test/runLint: warn about [ ] instead of [[ ]] use
126+
* test: skip various tests if we don't get a useful usage message
127+
* *: mark nounset mode as supported, issues with it are bugs now
128+
* *: avoid more errors in nounset mode
129+
* *: avoid more errors in nounset mode
130+
* *: avoid more errors in nounset mode
131+
* test/inputrc: comment and whitespace tweaks
132+
* *: avoid more errors in nounset mode
133+
* test/unit: sort files included in dist
134+
* test/unit: include test_unit_known_hosts_real.py in dist
135+
* bash_completion: line wrapping tweaks, NFC
136+
* 7z: fix -o/-w attached arg completion
137+
* postfix: try to arrange a fake tty so we can tickle the usage
138+
message out
139+
* _bashcomp_try_faketty: new function to try running command with a
140+
fake tty
141+
* mr: avoid herestrings, simplify command parsing
142+
* test/mr: handle missing "clean" with skipif
143+
* test: mark known non-ASCII issues with test suite as xfail
144+
* dpkg-deb: add --raw-extract and -X arg completions
145+
* test: add some dpkg-query test cases
146+
* dpkg-deb: fix --show/-W completion
147+
* test: upgrade markdownlint-cli to 0.23.1
148+
* *: use more arithmetic evaluation
149+
* test: try harder to restore environment and cwd on failures
150+
* *: use $ifs for storing/restoring $IFS
151+
* test/irb: xfail options test if --help is not available
152+
* test: upgrade flake8 to 3.8.1
153+
* test: pre-commit config cleanups, ordering
154+
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
155+
* test: sync shfmt and shellcheck configs
156+
* test: shfmt bashrc
157+
* test: remove unused run-shellcheck, shellcheck is in pre-commit
158+
now
159+
* test: remove old test suite code no longer used \o/
160+
* test/_known_hosts_real: port remaining test cases to
161+
pytest+pexpect
162+
* test: remove more no longer needed old test suite code
163+
* test/_known_hosts_real: port more test cases to pytest+pexpect
164+
* test/_get_cword: port remaining test case to pytest+pexpect
165+
* test: replace some echos with printfs
166+
* test/_filedir: fix shutil.rmtree on Python < 3.6
167+
* test/_expand: port remaining test cases to pytest+pexpect
168+
* test: drop some no longer needed old test suite code
169+
* test/_filedir: port remaining test cases to pytest+pexpect
170+
* test: run all Travis jobs on dist: bionic
171+
* test: drop not needed sudo on Travis
172+
* test/_filedir: port more test cases to pytest+pexpect
173+
* test/__expand_tilde_by_ref: port remaining test cases to
174+
pytest+pexpect
175+
* test/_get_comp_words_by_ref: convert remaining test cases to
176+
pytest+pexpect
177+
* test: run pytest --verbose in docker
178+
* lftp: use "bookmark list" command to list bookmarks
179+
* test: drop some no longer needed old test suite code
180+
* test/slapt-src: convert remaining test case to pytest+pexpect
181+
* _xfunc: simplify
182+
* apt-cache: avoid nonzero exit code from _apt_cache_packages
183+
* test/slapt-get: convert remaining test case to pytest+pexpect
184+
* test/secret-tool: add to test command list
185+
* test/scp: port remaining test case to pytest+pexpect
186+
* test/umount: convert remaining test case to pytest+pexpect
187+
* secret-tool: new completion
188+
* apt-get: complete build-dep with dirs
189+
* travis: use golang 1.14 for shfmt
190+
* *: run all shell code through shfmt -s
191+
* pre-commit etc: add shfmt
192+
* test: fix incorrect fixtures/shared/default xfails/expectations
193+
* test: upgrade markdownlint to 0.23.0
194+
* nmap: simplify help scraping a bit, don't try to emit unnecessary
195+
newlines
196+
* test: prefix fake test commands with underscore
197+
* test: port most umount test cases to pytest+pexpect
198+
* test: add note about unescaped assert_complete single return
199+
values
200+
* editorconfig: apply yaml settings to .yaml too
201+
* pre-commit: use local perlcritic hook
202+
* *: doc and comment link updates
203+
* pre-commit, *.md: add markdownlint, address findings
204+
* README: clarify loading automatically on demand
205+
* ssh-keygen: -O arg updates and improvements
206+
* ssh-keygen: add -b arg completions according to specified -t
207+
* ssh-keygen: option and arg completion updates for new versions
208+
* _command: improve commentary
209+
* reportbug, scp, sftp, svn: use compgen -c instead of _command
210+
* find: fix -exec etc argument and its completion
211+
* extra: trigger docker builds only on test-cmd-list.txt changes
212+
* test: add script to maintain list of executables for full test
213+
coverage
214+
* test: run lint tests on Travis in a quickish separate first stage
215+
* test/make: mark more cases as requiring command
216+
* make: add bmake alias
217+
* test: run pre-commit on host instead of docker
218+
* test: add perlcritic to pre-commit, run on all perl
219+
* *: remove some unused variables, thanks to shellcheck SC2034
220+
* *: various loop iteration improvements
221+
* crontab: fix loop over already given args
222+
* apt-cache: fix command mode handling
223+
* doc: add loop variable naming guideline
224+
* test: make at-point completion tests easier
225+
* ssh, xsltproc: address shellcheck SC2006
226+
* scp: work around shellcheck SC1003
227+
* mutt: address shellchec SC2236
228+
* wget: address shellcheck SC2116
229+
* pytest: address shellcheck SC2002
230+
* bash_completion, java, tipc: for loop whitespace consistency
231+
tweaks
232+
* *: more arithmetic evaluation cleanups, thanks to shellcheck
233+
SC2004
234+
* __reassemble_comp_words_by_ref, java: address and work around
235+
shellcheck SC2102
236+
* test: enable parallel pre-commit shellcheck
237+
* test: remove shellcheck severity filter, add explicit disables
238+
instead
239+
* doc: recommend arithmetic evaluation
240+
* *: array subscript cleanups
241+
* ssh-keygen: -s and -n completion improvements
242+
* *: enable and address shellcheck SC2053
243+
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
244+
* *: replace various conditional expressions with arithmetic
245+
evaluation
246+
* carton: fix command parsing with BSD sed
247+
* nmap: fix option parsing with BSD sed
248+
* test/alias: port remaining test case to pytest+pexpect
249+
* test: generalize complete at point test
250+
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
251+
* pytest: add some option arg (non-)completions
252+
* pytest: complete test classes
253+
* pgrep, pkill: add --ns and --nslist arg completions
254+
* test: run skipif and xfail commands without caring if they output
255+
or not
256+
* test: make it possible to not care whether command did output or
257+
not
258+
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
259+
* test: tolerate duplicates from compgen actions
260+
* test: bump shellcheck severity to warning + some disables
261+
* *: address shellcheck SC2046
262+
* test/lib/library.sh: address shellcheck SC2125
263+
* java, pkgadd, sysbench: address shellchec SC2124
264+
* scp: address shellcheck SC2089 and SC2090
265+
* _filedir_xspec: address shellcheck SC2140
266+
* rpm, ssh, umount.linux: address shellcheck SC2120
267+
* cvs, modprobe, sh: address shellcheck SC2209
268+
* mutt: address shellcheck SC2088
269+
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
270+
* test/run: address shellcheck SC2164
271+
* renice: address shellcheck SC2254
272+
* tipc: comment grammar and spelling fixes
273+
* man, perl, route, tipc: address shellcheck SC2053
274+
* info, java: address shellcheck SC2153
275+
* quote_readline: fix $ret leak
276+
* test: upgrade shellcheck to 0.7.1
277+
* test/printenv: xfail if --help doesn't contain options (e.g.
278+
busybox)
279+
* test/aptitude: require command where necessary
280+
* _known_hosts_real, op: address shellcheck SC2184
281+
* test: don't run shellcheck on completions/.gitignore
282+
* protoc: complete all --*_out without more specific handling with
283+
dirs
284+
* sysbench: add --test= deprecation TODO
285+
* pkgadd: indentation fix
286+
* chronyc, wvdial: address shellcheck SC2178
287+
* java, pkgadd, sysbench: address shellcheck SC2124
288+
* mplayer: address shellcheck SC1078 false positive
289+
* smartctl: hush shellcheck SC2054 false positives
290+
* *: address shellcheck SC2221 and SC2222
291+
* bash_completion: address shellcheck SC2220
292+
* crontab, wodim: silence shellcheck SC2191 and SC2192
293+
* aptitude: add some option arg (non)completions
294+
* aptitude: parse options list from --help, hardcode less
295+
* test/aptitude: add some test cases
296+
* *: argument interation improvements
297+
* *: whitespace tweaks
298+
* apt-get etc: use _apt_cache_packages from apt-cache
299+
* pre-commit: run most python checks on helpers/python too
300+
* test/ldd: xfail if --help is not implemented
301+
* test/printenv: require command for arg completion test
302+
* printenv: indentation fixes
303+
* test: upgrade mypy to 0.770
304+
* test: split dependencies requiring Python 3.6.1+ to requirements-
305+
dev.txt
306+
* git: trigger docker rebuild on pre-commit config change
307+
* test: require openssl command for option argument tests
308+
* test: move perltidy to pre-commit, run with --converge
309+
* test: move shellcheck to pre-commit
310+
* test: ignore flake8 messages that are in black's domain
311+
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
312+
tests
313+
* printenv: new completion
314+
* copyright: add 2020
315+
* test: fix CompletionResult.__eq__ UnboundLocalError
316+
* test: run pre-commit in tools container
317+
* test: shellcheck tweaks
318+
* test: add isort to pre-commit, run it
319+
* test: add flake8-bugbear
320+
* test: install black for Python 3.6 too
321+
* pre-commit: add config with black, flake8, and mypy
322+
* test: drop redundant black args from docker runs
323+
* *: python type hint fixes and improvements
324+
* extra/make-changelog: run through black
325+
* test/totem: add basic test case
326+
* test/cd: remove unused import
327+
* openssl: complete -writerand with filenames
328+
* openssl: parse available options from $command -help
329+
* openssl: support getting digest list from more recent openssl
330+
versions
331+
* nmap: handle options split on equals sign
332+
* nmap: parse options from -h output
333+
* test/cd: make dir_at_point produce better debuggable failures
334+
* test/cd: convert remaining test case to pytest+pexpect
335+
* test: remove some no longer needed old test suite code
336+
* test/chown,sudo: parametrize special case test, improve xfail
337+
targeting
338+
* test/tsig-keygen: require command for test_options
339+
* test/upgradepkg: port remaining test case to pytest+pexpect
340+
* tsig-keygen: new completion
341+
* test: host helper lint and usage fixes
342+
* test: port some _known_hosts_real unit tests to pytest+pexpect
343+
* test: remove some no longer needed tcl/expect code
344+
* test: fix spurious hosts fixture failure without avahi-browse
345+
installed
346+
* test: port some scp test cases to pytest+pexpect
347+
* test: port remaining finger, sftp, ssh, and xhost cases to
348+
pytest+pexpect
349+
* lilo: work around shellcheck false positive
350+
* test/ipcalc: fix tests with busybox ipcalc
351+
* chromium-browser, firefox: complete on *.txt (#379)
352+
* README.md: add introduction
353+
* ipcalc: new completion
354+
* *: complete commands when prefixed with a backslash
355+
* test/wol: don't fail MAC test if test system has /etc/ethers
356+
entries
357+
* test/dnssec-keygen: allow more alternatives in algorithm
358+
completion
359+
* lilo: don't complete on commented out labels
360+
* lilo: honor -C when completing labels
361+
* lilo: add -B and -E completions
362+
363+
[ beantaxi ]
364+
* Source user completion only if it's a file (#409)
365+
366+
[ hugoziviani ]
367+
* jarsigner: complete on *.apk too (#386)
368+
* cryptsetup: add luksChangeKey arg completion (#380)
369+
370+
-- Ville Skyttä <[email protected]> Sat, 25 Jul 2020 11:25:09 +0300
371+
1372
bash-completion (2.10)
2373

3374
[ Felix Lechner ]

bash_completion

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#
2424
# https://github.com/scop/bash-completion
2525

26-
BASH_COMPLETION_VERSINFO=(2 10)
26+
BASH_COMPLETION_VERSINFO=(2 11)
2727

2828
if [[ $- == *v* ]]; then
2929
BASH_COMPLETION_ORIGINAL_V_VALUE="-v"

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ([2.60])
2-
AC_INIT([bash-completion], [2.10])
2+
AC_INIT([bash-completion], [2.11])
33
AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip -Wall -Wno-portability -Werror])
44
AC_PROG_LN_S
55
AC_PROG_MKDIR_P

0 commit comments

Comments
 (0)