Source: git-buildpackage Version: 0.6.0~git20120419 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Guido git-dch already has support for --nmu, --qa and --bpo. Would it be possible to add the support for the --team switch too? I tentantively attached a patch (but I have not yet tested it works as expected). The patch is for current experimental branch for git-buildpackage. Regards, Salvatore - -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPte46AAoJEHidbwV/2GP+/N8P+gPPiJNs8LAQfwuG4v5rZwfG JiEtULbYqyO6pezevDghyh5hw+x3Ud1ljiNvdvR8+htYvaLs/qp5JkkXm/1b20dg Ec9NgbhN4ec5IPU9Xj7skYFutjBY+9mli38R6GQdaJPE9YR84AMI1m7k4IygCjw7 PbgKSHj4CUTltucHrFeSNj7MOr9azKP/5/Sx+BHCHSvAqiJIo4Dc6Q5r2+Q3grAD uHUgxHlHOOV1QvyTuLIU2pdKpCPGGxcE71y8BfFerIuRHbY8ZjLbez/4BokGkAfL l83RcielAPKrvRs9brT7AYhk9xY6fA4g8xYyySyICYa6SYjaFRHy/q5a0t/nJ0YC CGnEsMtNclQ7h8856Hqk6amA6I0qPu6G9Dt6/fA92qjUapd46iL1+VJ8/iDi4/qK 3w5anoHyZsyie/rq7LX0PvYuiga4rrCQP+23Of8xPV6iUT2cRm4SWpNWCC/4HJ+1 8qPV0WJ/7oQbtP44ruY0SZmzz07lSS5Vib3XYBOTnUWikpuRWbk2ZP6GkSzblkxj ihaj47eWkLdM8xh3J7QIxqDc+bYFCec5FWIFV5WjRjaw6BDg5wqNM7EcIp3ivDC8 UM2TkBLM6SulWaEv9VNuPPHWME1B1a5UUsFsD+SSlaUNe+4Vv9PwcBBtI6mwXTId QLzZm/DrBLNzaTv3/wxv =5MH0 -----END PGP SIGNATURE-----
>From fcbc06d439ed143dd76933dbc0d4f6f089116650 Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso <car...@debian.org> Date: Fri, 18 May 2012 08:23:55 +0200 Subject: [PATCH] git-dch: Add support for --team switch for Team uploads --- docs/manpages/git-dch.sgml | 1 + gbp/scripts/dch.py | 6 +++++- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/docs/manpages/git-dch.sgml b/docs/manpages/git-dch.sgml index 6449ecd..31452f7 100644 --- a/docs/manpages/git-dch.sgml +++ b/docs/manpages/git-dch.sgml @@ -39,6 +39,7 @@ <arg><option>--bpo</option></arg> <arg><option>--nmu</option></arg> <arg><option>--qa</option></arg> + <arg><option>--team</option></arg> </group> <arg><option>--[no-]full</option></arg> <arg><option>--[no-]meta</option></arg> diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py index 14dff29..0a69510 100644 --- a/gbp/scripts/dch.py +++ b/gbp/scripts/dch.py @@ -382,6 +382,8 @@ def main(argv): help="Increment the Debian release number for a non-maintainer upload") version_group.add_option("--qa", dest="qa", action="store_true", default=False, help="Increment the Debian release number for a Debian QA Team upload, and add a QA upload changelog comment.") + version_group.add_option("--team", dest="team", action="store_true", default=False, + help="Increment the Debian release number for a Debian Team upload, and add a Team upload changelog comment.") version_group.add_boolean_config_file_option(option_name="git-author", dest="git_author") commit_group.add_boolean_config_file_option(option_name="meta", dest="meta") commit_group.add_config_file_option(option_name="meta-closes", dest="meta_closes", @@ -448,13 +450,15 @@ def main(argv): commits.reverse() # add a new changelog section if: - if options.new_version or options.bpo or options.nmu or options.qa: + if options.new_version or options.bpo or options.nmu or options.qa or options.team: if options.bpo: version_change['increment'] = '--bpo' elif options.nmu: version_change['increment'] = '--nmu' elif options.qa: version_change['increment'] = '--qa' + elif options.team: + version_change['increment'] = '--team' else: version_change['version'] = options.new_version # the user wants to force a new version -- 1.7.2.5