zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <schizo@debian.org>
To: zsh-workers@zsh.org
Cc: Felipe Sateler <fsateler@debian.org>, 602962@bugs.debian.org
Subject: Re: Bug#602962: zsh: completion for git-buildpackage
Date: Wed, 10 Nov 2010 16:10:24 +0000	[thread overview]
Message-ID: <20101110161024.GA25393@scru.org> (raw)
In-Reply-To: <20101109194739.24297.17665.reportbug@pcfelipe.sateler>

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'


           reply	other threads:[~2010-11-10 16:12 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20101109194739.24297.17665.reportbug@pcfelipe.sateler>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101110161024.GA25393@scru.org \
    --to=schizo@debian.org \
    --cc=602962@bugs.debian.org \
    --cc=fsateler@debian.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).