&dhemail;
&dhfirstname;
&dhsurname;
gbp.conf
&dhconfsection;
&gbp.conf;git-buildpackage configuration file/etc/git-buildpackage/gbp.confsystem wide~/.gbp.confper user.gbp.confper branch, can be published with the
repository (deprecated)debian/gbp.confper branch, can be published with the
repository.git/gbp.confper repositoryDESCRIPTION
The gbp.conf provides default global options and specific options
for &git-buildpackage; commands. All have the same format and are parsed in the above order. The
file consists of several sections, one for each command. Comments start with a hash sign
(). The generic file syntax is:
[DEFAULT]
# This is section for global settings. Affects all commands
key = value
[<command>]
# Specific sections for each command, like &git-buildpackage;
key = value
pairs of the command sections reflect the command line
options and their settings. For example
manualpage contains the =diirectory
option which can be turned into configuration file setting by dropping the
prefix with:
[git-buildpackage]
export-dir = directory
Notice that some option are actually repeatable, or take Python lists.
For example the commmand has the
=pattern option which can
be truned into a configuration file option like this:
[git-import-orig]
filter = .svn
filter = .hg
An alternative way is to write it using Python list syntax:
[git-import-orig]
filter = [ '.svn', '.hg' ]
Boolean options can bei either or . For example
; has the and
options which translate to:
[git-import-orig]
pristine-tar = True
and
[git-import-orig]
pristine-tar = False
respectively.
To see the current set of values that would be applied after parsing the
configuration files run the command with and check it's
output.
git-import-dscs and git-pbuilder
can't be configured via gbp.conf.
EXAMPLES
An example set up for packaging work:
# $HOME/gbp.conf
[DEFAULT]
pristine-tar = True
cleaner = fakeroot debian/rules clean
[git-buildpackage]
export-dir = ../build-area/
[git-import-orig]
dch = False
filter = .svn
filter = .hg
filter = .bzr
filter = CVS
filter = debian/*
filter = */debian/*
filter-pristine-tar = True
[git-import-dsc]
filter = [
'CVS',
'.cvsignore',
'.hg',
'.hgignore'
'.bzr',
'.bzrignore',
'.gitignore'
]
# End of file
ENVIRONMENTGBP_CONF_FILESColon separated list of files to parse. The default is
the above list of configuration files.FILES
See See /etc/git-buildpackage/gbp.conf for an example.
STANDARDS
The at The Git-Buildpackage Manual at
/usr/share/doc/git-buildpackage/manual-html/index.htmlSEE ALSOgbp-clone1,
gbp-create-remote-repo1,
gbp-pq1gbp-pull1,
git-dch1,
git-import-dsc1,
git-import-orig1,
git-buildpackage1AUTHORS&dhusername; &dhemail;This manual page is based on a POD version by Jari Aalto jari.aalto@cante.net.
Released under license GNU GPL version 2 or (at your option) any later.
version.