2010-02-25 13:52:38 +01:00
|
|
|
#
|
2011-02-25 18:33:43 +01:00
|
|
|
# spec file for package bash-completion
|
2010-02-25 13:52:38 +01:00
|
|
|
#
|
2020-01-07 11:08:21 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2010-02-25 13:52:38 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-01-07 11:08:21 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-02-25 13:52:38 +01:00
|
|
|
#
|
|
|
|
|
2012-07-20 01:56:29 +02:00
|
|
|
|
2020-10-05 11:15:23 +02:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
|
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
%define build_core 0
|
|
|
|
%define build_doc 1
|
|
|
|
%define nsuffix -doc
|
|
|
|
%else
|
2016-08-03 16:01:00 +02:00
|
|
|
%define build_core 1
|
|
|
|
%define build_doc 0
|
2020-10-05 11:15:23 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%global _name bash-completion
|
|
|
|
Name: %{_name}%{?nsuffix}
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
Version: 2.11
|
2012-01-09 12:16:27 +01:00
|
|
|
Release: 0
|
2020-10-05 11:15:23 +02:00
|
|
|
%if %{build_core}
|
2010-02-25 13:52:38 +01:00
|
|
|
Summary: Programmable Completion for Bash
|
2018-04-20 13:56:11 +02:00
|
|
|
License: GPL-2.0-or-later
|
2020-10-05 11:15:23 +02:00
|
|
|
%else
|
|
|
|
Summary: The Documentation of Programmable Completion for Bash
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Provides: bash-completion:%{_defaultdocdir}/%{_name}/AUTHORS
|
|
|
|
%endif
|
2020-01-07 11:08:21 +01:00
|
|
|
URL: https://github.com/scop/bash-completion/
|
2020-10-05 11:15:23 +02:00
|
|
|
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{_name}-%{version}.tar.xz
|
2012-07-20 01:56:29 +02:00
|
|
|
Source1: bash-completion-rpmlintrc
|
2013-04-23 16:21:13 +02:00
|
|
|
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
|
2020-10-05 11:15:23 +02:00
|
|
|
Patch0: %{_name}-2.4.patch
|
2016-12-14 13:42:41 +01:00
|
|
|
# PATCH-FIX-SUSE bnc#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key
|
|
|
|
Patch1: tar-completion.patch
|
2014-11-17 13:50:19 +01:00
|
|
|
# PATCH-FIX-SUSE bnc#903362 -- tab completion for file names prints error
|
|
|
|
Patch2: PS1-completion-boo903362.patch
|
2015-03-18 14:07:18 +01:00
|
|
|
# PATCH-FIX-SUSE boo#905348 -- tab completion with shell variable changes command line with backslash
|
2014-11-17 13:50:19 +01:00
|
|
|
Patch3: FOO-dir-completion-boo905348.patch
|
2020-03-20 09:07:26 +01:00
|
|
|
# PATCH-FIX-SUSE
|
|
|
|
Patch4: qdbus-qt5.patch
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
# PATCH-FIX-SUSE boo#889319
|
|
|
|
Patch5: ls-completion-boo889319.patch
|
2015-08-13 08:56:41 +02:00
|
|
|
# PATCH-FIX-SUSE boo#940835
|
|
|
|
Patch6: backtick-completion-boo940835.patch
|
2015-09-23 13:59:55 +02:00
|
|
|
# PATCH-FIX-SUSE bsc#946875
|
|
|
|
Patch7: LVM-completion-bsc946875.patch
|
2015-12-18 10:35:44 +01:00
|
|
|
# PATCH-FIX-SUSE boo#940837, bsc#959299
|
|
|
|
Patch8: respect-variables-boo940837.patch
|
|
|
|
# PATCH-FIX-SUSE boo#958462
|
|
|
|
Patch9: rm-completion-smart-boo958462.patch
|
2016-01-27 16:43:52 +01:00
|
|
|
# PATCH-FIX-SUSE boo#963140
|
|
|
|
Patch10: backticks-bsc963140.patch
|
2018-04-24 11:23:39 +02:00
|
|
|
# PATCH-FIX-SUSE boo#1090515
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
Patch11: bash-completion-2.7-unRAR-remove.patch
|
2020-03-30 12:38:06 +02:00
|
|
|
# PATCH-FIX-SUSE boo#1167952
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
Patch12: bash-completion-fix-missing-directory-completion-with-filename-pattern.patch
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildArch: noarch
|
|
|
|
%if %{build_doc}
|
2016-04-27 13:55:31 +02:00
|
|
|
BuildRequires: asciidoc
|
|
|
|
BuildRequires: libxslt-tools
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
%if %{build_core}
|
2010-02-25 13:52:38 +01:00
|
|
|
Requires: bash
|
2016-08-03 16:01:00 +02:00
|
|
|
%endif
|
2020-10-05 11:15:23 +02:00
|
|
|
|
2010-02-25 13:52:38 +01:00
|
|
|
%description
|
2020-10-05 11:15:23 +02:00
|
|
|
%if %{build_doc}
|
|
|
|
This package contains the package documentation file of the
|
|
|
|
package bash-completion.
|
|
|
|
%else
|
2010-02-25 13:52:38 +01:00
|
|
|
bash-completion is a collection of shell functions that take advantage
|
|
|
|
of the programmable completion feature of Bash 2.04 and later.
|
|
|
|
|
2016-05-18 15:41:14 +02:00
|
|
|
%package devel
|
|
|
|
Summary: The Configuration of Programmable Completion for Bash
|
|
|
|
Provides: bash-completion:%{_datadir}/pkgconfig/bash-completion.pc
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the package configuration file of the
|
|
|
|
package bash-completion.
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
|
2010-02-25 13:52:38 +01:00
|
|
|
%prep
|
2020-10-05 11:15:23 +02:00
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
2010-02-25 13:52:38 +01:00
|
|
|
|
|
|
|
%build
|
2020-06-24 08:07:38 +02:00
|
|
|
autoreconf -fiv
|
2010-02-25 13:52:38 +01:00
|
|
|
%configure
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
%if %{build_core}
|
|
|
|
%make_build
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
%if %{build_doc}
|
2016-04-27 13:55:31 +02:00
|
|
|
pushd doc
|
|
|
|
mkdir html
|
|
|
|
a2x -D html -d book -f xhtml --asciidoc-opts="--unsafe" main.txt
|
|
|
|
popd
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
2010-02-25 13:52:38 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
%if %{build_core}
|
2012-07-20 01:56:29 +02:00
|
|
|
%make_install
|
2013-04-19 19:28:11 +02:00
|
|
|
# shipping in latest systemd now
|
2016-05-18 15:41:14 +02:00
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/udevadm
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/nmcli
|
2016-04-28 08:58:03 +02:00
|
|
|
# shipping in latest util-linux now
|
2016-05-18 15:41:14 +02:00
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/cal
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/chsh
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/dmesg
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/eject
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/hexdump
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/hwclock
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/ionice
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/look
|
2020-10-05 11:15:23 +02:00
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/mount
|
2016-05-18 15:41:14 +02:00
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/newgrp
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/renice
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/rtcwake
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/su
|
2020-10-05 11:15:23 +02:00
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/umount
|
2019-04-02 10:46:37 +02:00
|
|
|
# shipping in devscripts now
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/bts
|
2020-01-17 10:57:04 +01:00
|
|
|
# Seems to be broken (boo#1161136)
|
|
|
|
rm -vf %{buildroot}%{_datadir}/bash-completion/completions/_adb
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
Accepting request 827956 from home:elimat:branches:shells
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
- Modify qdbus-qt5.patch: only modify Makefile.am; Makefile.in is
auto-generated based on the .am file.
- Add libtool BuildRequires and explicitly call autoreconf: unless
we do this, there is a chance that the build modifies the above
mentioned .am and .in files with different timestamps, which in
turn triggers an implicit autoreconf. Without libtool present
though, this will fail.
- fix extra tokens at the end of %endif directive build errors
- Improve patch to fix lookup of qdbus-qt5 completion, previously
it was only loaded if qdbus was used first:
* qdbus-qt5.patch
- Update to version 2.11:
* _known_hosts_real: check that ruptime is present before calling
(#390)
* totem: reuse kaffeine completions (#372)
* __reassemble_comp_words_by_ref: avoid triggering nounset on
indirect references
* lintian: complete paths for Ubuntu's .ddeb and Debian's buildinfo
files (#397)
* ip: complete route add table arg
* ip: style fixes similar to ip-netns
* ip: add more completions for ip-rule
* ip: add support for netns (#391)
* ip: improve completion of route subcommands (#326)
* unzip, zipinfo: complete *.aar (#428)
* ssh: add new -Q completions in OpenSSH 8.2p1 (#400)
* python: support executables with minor version (#389)
* insmod, modinfo, modprobe: support xz compressed modules (#401)
* tshark: complete -r arg with all filenames (#422)
* openssl: update -starttls completions (#403)
* _filedir*: update link to bug-bash discussion on -X (#404)
* test/python: add testcase for submodule completion
* Release 2.11
* extra/make-changelog: check and output usage message
* pre-commit: anchor exclude patterns
* pytest: rewrite in bash, support toplevel funcs, avoid nondef ones
and classes
* test/xfreerdp: skip --help failure cases
* test/tshark: fix multiple -O completion with no http2 support
* test/ant: avoid complete-ant-cmd.pl interference with ANT_ARGS
* _xinetd_services: avoid nounset error on bash 4.2
* pre-commit: upgrade isort to 5.1.4
* pre-commit: upgrade pyupgrade to 2.7.2
* pre-commit: add pyupgrade, run it
* test/ant: gitignore all target cache files
* _known_hosts_real: exclude Host negations
* pre-commit: upgrade isort to 5.0.7
* pre-commit: update shellcheck-py URL
* test/inputrc: do not set print-completions-horizontally
* test/inputrc: comment typo fix
* pytest: complete async test class methods
* __get_cword_at_cursor_by_ref: fix regression on bash 4.2
* test: upgrade markdownlint-cli to 0.23.2
* _known_hosts_real: avoid errors in nounset mode on Ubuntu 14 and
16
* _longopt: exclude too many dashes, allow underscores, require ends
with alnum
* _included_ssh_config_files: support globs
* _known_hosts_real: prevent unwanted pathname expansion on host
entries
* test/shfmt: upgrade to 3.1.2, reformat with it
* test/_known_hosts_real: add explicit no globbing test case
* test: upgrade mypy to 0.782
* CONTRIBUTING.md: add posix and nounset mode item
* test: upgrade mypy to 0.781
* test: upgrade perltidy to 20200619
* _known_hosts_real: fix completion of Host entries after a wildcard
etc
* _known_hosts_real: fix # handling in ssh configs
* test: upgrade flake8 to 3.8.3
* test/xhost: multiple expected result handling fixes
* test/slapt-src: single expected result handling fixes
* test: partial hostname completion fixes
* test: simplify completion parsing
* test/dpkg-query: mark as xfail on non-Debian based systems
* .gitignore: clean up some no longer needed ignores
* test/lspci: skip -A arg test if lspci fails -A help, e.g. busybox
lspci
* test: regex escape our magic mark for completeness
* test: upgrade mypy to 0.780
* test/_known_hosts_real: don't modify class scoped base expected
list
* test/_known_hosts_real: reset COMP_KNOWN_HOSTS_WITH_HOSTFILE
between tests
* test/_known_hosts_real: tolerate duplicates
* bash_completion: trivial cleanups
* gcc: avoid errors in nounset mode
* pytest: fix test class method completion with BSD awk
* man, mutt: avoid errors in nounset mode on Ubuntu 14 and 16
* java, make: avoid errors in nounset mode on Ubuntu 14 and 16
* README: document GNU make build requirement
* pytest: add test class method completion
* _known_hosts: avoid errors in nounset mode and no arguments
* bash_completion: fix array set checks with empty elements in them
* *: avoid more errors in nounset mode
* cfrun: fix $hostfile leak
* _command_offset, route: cleanups
* *: avoid more errors in nounset mode
* qemu: add -machine arg completion
* qemu, sbopkg: avoid unintentional globbing on option arg
completions
* test: enable shellcheck SC2035
* *: drop support for bash 4.1
* _init_completion: fix unassigned redirect completion in nounset
mode
* ip: route shfmt, arithmetic evaluation
* _filedir: avoid unbound variable error on Ubuntu 14 and 16
* _pids, _pgids, _pnames: improve shfmt formatting
* scp, sftp, ssh: fix completion on options bundled with -4/-6
* modprobe, tshark, _included_ssh_config_files: use [[ ]] instead of
[ ]
* test/runLint: warn about [ ] instead of [[ ]] use
* test: skip various tests if we don't get a useful usage message
* *: mark nounset mode as supported, issues with it are bugs now
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* *: avoid more errors in nounset mode
* test/inputrc: comment and whitespace tweaks
* *: avoid more errors in nounset mode
* test/unit: sort files included in dist
* test/unit: include test_unit_known_hosts_real.py in dist
* bash_completion: line wrapping tweaks, NFC
* 7z: fix -o/-w attached arg completion
* postfix: try to arrange a fake tty so we can tickle the usage
message out
* _bashcomp_try_faketty: new function to try running command with a
fake tty
* mr: avoid herestrings, simplify command parsing
* test/mr: handle missing "clean" with skipif
* test: mark known non-ASCII issues with test suite as xfail
* dpkg-deb: add --raw-extract and -X arg completions
* test: add some dpkg-query test cases
* dpkg-deb: fix --show/-W completion
* test: upgrade markdownlint-cli to 0.23.1
* *: use more arithmetic evaluation
* test: try harder to restore environment and cwd on failures
* *: use $ifs for storing/restoring $IFS
* test/irb: xfail options test if --help is not available
* test: upgrade flake8 to 3.8.1
* test: pre-commit config cleanups, ordering
* test: upgrade pre-commit to 2.4.0+, drop shfmt kludge
* test: sync shfmt and shellcheck configs
* test: shfmt bashrc
* test: remove unused run-shellcheck, shellcheck is in pre-commit
now
* test: remove old test suite code no longer used \o/
* test/_known_hosts_real: port remaining test cases to
pytest+pexpect
* test: remove more no longer needed old test suite code
* test/_known_hosts_real: port more test cases to pytest+pexpect
* test/_get_cword: port remaining test case to pytest+pexpect
* test: replace some echos with printfs
* test/_filedir: fix shutil.rmtree on Python < 3.6
* test/_expand: port remaining test cases to pytest+pexpect
* test: drop some no longer needed old test suite code
* test/_filedir: port remaining test cases to pytest+pexpect
* test: run all Travis jobs on dist: bionic
* test: drop not needed sudo on Travis
* test/_filedir: port more test cases to pytest+pexpect
* test/__expand_tilde_by_ref: port remaining test cases to
pytest+pexpect
* test/_get_comp_words_by_ref: convert remaining test cases to
pytest+pexpect
* test: run pytest --verbose in docker
* lftp: use "bookmark list" command to list bookmarks
* test: drop some no longer needed old test suite code
* test/slapt-src: convert remaining test case to pytest+pexpect
* _xfunc: simplify
* apt-cache: avoid nonzero exit code from _apt_cache_packages
* test/slapt-get: convert remaining test case to pytest+pexpect
* test/secret-tool: add to test command list
* test/scp: port remaining test case to pytest+pexpect
* test/umount: convert remaining test case to pytest+pexpect
* secret-tool: new completion
* apt-get: complete build-dep with dirs
* travis: use golang 1.14 for shfmt
* *: run all shell code through shfmt -s
* pre-commit etc: add shfmt
* test: fix incorrect fixtures/shared/default xfails/expectations
* test: upgrade markdownlint to 0.23.0
* nmap: simplify help scraping a bit, don't try to emit unnecessary
newlines
* test: prefix fake test commands with underscore
* test: port most umount test cases to pytest+pexpect
* test: add note about unescaped assert_complete single return
values
* editorconfig: apply yaml settings to .yaml too
* pre-commit: use local perlcritic hook
* *: doc and comment link updates
* pre-commit, *.md: add markdownlint, address findings
* README: clarify loading automatically on demand
* ssh-keygen: -O arg updates and improvements
* ssh-keygen: add -b arg completions according to specified -t
* ssh-keygen: option and arg completion updates for new versions
* _command: improve commentary
* reportbug, scp, sftp, svn: use compgen -c instead of _command
* find: fix -exec etc argument and its completion
* extra: trigger docker builds only on test-cmd-list.txt changes
* test: add script to maintain list of executables for full test
coverage
* test: run lint tests on Travis in a quickish separate first stage
* test/make: mark more cases as requiring command
* make: add bmake alias
* test: run pre-commit on host instead of docker
* test: add perlcritic to pre-commit, run on all perl
* *: remove some unused variables, thanks to shellcheck SC2034
* *: various loop iteration improvements
* crontab: fix loop over already given args
* apt-cache: fix command mode handling
* doc: add loop variable naming guideline
* test: make at-point completion tests easier
* ssh, xsltproc: address shellcheck SC2006
* scp: work around shellcheck SC1003
* mutt: address shellchec SC2236
* wget: address shellcheck SC2116
* pytest: address shellcheck SC2002
* bash_completion, java, tipc: for loop whitespace consistency
tweaks
* *: more arithmetic evaluation cleanups, thanks to shellcheck
SC2004
* __reassemble_comp_words_by_ref, java: address and work around
shellcheck SC2102
* test: enable parallel pre-commit shellcheck
* test: remove shellcheck severity filter, add explicit disables
instead
* doc: recommend arithmetic evaluation
* *: array subscript cleanups
* ssh-keygen: -s and -n completion improvements
* *: enable and address shellcheck SC2053
* bash_completion, invoke-rc.d, svcadm: trivial cleanups
* *: replace various conditional expressions with arithmetic
evaluation
* carton: fix command parsing with BSD sed
* nmap: fix option parsing with BSD sed
* test/alias: port remaining test case to pytest+pexpect
* test: generalize complete at point test
* test/cd: fix test_dir_at_point for setups that repeat "trailer"
* pytest: add some option arg (non-)completions
* pytest: complete test classes
* pgrep, pkill: add --ns and --nslist arg completions
* test: run skipif and xfail commands without caring if they output
or not
* test: make it possible to not care whether command did output or
not
* test/xfreerdp: skip xfreerdp kbd test if kbd-list returns empty
* test: tolerate duplicates from compgen actions
* test: bump shellcheck severity to warning + some disables
* *: address shellcheck SC2046
* test/lib/library.sh: address shellcheck SC2125
* java, pkgadd, sysbench: address shellchec SC2124
* scp: address shellcheck SC2089 and SC2090
* _filedir_xspec: address shellcheck SC2140
* rpm, ssh, umount.linux: address shellcheck SC2120
* cvs, modprobe, sh: address shellcheck SC2209
* mutt: address shellcheck SC2088
* _upvar, _upvars, _variables, rpm: address shellcheck SC1083
* test/run: address shellcheck SC2164
* renice: address shellcheck SC2254
* tipc: comment grammar and spelling fixes
* man, perl, route, tipc: address shellcheck SC2053
* info, java: address shellcheck SC2153
* quote_readline: fix $ret leak
* test: upgrade shellcheck to 0.7.1
* test/printenv: xfail if --help doesn't contain options (e.g.
busybox)
* test/aptitude: require command where necessary
* _known_hosts_real, op: address shellcheck SC2184
* test: don't run shellcheck on completions/.gitignore
* protoc: complete all --*_out without more specific handling with
dirs
* sysbench: add --test= deprecation TODO
* pkgadd: indentation fix
* chronyc, wvdial: address shellcheck SC2178
* java, pkgadd, sysbench: address shellcheck SC2124
* mplayer: address shellcheck SC1078 false positive
* smartctl: hush shellcheck SC2054 false positives
* *: address shellcheck SC2221 and SC2222
* bash_completion: address shellcheck SC2220
* crontab, wodim: silence shellcheck SC2191 and SC2192
* aptitude: add some option arg (non)completions
* aptitude: parse options list from --help, hardcode less
* test/aptitude: add some test cases
* *: argument interation improvements
* *: whitespace tweaks
* apt-get etc: use _apt_cache_packages from apt-cache
* pre-commit: run most python checks on helpers/python too
* test/ldd: xfail if --help is not implemented
* test/printenv: require command for arg completion test
* printenv: indentation fixes
* test: upgrade mypy to 0.770
* test: split dependencies requiring Python 3.6.1+ to requirements-
dev.txt
* git: trigger docker rebuild on pre-commit config change
* test: require openssl command for option argument tests
* test: move perltidy to pre-commit, run with --converge
* test: move shellcheck to pre-commit
* test: ignore flake8 messages that are in black's domain
* _xinetd_services: look up from $BASHCOMP_XINETDDIR, add some unit
tests
* printenv: new completion
* copyright: add 2020
* test: fix CompletionResult.__eq__ UnboundLocalError
* test: run pre-commit in tools container
* test: shellcheck tweaks
* test: add isort to pre-commit, run it
* test: add flake8-bugbear
* test: install black for Python 3.6 too
* pre-commit: add config with black, flake8, and mypy
* test: drop redundant black args from docker runs
* *: python type hint fixes and improvements
* extra/make-changelog: run through black
* test/totem: add basic test case
* test/cd: remove unused import
* openssl: complete -writerand with filenames
* openssl: parse available options from $command -help
* openssl: support getting digest list from more recent openssl
versions
* nmap: handle options split on equals sign
* nmap: parse options from -h output
* test/cd: make dir_at_point produce better debuggable failures
* test/cd: convert remaining test case to pytest+pexpect
* test: remove some no longer needed old test suite code
* test/chown,sudo: parametrize special case test, improve xfail
targeting
* test/tsig-keygen: require command for test_options
* test/upgradepkg: port remaining test case to pytest+pexpect
* tsig-keygen: new completion
* test: host helper lint and usage fixes
* test: port some _known_hosts_real unit tests to pytest+pexpect
* test: remove some no longer needed tcl/expect code
* test: fix spurious hosts fixture failure without avahi-browse
installed
* test: port some scp test cases to pytest+pexpect
* test: port remaining finger, sftp, ssh, and xhost cases to
pytest+pexpect
* lilo: work around shellcheck false positive
* test/ipcalc: fix tests with busybox ipcalc
* chromium-browser, firefox: complete on *.txt (#379)
* README.md: add introduction
* ipcalc: new completion
* *: complete commands when prefixed with a backslash
* test/wol: don't fail MAC test if test system has /etc/ethers
entries
* test/dnssec-keygen: allow more alternatives in algorithm
completion
* lilo: don't complete on commented out labels
* lilo: honor -C when completing labels
* lilo: add -B and -E completions
* Source user completion only if it's a file (#409)
* jarsigner: complete on *.apk too (#386)
* cryptsetup: add luksChangeKey arg completion (#380)
- Refresh and reorder all patches and use autosetup macro
- Run spec-cleaner
* Remove rpm groups
OBS-URL: https://build.opensuse.org/request/show/827956
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=118
2020-08-20 07:37:55 +02:00
|
|
|
%if %{build_doc}
|
2016-08-03 16:01:00 +02:00
|
|
|
pushd doc
|
2020-10-05 11:15:23 +02:00
|
|
|
mkdir -p %{buildroot}%{_defaultdocdir}/%{_name}/html
|
|
|
|
install -m 0644 html/* %{buildroot}%{_defaultdocdir}/%{_name}/html/
|
2016-08-03 16:01:00 +02:00
|
|
|
popd
|
2020-10-05 11:15:23 +02:00
|
|
|
install -m 0644 AUTHORS %{buildroot}%{_defaultdocdir}/%{_name}/
|
|
|
|
install -m 0644 README.md %{buildroot}%{_defaultdocdir}/%{_name}/README
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
2013-04-19 19:28:11 +02:00
|
|
|
|
2010-02-25 13:52:38 +01:00
|
|
|
%files
|
2020-10-05 11:15:23 +02:00
|
|
|
%if "%{flavor}" == "doc"
|
|
|
|
%dir %{_defaultdocdir}/%{_name}
|
|
|
|
%{_defaultdocdir}/%{_name}/AUTHORS
|
|
|
|
%{_defaultdocdir}/%{_name}/README
|
|
|
|
%{_defaultdocdir}/%{_name}/html/
|
|
|
|
%else
|
2018-04-20 13:56:11 +02:00
|
|
|
%license COPYING
|
Accepting request 94556 from home:tiwai:branches:shells
- Update to version 1.90:
- new completions: epdfview, lpr, lpq, mysql, puppet, pkgtool,
makepkg, rmp2tgz, slapt-get, slapt-src, slackpkg, kcov, feh,
xgamma, fbi, fbgs sbopkg, a2x, arping, asciidoc, base64, cal,
chrpath, cppcheck, curl, dmesg, dot, file, gnome-mplayer, gprof,
hddtemp, host, htpasswd, idn, ionice, jps, lbunzip2, lbzip2,
lbzcat, prelink, protoc, pwdx, pwgen, reptyr, sum, watch,
phing, pinfo
- installed location changed to /usr/share/bash-completion/*
- see more changes in CHANGES file
OBS-URL: https://build.opensuse.org/request/show/94556
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=37
2011-12-01 15:03:29 +01:00
|
|
|
%{_datadir}/bash-completion
|
2020-10-05 11:15:23 +02:00
|
|
|
%dir %{_datadir}/cmake
|
2016-12-14 12:49:24 +01:00
|
|
|
%{_datadir}/cmake/bash-completion
|
2011-01-10 16:15:40 +01:00
|
|
|
%config %{_sysconfdir}/profile.d/bash_completion.sh
|
2016-05-18 15:41:14 +02:00
|
|
|
|
|
|
|
%files devel
|
2012-07-20 01:56:29 +02:00
|
|
|
%{_datadir}/pkgconfig/bash-completion.pc
|
2016-08-03 16:01:00 +02:00
|
|
|
# TRICK: bash-completion-devel does not require bash-completion.
|
|
|
|
# It would cause failure of directory ownership check.
|
|
|
|
# Own this directory to prevent it.
|
|
|
|
%dir %{_datadir}/bash-completion
|
2020-05-12 11:16:31 +02:00
|
|
|
%endif
|
2016-08-03 16:01:00 +02:00
|
|
|
|
2010-02-25 13:52:38 +01:00
|
|
|
%changelog
|