summaryrefslogtreecommitdiff
path: root/projects/git-buildpackage/gbp.conf
blob: bef74e445cd896516c651ec8a7387df77e8b89de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[DEFAULT]
# Sign tags by default:
sign-tags = True
keyid = 0xB999CDB58C8DDBD2
# use pristine tar by default
pristine-tar = True
dist = DEP14

## The gbp commands ##
[buildpackage]
# Automatically push to remote repo after tagging a new release
posttag = /var/scratch/debian/git-buildpackage/git-buildpackage/examples/gbp-posttag-push -u
# Setup tmpfs for pbuilder
prebuild = /home/agx/bin/tmpfs-build
# Run Lintian after a succesful build
postbuild = lintian $GBP_CHANGES_FILE
# Build command
#builder = dpkg-buildpackage -i -I -uc -us
# Clean command
cleaner = /bin/true
pbuilder = True
pbuilder-options = --hookdir /home/agx/.pbuilder/hooks

[import-orig]
# Automatically forward the changelog after importing a new upstream version
postimport = gbp dch -S -a --debian-branch=$GBP_BRANCH && git commit --amend -C@{0} debian/changelog
import-msg = New upstream version %(version)s
interactive = False
# Don't bother merging the upstream branch, we know how the result should look like:
merge-mode=replace

[dch]
# Parse meta tags like Closes: from commit messages
meta = True
# Add seven digits of the commits sha1 to the commit message
id-length = 7
# Regex for matching bugs to close
meta-closes = Closes|LP|BZ
# Use the full commit message instead of the first line only
full = True
# Ignore these in commit messages
ignore-regex = (Signed-off|Acked)-by|git-svn-id:
# Use author information from git
git-author = True
# Merge changelog entries by maintainer
multimaint-merge = True
# Always ignore branch
ignore-branch = True

[import-dsc]
sign-tags = False
allow-unauthenticated = True

[pq]
patch-numbers = False

## Remote sites we create repos at ##
[remote-config pkg-libvirt]
remote-url-pattern = ssh://git.debian.org/git/pkg-libvirt/%(pkg)s.git
template-dir = /srv/alioth.debian.org/chroot/home/groups/pkg-libvirt/git-template

[remote-config calendarserver]
remote-url-pattern = ssh://git.debian.org/git/calendarserver/%(pkg)s.git

# Git push based 'CI'
[remote-config cowbuilder]
bare = False
template-dir = /home/agx/pkgs/templates
remote-url-pattern = ssh://cowbuilder/~/pkgs/%(pkg)s

[remote-config test] 
remote-url-pattern = ssh://honk.dyn.sigxcpu.org/~/%(pkg)s.git

## Hooks can put config in here too ##
[gbp-posttag-push]
upload-cmd = source-only-upload
#upload-cmd = true
#pristine-tar = False