# Use Debian-style DEP-14 branch names: upstream-branch=upstream/latest debian-branch=debian/latest
# Lax requirement to use branch name 'debian/latest' so that git-buildpackage # will always build using the currently checked out branch as the Debian branch. # This makes it easier for contributors to work with feature and bugfix # branches. ignore-branch = True
# Build packages with pbuilder: # pbuilder = True # Or use sbuild: builder = sbuild
# Ensure a human always reviews all the debian/changelog entries. spawn-editor = always
# No need to confirm package name or version at any time, git-buildpackage # always gets it right. interactive = False
# Ensure we always target Debian on Debian branches dch-opt = --vendor=debian
# If this package ever needs to be maintained for Ubuntu, remember to override # the branch, tag and commit messages #debian-branch = ubuntu/24.04-noble #debian-tag = ubuntu/%(version)s #debian-tag-msg = %(pkg)s Ubuntu release %(version)s #dch-opt = --vendor=ubuntu
# Produce a source.changes file suitable for a source-only upload; # this is the same as passing `--source-only-changes` to sbuild. $source_only_changes = 1;
############################################################################## # POST-BUILD RELATED (turn off functionality by setting variables to 0) ############################################################################## $run_lintian = 1; $lintian_opts = ['--display-info', '--verbose', '--fail-on', 'error,warning', '--info'];
$run_autopkgtest = 1;
## Run piuparts after every build (in a new, temporary, chroot); use --no-run-piuparts to override. # this does not work in bookworm $run_piuparts = 1; # Build a temporary chroot. # $piuparts_opts = ['--no-eatmydata', '--distribution=%r', '--fake-essential-packages=systemd-sysv']; # Build a temporary chroot that uses apt-cacher-ng as a proxy to save bandwidth and time and doesn't disable eatmydata to speed up processing. $piuparts_opts = ['--distribution=%r', '--bootstrapcmd=mmdebstrap --skip=check/empty --variant=minbase --aptopt="Acquire::http { Proxy \"http://127.0.0.1:3142\"; }"'];
# Set branch name when creating the repo: git init --initial-branch="$(gbp config DEFAULT.upstream-branch)" some-project # Or rename the branch when you start to Debianise: git branch -m master "$(gbp config DEFAULT.upstream-branch)"