Accepting request 499818 from home:NicoK:branches:shells

update to version 2.5

OBS-URL: https://build.opensuse.org/request/show/499818
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=85
This commit is contained in:
Dr. Werner Fink 2017-05-30 16:31:52 +00:00 committed by Git OBS Bridge
parent 1b65d34c53
commit c0886c27eb
7 changed files with 90 additions and 16 deletions

View File

@ -25,7 +25,7 @@ Reviewed-by: Lidong Zhong <lzhong@suse.com>
diff --git a/completions/lvm b/completions/lvm
--- a/completions/lvm
+++ b/completions/lvm
@@ -6,27 +6,41 @@ _lvm_filedir()
@@ -6,27 +6,41 @@
_filedir
}
@ -46,11 +46,11 @@ diff --git a/completions/lvm b/completions/lvm
_lvm_physicalvolumes_all()
{
- COMPREPLY=( $(compgen -W "$( pvscan 2>/dev/null | \
- COMPREPLY=( $(compgen -W "$( pvscan 2>/dev/null | \
+ local verbose
+ _lvm_verbose && verbose=-v
+ COMPREPLY=( $(compgen -W "$( pvscan $verbose 2>/dev/null | \
command sed -n -e 's|^.*PV \([^ ]*\) .*|\1|p' )" -- "$cur" ) )
command sed -n -e 's|^.*PV \([^ ]*\) .*|\1|p' )" -- "$cur" ) )
}
_lvm_physicalvolumes()
@ -71,7 +71,7 @@ diff --git a/completions/lvm b/completions/lvm
command sed -n -e "s|^.*'\(.*\)'.*$|\1|p" )" -- "$cur" ) )
if [[ $cur == /dev/mapper/* ]]; then
_filedir
@@ -394,7 +408,7 @@ _vgreduce()
@@ -394,7 +408,7 @@
if [[ $args -eq 0 ]]; then
_lvm_volumegroups
else
@ -80,7 +80,7 @@ diff --git a/completions/lvm b/completions/lvm
fi
fi
} &&
@@ -709,7 +723,7 @@ _lvcreate()
@@ -709,7 +723,7 @@
if [[ $args -eq 0 ]]; then
_lvm_volumegroups
else

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c0f76b5202fec9ef8ffba82f5605025ca003f27cfd7a85115f838ba5136890f6
size 276148

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0b9540c65532825eca030f1241731383f89b2b65e80f3492c5dd2f0438c95cf
size 276732

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Tue May 30 15:59:01 UTC 2017 - nico.kruber@gmail.com
- Update to version 2.5
* Support for python gui source files (#91)
* mr: New completion
* ssh-keygen: support ed25519 keys (#79)
* Add sidedoor to _ssh() completion (#106)
* .ipa is just a zip file and we should let unzip handle it (#71)
* ant: parse targets in imported buildfiles (#84)
* Add more tests for ccache
* ccache: fix completing compiler's flags
* test suite: Add java/javac non-completion fixture
* javac: Complete -cp like -classpath
* travis: Skip bluez and nis for now due to post-install script
issues
* test/config/*: Delete trailing whitespace
* (test suite): Avoid loading user's ~/.bash_completion, fixes #87
* ip: Recognize a as alias for address and l for link
* ip: Recognize address in addition to addr
* mr: Disable "clean" test case, command N/A before mr 1.20141023
* ssh-keygen: Parse switches with _parse_usage, not _parse_help
* mplayer: Associate with *.mjpg, *.mjpeg (Debian: #837779)
* dd: Sync completions with coreutils 8.24
* travis: Add mr
* perl: Remove full path to cat in PERLDOC_PAGER call
* deja-dup: New completion
* CONTRIBUTING: Reorder sections
* *: Move indentation settings to .editorconfig
* make: Declare _make_target_extract_script like other functions
* Travis: zopfli is AWOL?
* *: Whitespace fixes
* Minor edits to README.md (mostly formatting) (#110)
* Fix bug in 'make' completion when using BSD sed (#108)
* Add support for Include in ssh config (#70) (#80)
- adapt LVM-completion-bsc946875.patch
-------------------------------------------------------------------
Thu Dec 15 09:37:52 UTC 2016 - werner@suse.de
@ -19,7 +56,7 @@ Wed Dec 14 12:41:38 UTC 2016 - werner@suse.de
Wed Dec 14 10:46:27 UTC 2016 - werner@suse.de
- Change upstream home to https://github.com/scop/bash-completion
- Update do verion 2.4
- Update to version 2.4
* xetex, xelatex, luatex, lualatex: Associate with tex files
* Support pod document files for perldoc (#39)
* tipc: add tipc completions

View File

@ -1,7 +1,7 @@
#
# spec file for package bash-completion-doc
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@ Name: bash-completion-doc
%define _name bash-completion
# WARNING: Never edit this file!!! Edit bash-completion.spec and call pre_checkin.sh to update bash-completion-doc.spec.
# Always set %%build_doc to 0 before submit to OBS.
Version: 2.4
Version: 2.5
Release: 0
Summary: The Documentation of Programmable Completion for Bash
License: GPL-2.0+
@ -29,7 +29,7 @@ Url: https://github.com/scop/bash-completion/
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{_name}-%{version}.tar.xz
Source1: bash-completion-rpmlintrc
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
Patch0: %{_name}-%{version}.patch
Patch0: %{_name}-2.4.patch
# PATCH-FIX-SUSE bnc#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key
Patch1: tar-completion.patch
# PATCH-FIX-SUSE bnc#903362 -- tab completion for file names prints error

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Tue May 30 15:59:01 UTC 2017 - nico.kruber@gmail.com
- Update to version 2.5
* Support for python gui source files (#91)
* mr: New completion
* ssh-keygen: support ed25519 keys (#79)
* Add sidedoor to _ssh() completion (#106)
* .ipa is just a zip file and we should let unzip handle it (#71)
* ant: parse targets in imported buildfiles (#84)
* Add more tests for ccache
* ccache: fix completing compiler's flags
* test suite: Add java/javac non-completion fixture
* javac: Complete -cp like -classpath
* travis: Skip bluez and nis for now due to post-install script
issues
* test/config/*: Delete trailing whitespace
* (test suite): Avoid loading user's ~/.bash_completion, fixes #87
* ip: Recognize a as alias for address and l for link
* ip: Recognize address in addition to addr
* mr: Disable "clean" test case, command N/A before mr 1.20141023
* ssh-keygen: Parse switches with _parse_usage, not _parse_help
* mplayer: Associate with *.mjpg, *.mjpeg (Debian: #837779)
* dd: Sync completions with coreutils 8.24
* travis: Add mr
* perl: Remove full path to cat in PERLDOC_PAGER call
* deja-dup: New completion
* CONTRIBUTING: Reorder sections
* *: Move indentation settings to .editorconfig
* make: Declare _make_target_extract_script like other functions
* Travis: zopfli is AWOL?
* *: Whitespace fixes
* Minor edits to README.md (mostly formatting) (#110)
* Fix bug in 'make' completion when using BSD sed (#108)
* Add support for Include in ssh config (#70) (#80)
- adapt LVM-completion-bsc946875.patch
-------------------------------------------------------------------
Thu Dec 15 09:37:52 UTC 2016 - werner@suse.de
@ -19,7 +56,7 @@ Wed Dec 14 12:41:38 UTC 2016 - werner@suse.de
Wed Dec 14 10:46:27 UTC 2016 - werner@suse.de
- Change upstream home to https://github.com/scop/bash-completion
- Update do verion 2.4
- Update to version 2.4
* xetex, xelatex, luatex, lualatex: Associate with tex files
* Support pod document files for perldoc (#39)
* tipc: add tipc completions

View File

@ -1,7 +1,7 @@
#
# spec file for package bash-completion
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Name: bash-completion
%define build_core 1
# Always set %%build_doc to 0 before submit to OBS.
%define build_doc 0
Version: 2.4
Version: 2.5
Release: 0
Summary: Programmable Completion for Bash
License: GPL-2.0+
@ -31,7 +31,7 @@ Url: https://github.com/scop/bash-completion/
Source0: https://github.com/scop/bash-completion/releases/download/%{version}/%{name}-%{version}.tar.xz
Source1: bash-completion-rpmlintrc
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
Patch0: %{name}-%{version}.patch
Patch0: %{name}-2.4.patch
# PATCH-FIX-SUSE bnc#1012212 -- bash tab-autocompletion hangs on TAR-archiving with --create key
Patch1: tar-completion.patch
# PATCH-FIX-SUSE bnc#903362 -- tab completion for file names prints error