From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29788 invoked by alias); 10 Nov 2010 16:12:14 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28401 Received: (qmail 21715 invoked from network); 10 Nov 2010 16:12:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at debian.org does not designate permitted sender hosts) Date: Wed, 10 Nov 2010 16:10:24 +0000 From: Clint Adams To: zsh-workers@zsh.org Cc: Felipe Sateler , 602962@bugs.debian.org Subject: Re: Bug#602962: zsh: completion for git-buildpackage Message-ID: <20101110161024.GA25393@scru.org> References: <20101109194739.24297.17665.reportbug@pcfelipe.sateler> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101109194739.24297.17665.reportbug@pcfelipe.sateler> User-Agent: Mutt/1.5.18 (2008-05-17) On Tue, Nov 09, 2010 at 04:47:39PM -0300, Felipe Sateler wrote: > I have created a basic completion for git-buildpackage. Please find it > attached. Thank you. Index: Completion/Debian/Command/_git-buildpackage =================================================================== RCS file: Completion/Debian/Command/_git-buildpackage diff -N Completion/Debian/Command/_git-buildpackage --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Completion/Debian/Command/_git-buildpackage 10 Nov 2010 16:05:58 -0000 @@ -0,0 +1,42 @@ +#compdef git-buildpackage + +_arguments \ + '--version[show program version number and exit]' \ + '--help[show help message and exit]' \ + '--git-ignore-new[build with uncommited changes in the source tree]' \ + '--git-no-ignore-new[negates --git-ignore-new]' \ + '--git-verbose[verbose command execution]' \ + '--git-tag[create a tag after a successful build]' \ + '--git-tag-only[do not build, only tag and run the posttag hook]' \ + '--git-retag[do not fail if the tag already exists]' \ + '--git-sign-tags[sign tags]' \ + '--git-no-sign-tags[negates --git-sign-tags]' \ + '--git-keyid=-[GPG keyid to sign tags with]:GPG key:' \ + '--git-debian-tag=-[format string for debian tags]:default is debian/%(version)s:' \ + '--git-upstream-tag=-[format string for upstream tags]:default is upstream/%(version)s:' \ + '--git-pristine-tar[use pristine-tar to create .orig.tar.gz]' \ + '--git-no-pristine-tar[negates --git-pristine-tar]' \ + '--git-force-create[force creation of orig.tar.gz]' \ + '--git-no-create-orig[do not create orig.tar.gz]' \ + '--git-tarball-dir=-[location to look for external tarballs]:tarball directory:_files -/' \ + '--git-compression=-[compression type]:compression:(auto gzip bzip2 lzma xz)' \ + '--git-compression-level=-[set compression level]:level:(1 2 3 4 5 6 7 8 9)' \ + '--git-upstream-branch=-[upstream branch]::' \ + '--git-debian-branch=-[branch the Debian package is being developed on]::' \ + '--git-ignore-branch[build although debian-branch != current branch]' \ + '--git-no-ignore-branch[negates --git-ignore-branch]' \ + '--git-builder=-[command to build the Debian package]:command:' \ + '--git-cleaner=-[command to clean the working copy]:command:' \ + '--git-prebuild=-[command to run before a build]:command:' \ + '--git-postbuild=-[hook run after a successful build]:command:' \ + '--git-posttag=-[hook run after a successful tag operation]:command:' \ + '--git-pbuilder[Invoke git-pbuilder for building]' \ + '--git-no-pbuilder[negates --git-pbuilder]' \ + '--git-dist=-[build for this distribution when using git-pbuilder]:distribution:' \ + '--git-arch=-[build for this architecture when using git-pbuilder]:architecture:' \ + '--git-export-dir=-[before building the package export the source into this directory]:directory:_files -/' \ + '--git-export=-[export treeish object instead of HEAD]:treeish:' \ + '--git-dont-purge[retain exported package build directory]' \ + '--git-overlay[extract orig tarball when using export-dir option]' \ + '--git-no-overlay[negates --git-overlay]' \ + '*:Other options:_dpkg-buildpackage'