1#compdef git-buildpackage 2#description build Debian packages from a git repository 3 4_arguments \ 5 '--version[show program version number and exit]' \ 6 '--help[show help message and exit]' \ 7 '--git-ignore-new[build with uncommited changes in the source tree]' \ 8 '--git-no-ignore-new[negates --git-ignore-new]' \ 9 '--git-verbose[verbose command execution]' \ 10 '--git-tag[create a tag after a successful build]' \ 11 '--git-tag-only[do not build, only tag and run the posttag hook]' \ 12 '--git-retag[do not fail if the tag already exists]' \ 13 '--git-sign-tags[sign tags]' \ 14 '--git-no-sign-tags[negates --git-sign-tags]' \ 15 '--git-keyid=-[GPG keyid to sign tags with]:GPG key:' \ 16 '--git-debian-tag=-[format string for debian tags]:default is debian/%(version)s:' \ 17 '--git-upstream-tag=-[format string for upstream tags]:default is upstream/%(version)s:' \ 18 '--git-pristine-tar[use pristine-tar to create .orig.tar.gz]' \ 19 '--git-no-pristine-tar[negates --git-pristine-tar]' \ 20 '--git-force-create[force creation of orig.tar.gz]' \ 21 '--git-no-create-orig[do not create orig.tar.gz]' \ 22 '--git-tarball-dir=-[location to look for external tarballs]:tarball directory:_files -/' \ 23 '--git-compression=-[compression type]:compression:(auto gzip bzip2 lzma xz)' \ 24 '--git-compression-level=-[set compression level]:level:(1 2 3 4 5 6 7 8 9)' \ 25 '--git-upstream-branch=-[upstream branch]::' \ 26 '--git-debian-branch=-[branch the Debian package is being developed on]::' \ 27 '--git-ignore-branch[build although debian-branch != current branch]' \ 28 '--git-no-ignore-branch[negates --git-ignore-branch]' \ 29 '--git-builder=-[command to build the Debian package]:command:' \ 30 '--git-cleaner=-[command to clean the working copy]:command:' \ 31 '--git-prebuild=-[command to run before a build]:command:' \ 32 '--git-postbuild=-[hook run after a successful build]:command:' \ 33 '--git-posttag=-[hook run after a successful tag operation]:command:' \ 34 '--git-pbuilder[invoke git-pbuilder for building]' \ 35 '--git-no-pbuilder[negates --git-pbuilder]' \ 36 '--git-dist=-[build for this distribution when using git-pbuilder]:distribution:' \ 37 '--git-arch=-[build for this architecture when using git-pbuilder]:architecture:' \ 38 '--git-export-dir=-[before building the package export the source into this directory]:directory:_files -/' \ 39 '--git-export=-[export treeish object instead of HEAD]:treeish:' \ 40 '--git-dont-purge[retain exported package build directory]' \ 41 '--git-overlay[extract orig tarball when using export-dir option]' \ 42 '--git-no-overlay[negates --git-overlay]' \ 43 '*:Other options:_dpkg-buildpackage' 44