gbp.conf 4.32 KB
Newer Older
1
# Configuration file for "gbp <command>"
2 3

[DEFAULT]
4
# the default build command:
5
#builder = debuild -i -I
6 7
# the default clean command:
#cleaner = debuild clean
8 9 10 11 12 13 14
# the default branch for upstream sources:
#upstream-branch = upstream
# the default branch for the debian patch:
#debian-branch = master
# the default tag formats used:
#upstream-tag = upstream/%(version)s
#debian-tag = debian/%(version)s
15
#debian-tag-msg = %(pkg)s Debian release %(version)s
16 17
# use pristine-tar:
#pristine-tar = True
18
# don't check if debian-branch == current branch:
19
#ignore-branch = True
20
# Use color when on a terminal, alternatives: on/true, off/false or auto
21
#color = auto
22

23 24
# Options only affecting gbp buildpackage
[buildpackage]
25 26
# Look for a tag matching the upstream version when creating a tarball
#upstream-tree = tag
27
# uncomment this to automatically GPG sign tags:
Guido Günther's avatar
Guido Günther committed
28
#sign-tags = True
29
# keyid to GPG sign tags with:
Guido Günther's avatar
Guido Günther committed
30
#keyid = 0xdeadbeef
31
# push to a remote repository after a successful tag:
32
#posttag = git-push git.example.com
Guido Günther's avatar
Guido Günther committed
33 34
# call lintian after a successful build:
#postbuild = lintian $GBP_CHANGES_FILE
Jonathan Nieder's avatar
Jonathan Nieder committed
35 36
# let package generate upstream changelog before build:
#prebuild = GIT_DIR=$GBP_GIT_DIR debian/autogen.sh
37
# use this for more svn-buildpackage like behaviour:
38
#export-dir = ../build-area/
39
#tarball-dir = ../tarballs/
40
#ignore-new = True
41
#export = HEAD
42
# compress with bzip2
43
#compression = bzip2
44
# use best compression
45
#compression-level = best
46 47
# Don't send notifications, alternatives: on/true, off/false or auto
#notify = off
48 49
# Transparently handle submodules
# submodules = True
50
# Whether to use cowbuilder via git-pbuilder(1)
51 52 53 54 55
#pbuilder = True
# Which distribution to use with git-pbuilder
#dist = testing
# Options to pass to pbuilder when using git-pbuilder
#git-pbuilder-options = '--hookdir /etc/pbuilder/hooks'
56

57 58
# Options only affecting gbp import-orig
[import-orig]
59
# set a different upstream branch to import to:
60
#upstream-branch = newupstream
61
# set a different branch to merge to:
62
#debian-branch = dfsgclean
63 64
# don't merge to debian branch by default:
#merge = False
65
# import filter:
66
#filter = .svn
67
# filter out files from tarball passed to pristine tar:
Mehdi Dogguy's avatar
Mehdi Dogguy committed
68
#filter-pristine-tar = True
69
# run hook after the import:
70
#postimport = git-dch -N%(version)s -S -a --debian-branch=$GBP_BRANCH
71 72
# emulate old behaviour of calling dch:
#postimport = dch -v%(version)s New Upstream Version
73 74
# commit message:
#import-msg = New upstream version %(version)s
75

76
# Options only affecting gbp import-dsc
Guido Günther's avatar
Guido Günther committed
77
[import-dsc]
78
# set a different upstream branch:
79
#upstream-branch = svn-upstream
80
# import filter:
81
#filter = [ 'CVS', '.cvsignore' ]
82 83 84 85
#force committer to be the same as author
#author-is-committer = True
#same for the date
#author-date-is-committer-date = True
86

87 88
# Options only affecting gbp dch
[dch]
89
# options passed to git-log:
Guido Günther's avatar
Guido Günther committed
90
#git-log = --no-merges
91
# next snapshot number:
Guido Günther's avatar
Guido Günther committed
92
#snapshot-number = snapshot + 1
93 94 95
# include 7 digits of the commit id in the changelog enty:
#id-length = 7
# don't include information from meta tags:
96
#meta = False
97
# what tags to look for to generate bug-closing changelog entries:
Guido Günther's avatar
Guido Günther committed
98
#meta-closes = Closes|LP
99 100
# what regex should be used to parse the bug number
#meta-closes-bugnum = '(?:bug|issue)?\#?\s?\d+'
101 102 103
# include the full commit message in the changelog:
#full = True
# ignore Signed-off-by: lines:
Guido Günther's avatar
Guido Günther committed
104
#ignore-regex=(Signed-off|Acked)-by:
Guido Günther's avatar
Guido Günther committed
105 106
# use author name and email from git-config:
#git-author = True
107 108
# Customizatons can e.g. be used for line wrapping
#customizations=/usr/share/doc/git-buildpackage/examples/wrap_cl.py
109
# Options to pass to dch verbatim
110
#dch-opt = ['--mainttrailer']
111

112 113
# Options only affecting gbp pq
[pq]
114
#patch-numbers = False
115 116 117 118
# The format specifier for patch number prefixes
#patch-num-format = '%04d-'
# Whether to renumber patches when exporting patch queues
#renumber = False
Guido Günther's avatar
Guido Günther committed
119 120
# Whether to drop patch queue after export
#drop = False
121

122 123
# Options only affecting gbp clone
[clone]
124 125
#pristine-tar = True

126 127
# Options only affecting gbp pull
[pull]
128
#pristine-tar = True
129

130 131
# Options only affecting gbp create remote repo
[create-remote-repo]
132 133
# disable remote branch tracking
#track = False
134

135
# Sample config to create remote repositore using gbp create-remote-repo:
136 137 138 139 140 141
[remote-config pkg-libvirt]
# Location of the repository
remote-url-pattern = ssh://git.debian.org/git/pkg-libvirt/%(pkg)s
# Template dir to passed to git-init
template-dir = /srv/alioth.debian.org/chroot/home/groups/pkg-libvirt/git-template