23868: completion for svn-buildpackage.

This commit is contained in:
Clint Adams 2007-09-30 17:41:19 +00:00
parent 930f7f2c53
commit 50a7e9ef29
2 changed files with 54 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2007-09-30 Clint Adams <clint@zsh.org>
* 23868: Completion/Debian/Command/_svn-buildpackage: completion
for svn-buildpackage.
* 23867: Completion/Debian/Command/_dpkg-buildpackage: completion
for dpkg-buildpackage.

View file

@ -0,0 +1,51 @@
#compdef svn-buildpackage
_arguments \
'--svn-builder=[use CMD as build command instead of dpkg-buildpackage]:build command: _command_names -e' \
'--svn-ignore-new[do not stop on svn conflicts or new/changed files]' \
'--svn-dont-clean[do not run debian/rules clean (default: clean first)]' \
'--svn-no-links[do not use file links (default: use links where possible)]' \
'--svn-dont-purge[do not wipe the build directory (default: purge after build)]' \
'--svn-reuse[reuse an existing build directory, copy trunk over it]' \
'--svn-export[just prepares the build directory and exits]' \
'--svn-tag[final build: Export && build && tag && dch -i]' \
'--svn-retag[replace an existing tag directory if found while tagging]' \
'--svn-only-tag[tags the current trunk directory without building]' \
'--svn-noautodch[do not add a new Debian changelog entry when done]' \
'--svn-lintian[run lintian after the build]' \
'--svn-linda[like --svn-lintian, run linda instead]' \
'--svn-move[move package files to .. after successful build]' \
'--svn-move-to=:target dir:_files -/' \
'--svn-pkg:package name:_deb_packages avail' \
'--svn-override[override config variables]:list:' \
'--svn-prebuild:hook: _command_names -e' \
'--svn-postbuild:hook: _command_names -e' \
'--svn-pretag:hook: _command_names -e' \
'--svn-posttag:hook: _command_names -e' \
'--svn-verbose[more verbose program output]' \
'--svn-noninteractive[turn off interactive mode]' \
'-b[binary-only build, no source]' \
'-B[binary-only build, no source or arch-indep binaries]' \
'-S[source-only build, no binaries]' \
'-s-:source generation:((i\:default a\:force\ inclusion\ of\ original\ source d\:force\ exclusion\ of\ original\ source))' \
'-a-:architecture:(alpha amd64 arm hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc)' \
'-v-:version:' \
'-C-:changes description:_files' \
'-m-:maintainer address:_email_addresses' \
'-e-:maintainer address:_email_addresses' \
'(-d)-D[check build dependencies and conflicts]' \
'(-D)-d[do not check build dependencies and conflicts]' \
'-W[turn certain errors into warnings]' \
'-E[negates previously-set -W]' \
'-nc[do not clean source tree]' \
'-tc[clean the source tree after build]' \
'-r-:gain-root command: _command_names -e' \
'-p-:sign command: _command_names -e' \
'-k-:key ID:' \
'-us[do not sign source package]' \
'-uc[do not sign .changes file]' \
'*-i-:ignore regexp:' \
'*-I-:ignore filename:_files' \
'--admindir=:dpkg database dir:_files -/' \
'(-h --help)'{-h,--help}'[show usage message]' \
'--version[show version]'