From 90ea01103d2fbd4e6268880bed259a18f5b9cfb9 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 4 Jul 2016 16:30:47 +0900 Subject: gbp.conf: rewrite with comments We do actually need separate Debian and upstream tags. --- debian/gbp.conf | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/debian/gbp.conf b/debian/gbp.conf index 86f71c4..caff513 100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@ -1,9 +1,6 @@ [DEFAULT] -upstream-branch = master -debian-branch = master -upstream-tag = debian/%(version)s -debian-tag = debian/%(version)s +# Some standard gbp settings sign-tags = True pristine-tar = True pristine-tar-commit = True @@ -12,5 +9,18 @@ color = on compression = xz compression-level = 9 +# Debian package maintainer is upstream project maintainer, so +# everything lives on the master branch (from ver. 1.0.0-1 onwards) +upstream-branch = master +debian-branch = master +# However, separate tags (e.g. one commit tagged both 1.0.0 and +# debian/1.0.0-1) because git-remote-gcrypt is meant to be usable +# outside of Debian +upstream-tag = %(version)s +debian-tag = debian/%(version)s + +# We need this filter so that gbp generates a suitable tarball so that +# the end result is a proper 3.0 (quilt) source package +[import-orig] filter = [ '.git', '.gitignore', 'debian' ] filter-pristine-tar = True -- cgit v1.2.3