Hello community,
here is the log from the commit of package zsh for openSUSE:Factory
checked in at Fri Mar 12 17:37:39 CET 2010.
--------
--- zsh/zsh.changes 2009-12-02 19:19:16.000000000 +0100
+++ /mounts/work_src_done/STABLE/zsh/zsh.changes 2010-03-09 16:54:49.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Mar 9 11:50:17 CET 2010 - hmacht@suse.de
+
+- update completion for _osc:
+ - add new products openSUSE 11.2 and openSUSE 11.3
+ - add possibility to extend the list of projects and build
+ targets with user defined variables
+ $ZSH_OSC_BUILD_TARGETS_EXTRA and $ZSH_OSC_PROJECTS_EXTRA
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zsh.spec ++++++
--- /var/tmp/diff_new_pack.VZcWHi/_old 2010-03-12 17:37:24.000000000 +0100
+++ /var/tmp/diff_new_pack.VZcWHi/_new 2010-03-12 17:37:24.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package zsh (Version 4.3.10)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products 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: zsh
Version: 4.3.10
-Release: 4
+Release: 5
License: Other uncritical OpenSource License
Group: System/Shells
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ _osc ++++++
--- /var/tmp/diff_new_pack.VZcWHi/_old 2010-03-12 17:37:24.000000000 +0100
+++ /var/tmp/diff_new_pack.VZcWHi/_new 2010-03-12 17:37:24.000000000 +0100
@@ -1,6 +1,6 @@
#compdef osc
#
-# Copyright (C) 2009 Holger Macht
+# Copyright (C) 2009,2010 Holger Macht
#
# This file is released under the GPLv2.
#
@@ -8,9 +8,22 @@
#
# Toggle verbose completions: zstyle ':completion:*:osc:*' verbose no
# zstyle ':completion:*:osc-subcommand:*' verbose no
+#
+# Use the variables $ZSH_OSC_BUILD_TARGETS_EXTRA and $ZSH_OSC_PROJECTS_EXTRA to
+# extend the list of possible completions in your ~/.zshrc like that:
+# export OSC_PROJECTS_EXTRA="Base:System Base:shells"
#
-# version 0.1
+# version 0.2
#
+
+OSC_BUILD_TARGETS="openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_11.2 openSUSE_11.3 openSUSE_Factory"
+OSC_PROJECTS="openSUSE:Factory openSUSE:11.2 openSUSE:11.3 openSUSE:11.1 openSUSE:11.0 openSUSE:10.3"
+
+# user defined variables $OSC_BUILD_TARGETS_EXTRA and
+# $OSC_PROJECTS_EXTRA can add to the project/build target list
+OSC_BUILD_TARGETS="$OSC_BUILD_TARGETS $ZSH_OSC_BUILD_TARGETS_EXTRA"
+OSC_PROJECTS="$OSC_PROJECTS $ZSH_OSC_PROJECTS_EXTRA"
+
# Main dispatcher
_osc() {
@@ -29,7 +42,7 @@
_osc_cmd_getbinaries
elif [ "$cmd" = "checkout" -o "$cmd" = "co" -o "$cmd" = "branch" ]; then
_osc_cmd_checkout
- elif [ "$cmd" = "buildlog" -o "$cmd" = "buildinfo" ]; then
+ elif [ "$cmd" = "buildlog" -o "$cmd" = "buildinfo" -o "$cmd" = "bl" ]; then
_osc_cmd_buildlog
else
_osc_cmd_do $cmd
@@ -57,21 +70,21 @@
_osc_cmd_getbinaries() {
_arguments \
- '1:PROJECT:(PROJECT)' \
+ '1:PROJECT:( `echo $OSC_PROJECTS` )' \
'2:PACKAGE:(PACKAGE)' \
- '3:REPOSITORY:( openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_Factory SUSE_SLE-11_GA )' \
+ '3:REPOSITORY:( `echo $OSC_BUILD_TARGETS` )' \
'4:ARCHITECTURE:(i586 x86_64)'
}
_osc_cmd_checkout() {
_arguments \
- '1:PROJECT:( openSUSE:Factory openSUSE:11.1 openSUSE:11.0 openSUSE:10.3 )' \
+ '1:PROJECT:( `echo $OSC_PROJECTS` )' \
'2:PACKAGE:(PACKAGE)'
}
_osc_cmd_buildlog() {
_arguments \
- '1:REPOSITORY:( openSUSE_10.2 openSUSE_10.3 openSUSE_11.0 openSUSE_11.1 openSUSE_Factory SUSE_SLE-11_GA )' \
+ '1:REPOSITORY:( `echo $OSC_BUILD_TARGETS` )' \
'2:ARCHITECTURE:(i586 x86_64)'
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org