Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-21 Thread Salvatore Bonaccorso
Hi Guido

On Sun, May 20, 2012 at 12:59:05PM +0200, Guido Günther wrote:
 This is driven by dch so it might make sense to report it there. I'm
 unsure what --team is meant for exactly anyway: bumping the version
 and add the team bannder? Is there anything more to it?

Sure you are right. dch places the entry. Only FYI if you are
interested, team uploads are 'documented' here [1].

 [1]: http://wiki.debian.org/TeamUpload

Many thanks for applying the patches.

Regards,
Salvatore


signature.asc
Description: Digital signature


Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-21 Thread Guido Günther
On Mon, May 21, 2012 at 02:12:59PM +0200, Salvatore Bonaccorso wrote:
 Hi Guido
 
 On Sun, May 20, 2012 at 12:59:05PM +0200, Guido Günther wrote:
  This is driven by dch so it might make sense to report it there. I'm
  unsure what --team is meant for exactly anyway: bumping the version
  and add the team bannder? Is there anything more to it?
 
 Sure you are right. dch places the entry. Only FYI if you are
 interested, team uploads are 'documented' here [1].
 
  [1]: http://wiki.debian.org/TeamUpload

The world changes around me and I don't even notice. Thanks for the
pointer!

 Many thanks for applying the patches.

Thanks for caring enough to send a patch!
Cheers,
 -- Guido

 
 Regards,
 Salvatore





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-20 Thread Guido Günther
On Fri, May 18, 2012 at 01:43:28PM +0200, Salvatore Bonaccorso wrote:
 Hi Guido
 
 On Fri, May 18, 2012 at 09:33:11AM +0200, Guido Günther wrote:
  Hi Salvatore,
  On Fri, May 18, 2012 at 08:37:53AM +0200, Salvatore Bonaccorso wrote:
   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).
  
  Yes, adding --team is fine. Just let me know if the patch works for you as
  expected. An update of the manpage would also be greatly appreciaged.
  Cheers,
   -- Guido
 
 Okay I have updated it with also an entry for the manpage.
 
 It seems to work fine here. One point is, it adds the Team upload to
 the first maintainer, if there are some stanzas, it would be best to
 put that outside, i.e.

This is driven by dch so it might make sense to report it there. I'm
unsure what --team is meant for exactly anyway: bumping the version
and add the team bannder? Is there anything more to it?
Cheers,
 -- Guido

 
 
 cut-cut-cut-cut-cut-cut-
 
  * Team upload
 
  [ A ]
  * foo
 
  [ B ]
  * bar
 
 cut-cut-cut-cut-cut-cut-
 
 Regards,
 Salvatore
 
  p.s.: I noticed that the manpage documentation for --bpo, --nmu and
--qa seems missing too.





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-20 Thread Guido Günther
On Fri, May 18, 2012 at 02:44:37PM +0200, Salvatore Bonaccorso wrote:
 tags 673368 + patch
 thanks
 
 On Fri, May 18, 2012 at 01:43:28PM +0200, Salvatore Bonaccorso wrote:
  Okay I have updated it with also an entry for the manpage.
 
 I forgot to really add it to the mail. So here it is.

Applied. Thanks a lot!
 -- Guido

 
 Regards,
 Salvatore

 From c60256634a716bb031582979b0049e43383793f4 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 |7 +++
  gbp/scripts/dch.py |6 +-
  2 files changed, 12 insertions(+), 1 deletion(-)
 
 diff --git a/docs/manpages/git-dch.sgml b/docs/manpages/git-dch.sgml
 index 6449ecd..573d6b2 100644
 --- a/docs/manpages/git-dch.sgml
 +++ b/docs/manpages/git-dch.sgml
 @@ -39,6 +39,7 @@
   argoption--bpo/option/arg
   argoption--nmu/option/arg
   argoption--qa/option/arg
 + argoption--team/option/arg
/group
argoption--[no-]full/option/arg
argoption--[no-]meta/option/arg
 @@ -191,6 +192,12 @@
  /listitem
/varlistentry
varlistentry
 +termoption--team/option/term
 +listitem
 +  paraCreate a Team upload changelog entry./para
 +/listitem
 +  /varlistentry
 +  varlistentry
  
 termoption--git-log=/optionreplaceablegit-log-options/replaceable
  /term
  listitem
 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.10
 






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-18 Thread Salvatore Bonaccorso
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 @@
 	argoption--bpo/option/arg
 	argoption--nmu/option/arg
 	argoption--qa/option/arg
+	argoption--team/option/arg
   /group
   argoption--[no-]full/option/arg
   argoption--[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



Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-18 Thread Guido Günther
Hi Salvatore,
On Fri, May 18, 2012 at 08:37:53AM +0200, Salvatore Bonaccorso wrote:
 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).

Yes, adding --team is fine. Just let me know if the patch works for you as
expected. An update of the manpage would also be greatly appreciaged.
Cheers,
 -- Guido




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-18 Thread Salvatore Bonaccorso
Hi Guido

On Fri, May 18, 2012 at 09:33:11AM +0200, Guido Günther wrote:
 Hi Salvatore,
 On Fri, May 18, 2012 at 08:37:53AM +0200, Salvatore Bonaccorso wrote:
  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).
 
 Yes, adding --team is fine. Just let me know if the patch works for you as
 expected. An update of the manpage would also be greatly appreciaged.
 Cheers,
  -- Guido

Okay I have updated it with also an entry for the manpage.

It seems to work fine here. One point is, it adds the Team upload to
the first maintainer, if there are some stanzas, it would be best to
put that outside, i.e.


cut-cut-cut-cut-cut-cut-

 * Team upload

 [ A ]
 * foo

 [ B ]
 * bar

cut-cut-cut-cut-cut-cut-

Regards,
Salvatore

 p.s.: I noticed that the manpage documentation for --bpo, --nmu and
   --qa seems missing too.


signature.asc
Description: Digital signature


Bug#673368: git-dch: Add support for --team switch for Team uploads

2012-05-18 Thread Salvatore Bonaccorso
tags 673368 + patch
thanks

On Fri, May 18, 2012 at 01:43:28PM +0200, Salvatore Bonaccorso wrote:
 Okay I have updated it with also an entry for the manpage.

I forgot to really add it to the mail. So here it is.

Regards,
Salvatore
From c60256634a716bb031582979b0049e43383793f4 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 |7 +++
 gbp/scripts/dch.py |6 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/docs/manpages/git-dch.sgml b/docs/manpages/git-dch.sgml
index 6449ecd..573d6b2 100644
--- a/docs/manpages/git-dch.sgml
+++ b/docs/manpages/git-dch.sgml
@@ -39,6 +39,7 @@
 	argoption--bpo/option/arg
 	argoption--nmu/option/arg
 	argoption--qa/option/arg
+	argoption--team/option/arg
   /group
   argoption--[no-]full/option/arg
   argoption--[no-]meta/option/arg
@@ -191,6 +192,12 @@
 /listitem
   /varlistentry
   varlistentry
+termoption--team/option/term
+listitem
+  paraCreate a Team upload changelog entry./para
+/listitem
+  /varlistentry
+  varlistentry
 termoption--git-log=/optionreplaceablegit-log-options/replaceable
 /term
 listitem
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.10



signature.asc
Description: Digital signature