git-buildpackage

Name

git-buildpackage -- Build Debian packages from a Git repository

Synopsis

git-buildpackage [--git-ignore-new] [--git-tag] [--git-verbose] [--git-upstream-branch=branch_name] [--git-debian-branch=branch_name] [--git-builder=BUILD_CMD] [--git-cleaner=CLEAN_CMD] [--git-sign-tags] [--git-keyid=gpg-keyid] [--git-posttag=command] [--git-debian-tag=tag-format]

DESCRIPTION

git-buildpackage is used to build Debian source and .deb packages from a Git repository.

git-buildpackage will, in order:

OPTIONS

--git-ignore-new

Build the .diff.gz and debian package although there are uncommitted changes in the source tree.

--git-tag

Add a git tag after a successfull build.

--git-builder=BUILD_CMD

Use BUILD_CMD instead of debuild

--git-cleaner=CLEAN_CMD

Use CLEAN_CMD instead of debuild clean

--git-verbose

verbose execution

--git-upstream-branch=branch_name

Branch to build the orig.tar.gz from. Default is upstream

--git-debian-branch=branch_name

If you're not on this branch when invoking git-buildpackage it will fail. Default is master. This is done to make sure you don't accidentally release from a topic branch. Not being on this branch will be ignored when using --git-ignore-new.

--git-sign-tags

GPG sign all created tags

--git-keyid=gpg-keyid

use this keyid for gpg signing tags

--git-posttag=command

excecute command after tagging a new version

--git-debian-tag=tag-format

use this tag format when tagging Debian versions

CONFIGURATION FILES

Three configuration files are parsed to set defaults for the above commandline arguments:

/etc/git-buildpackage/gbp.conf

system wide configuraton

~/.gbp.conf

per user configuration

.git/gbp.conf

per working copy configuration

See /etc/git-buildpackage/gbp.conf for an example.

All options in the config files are specified without the 'git-' prefix.

SEE ALSO

git-import-dsc (1), git-import-orig (1), debuild (1), git (1)

AUTHOR

Guido Guenther